You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Raymond Feng <en...@gmail.com> on 2006/07/14 08:06:05 UTC
[AXIS2] Questions about support
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