You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "John Hawkins (JIRA)" <ax...@ws.apache.org> on 2005/05/03 18:29:12 UTC

[jira] Updated: (AXISCPP-565) WSDL2Ws does not generate code correctly for multi element returns

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

John Hawkins updated AXISCPP-565:
---------------------------------

    Component: WSDL processing - Doc
                   (was: WSDL processing - RPC)

> 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: Mark Whitlock

>
> 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