axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] [Updated] (AXISCPP-1077) wsdl2ws should throw exception if doc/literal or rpc/encoded not used
Date Thu, 07 Jun 2012 17:41:23 GMT

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

nadir amra updated AXISCPP-1077:
--------------------------------

    Summary: wsdl2ws should throw exception if doc/literal or rpc/encoded not used  (was:
Complex type serialized with name of data type instead of param name from WSDL)
    
> 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
>         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


Mime
View raw message