You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ransel Lopez <rl...@timeindustrial.com> on 2004/01/16 16:50:21 UTC

Header in wsdd

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


Ransel López, Web Services Developer

Time Industrial, Inc.
 An Outsourced Contractor Time and Cost Tracking Service.
 -----------------------------------------------------------------------------------------
tel: 780.413.1521  fax: 780.413.0474
 http://www.TimeIndustrial.com <http://www.timeindustrial.com/>  

 -----------------------------------------------------------------------------------------
 This message and attached files, if any, is (are) intended only for the addressee(s) and may 
 contain privileged or confidential information. Any unauthorized disclosure is strictly prohibited. 
 If destined to our legal counsel, this transmission is privileged communication as between an 
 attorney and its client.
 If you have received this message in error, please notify us immediately so that we may correct 
 our internal records. Please then delete the original message. Thank you.