[ https://issues.apache.org/jira/browse/AXISCPP-1077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028837#comment-13028837 ]
J. Lee Dixon commented on AXISCPP-1077: --------------------------------------- Determined root cause was the WSDL defined an interface in RPC Literal. AxisCPP only support RPC Encoded or Document Literal. Problem was resolved by changing to Document Literal. The code could detect this configuration and throw an exception. At the very least, this should be documented in the release notes or other documentation. > 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-unsubscr...@axis.apache.org For additional commands, e-mail: c-dev-h...@axis.apache.org