In SOAP binding, we can map some parts of the input/output message to soap headers (FYI: http://www-128.ibm.com/developerworks/xml/library/ws-tip-headers.html). For example, the following WSDL snippet maps "part3" to a soap header.

<wsdl:message name="testRequest">

    <wsdl:part element="tns:source" name="part1"/>

    <wsdl:part element="tns:target" name="part2"/>

    <wsdl:part element="tns:context" name="part3"/>

    </wsdl:message>

...

    <soap:header message="tns:testRequest" part="part3" use="literal"></soap:header>

Does Axis2 supports this usage? Do I have to explicitly populate the SOAPHeader or the generated stub can handle that?

Thanks,

Raymond

 

Reply via email to