[ 
http://issues.apache.org/jira/browse/AXISCPP-565?page=comments#action_12330907 
] 

Dushshantha Chandradasa commented on AXISCPP-565:
-------------------------------------------------

the test MultiOut is using out params. i found a huge server side serialization 
error in this. following is the server response

HTTP/1.1 200 OK
Date: Fri, 30 Sep 2005 05:02:03 GMT
Server: Apache/2.0.54 (Win32)
Content-Length: 636
Content-Type: text/xml

<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<SOAP-ENV:Body>
<ns1:get xmlns:ns1="http://localhost/axis/MultiOut";>
<out1>Hello Mark</out1>
<>get>out14>23</>get>out14>
<>get>out15>23</>get>out15>
<>get>out16>23</>get>out16>
<>get>out17>23</>get>out17>
<>get>out18>23.000000</>get>out18>
<>get>out19>23.100000</>get>out19>
<>get>out20>23.100000</>get>out20>
<>get>out21>true</>get>out21>
<>get>out22>65</>get>out22>
</ns1:get>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>



> WSDL2Ws does not generate code correctly for multi element returns
> ------------------------------------------------------------------
>
>          Key: AXISCPP-565
>          URL: http://issues.apache.org/jira/browse/AXISCPP-565
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - Doc
>     Reporter: Andrew Perry
>     Assignee: Dushshantha Chandradasa

>
> When a WSDL specifies that mutli elements are returned, WSDL2Ws does not 
> create the stub correctly.
> I have added a new test called InOut which covers this area so the InOut WSDL 
> can be used.
> The generated stubs looks like:
> ------ code snippet ------
> InOut.hpp:
> STORAGE_CLASS_INFO void noParametersMultiReturn(, AXIS_OUT_PARAM xsd__double 
> *OutValue0, AXIS_OUT_PARAM xsd__int *OutValue1, AXIS_OUT_PARAM xsd__string 
> *OutValue2);
> --------------------------
> As can be seen there is an extraneous ','  before the parameter list.
> Also the parameter types need to be changed to ** types e.g.
> ------ code snippet ------
> Modified InOut.hpp:
> STORAGE_CLASS_INFO void noParametersMultiReturn(AXIS_OUT_PARAM xsd__double 
> **OutValue0, AXIS_OUT_PARAM xsd__int **OutValue1, AXIS_OUT_PARAM xsd__string 
> *OutValue2);
> --------------------------
> With these changes made, and the correcponding changes made in the cpp file, 
> the test works correctly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to