[ 
https://issues.apache.org/jira/browse/AXISCPP-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

J. Lee Dixon updated AXISCPP-1077:
----------------------------------

    Description: 
Using a WSDL generated from JAX-WS annotated code in Eclipse + JBoss Web 
Service tools, the client code generated using Axis CPP 1.6beta does use the 
parameter name dictated when serializing the request for complex data types.

To recreate the problem, create a simple HelloWorld example in Eclipse in Java 
with JAX-WS annotated code. A method called "echo" with a single parameter as a 
complex data type (called HelloData), parameter named "arg0".  Using the WSDL 
with AxisCPP to generate the client stub, note that the generated SOAP message 
names the parameter using the data type ("helloData") instead of the parameter 
name "arg0".

Was able to correct the issue by altering the serializer for complex types to 
include the parameter name.

Was able to use the exact same WSDL with Axis2 (Java) version 1.5.4 and had no 
issues calling the server.

  was:
Using a WSDL generated from JAX-WS annotated code in Eclipse + JBoss Web 
Service tools, the client code generated using Axis CPP 1.6beta does use the 
parameter name dictated when serializing the request for complex data types.

To recreate the problem, create a simple HelloWorld example in Eclipse in Java 
with JAX-WS annotated code. A method called "echo" with a single parameter as a 
complex data type (called HelloData), parameter named "arg0".  Using the WSDL 
with AxisCPP to generate the client stub, note that the generated SOAP message 
names the parameter using the data type ("helloData") instead of the parameter 
name "arg0".

Was able to correct the issue by altering the serializer for complex types to 
include the parameter name.


> Complex type serialized with name data type name instead of param name from 
> WSDL
> --------------------------------------------------------------------------------
>
>                 Key: AXISCPP-1077
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-1077
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Client - Stub, Serialization
>    Affects Versions:  1.6 Beta,  1.6 Final
>         Environment: WSDL generated from Java JAX-WS annotated code using 
> JBoss WebService Tools in Eclipse Helios
> Ubuntu 10.04 LTS
>            Reporter: J. Lee Dixon
>         Attachments: HelloWorldService.wsdl, axisCppClient2_request.xml, 
> axisCppClient_request.xml, proposedPatch.tgz
>
>
> Using a WSDL generated from JAX-WS annotated code in Eclipse + JBoss Web 
> Service tools, the client code generated using Axis CPP 1.6beta does use the 
> parameter name dictated when serializing the request for complex data types.
> To recreate the problem, create a simple HelloWorld example in Eclipse in 
> Java with JAX-WS annotated code. A method called "echo" with a single 
> parameter as a complex data type (called HelloData), parameter named "arg0".  
> Using the WSDL with AxisCPP to generate the client stub, note that the 
> generated SOAP message names the parameter using the data type ("helloData") 
> instead of the parameter name "arg0".
> Was able to correct the issue by altering the serializer for complex types to 
> include the parameter name.
> Was able to use the exact same WSDL with Axis2 (Java) version 1.5.4 and had 
> no issues calling the server.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: c-dev-h...@axis.apache.org

Reply via email to