I got this to work with one caveat. The same number of SOAP Body parts sent is the number which must be returned. Theerfore, make sure your request includes two SOAP Body Parts.
 
-----Original Message-----
From: Navin Budhiraja [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 3:16 AM
To: [EMAIL PROTECTED]
Subject: Return message having two parts

Axis does not seem to be able to handle a return message that has two parts e.g.

 

<message name="GetLatLongSoapIn">

    <part name="parameters" element="s0:GetLatLong" />

</message>

 

<message name="GetLatLongSoapOut">

    <part name="parameters1" element="s0:GetLatLongResponse1" />

    <part name="parameters2" element="s0:GetLatLongResponse" />

 </message>

 

<portType name="Zip2GeoSoap">

    <operation name="GetLatLong">

      <input message="s0:GetLatLongSoapIn" />

      <output message="s0:GetLatLongSoapOut" />

    </operation>

 </portType>

 

If I generate a WSDD using WSDL2Java and deploy the corresponding descriptor, then the WSDL of the corresponding service (got using ?WSDL) looks as follows:

 

  <message name="getLatLongRequest">

    <part element="impl:GetLatLong" name="parameters"/>

  </message>

  <message name="getLatLongResponse">

    <part element="impl:GetLatLongResponse" name="parameters"/>

  </message>

 

Does anyone know what is the issue here?

 

-thanks

-Navin

Reply via email to