You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2016/04/19 00:46:25 UTC

[jira] [Resolved] (AXIS2-5710) Invalid wrapper tag name in request when using wrapped document/literal pattern in WSDL

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

Andreas Veithen resolved AXIS2-5710.
------------------------------------
    Resolution: Duplicate

> Invalid wrapper tag name in request when using wrapped document/literal pattern in WSDL
> ---------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5710
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5710
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.6.2, 1.6.3
>         Environment: JDK 1.7.0_71 x64, OS MS Windows 7 sp1 x64
>            Reporter: Dmitriy Barbitov
>              Labels: axis2-wsdl2code-maven-plugin, wsdl2java
>
> When using wrapped document/literal pattern in WSDL, requests, sent by the client, generated using WSDL2Code, can have invalid letter case in the request's wrapper tag name.
> We have a WSDL file containing an opertaion with document/literal style. This opertaion uses "wrapped" pattern, as described here: http://www.ibm.com/developerworks/library/ws-usagewsdl/index.html. The name of the operation has first capital letter.
> We generate client code from this wsdl, using WSDL2Java or axis2-wsdl2code-maven-plugin. 
> When we try to use generated code to call the service, we get invalid soap request, having wrapper tag name starting from the lowercase letter (e.g., if an operation name is "GetUsers", we get a wrapper tag named "getUser").
> We have dived into the source code of axis2-codegen and have found the cause of that bug. InterfaceImplementationTemplate.xsl (from the org.apache.axis2.wsdl.template.java package) in several places uses java-styled operation name instead of original operation name from WSDL (lines 101, 361, 370, 377, 378).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org