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 "nadir amra (JIRA)" <ax...@ws.apache.org> on 2012/06/07 19:53:23 UTC

[jira] [Closed] (AXISCPP-1077) wsdl2ws should throw exception if doc/literal or rpc/encoded not used

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

nadir amra closed AXISCPP-1077.
-------------------------------

       Resolution: Fixed
    Fix Version/s: current (nightly)

Fixed in revision http://svn.apache.org/viewvc?view=revision&revision=1347735

                
> wsdl2ws should throw exception if doc/literal or rpc/encoded not used
> ---------------------------------------------------------------------
>
>                 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
>             Fix For: current (nightly)
>
>         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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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