Hi all,
I have been trying to deploy a web service using the inHeader option for
a parameter using Axis 1.1. I do get a WSDL but the parameter is
specified as part of the body of the request.
The relevant fragment of the WSDD is specified below:
<operation name="test">
<parameter name="sessionID" type="tns:string" inHeader="true"
outHeader="true" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
</operation>
The relevant fragment of the WSDL generated by Axis can be found below:
<operation name="test">
<soap:operation soapAction="" />
<input name="testRequest">
<soap:body use="encoded"
namespace="http://localhost:8080/TestService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
<output name="testResponse">
<soap:body use="encoded" namespace="
http://localhost:8080/TestService "
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
Am I missing something? I've not been successful while trying to find
any documentation regarding this issue.
Thanks for your help,
Chris