Hi Devs,

How do you do subject? I heard that only simple valued headers can be added
using using the header mediator. But my requirement is to add a header like
following to the outgoing request.

<soapenv:Header>
      <urn:AuthenticationInfo>
         <urn:userName>temp</urn:userName>
         <urn:password>temp123</urn:password>
      </urn:AuthenticationInfo>
   </soapenv:Header>

AFAIK, only way to achieve this is to write a custom mediatory. Please let
me know, if there is a better way to do this.

Thanks,
Sameera.

-- 
Sameera Jayasoma
Technical Lead

WSO2, Inc. (http://wso2.com)
email: [email protected]
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to