axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J. Lee Dixon (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] [Updated] (AXISCPP-1077) Complex type serialized with name of data type instead of param name from WSDL
Date Thu, 31 Mar 2011 15:24:05 GMT

     [ 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 stub code generated using Axis CPP 1.6beta does not use the parameter name dictated
when serializing the request for complex data types.  Instead it uses the name of the complex
data type.

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.

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


> Complex type serialized with name of data type 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: HelloData.java, HelloWorldService.java, 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 stub code generated using Axis CPP 1.6beta does not use the parameter name dictated
when serializing the request for complex data types.  Instead it uses the name of the complex
data type.
> 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-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


Mime
View raw message