You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/03/09 03:07:56 UTC

[jira] Resolved: (CXF-2095) wsdl2java -db xmlbeans can't generate right wrapped class

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

Willem Jiang resolved CXF-2095.
-------------------------------

    Resolution: Fixed

Applied the patch into trunk and 2.1.x branch.

> wsdl2java -db xmlbeans can't generate right wrapped class
> ---------------------------------------------------------
>
>                 Key: CXF-2095
>                 URL: https://issues.apache.org/jira/browse/CXF-2095
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.3, 2.1.4
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.2, 2.1.5
>
>
> Here is part of the SEI  which is generated by wsdl2java -db xmlbeans
> {code}
>     @ResponseWrapper(localName = "greetMeResponse", targetNamespace = "http://apache.org/hello_world_soap_http/types", className = "org.apache.helloWorldSoapHttp.types.GreetMeResponseDocument")
>     @RequestWrapper(localName = "greetMe", targetNamespace = "http://apache.org/hello_world_soap_http/types", className = "org.apache.helloWorldSoapHttp.types.GreetMeDocument")
>     @WebResult(name = "responseType", targetNamespace = "http://apache.org/hello_world_soap_http/types")
>     @WebMethod
>     public org.apache.xmlbeans.XmlString greetMe(
>         @WebParam(name = "requestType", targetNamespace = "http://apache.org/hello_world_soap_http/types")
>         org.apache.helloWorldSoapHttp.types.MyStringType requestType
>     );
> {code}
> The tool should mapping the XmlBeans buildin type into the natural Java class, such as org.apache.xmlbeans.XmlString to String.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.