Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2095

wsdl2java -db xmlbeans can't generate right wrapped class

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.3, 2.1.4
    • 2.2, 2.1.5
    • None
    • None

    Description

      Here is part of the SEI which is generated by wsdl2java -db xmlbeans

          @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
          );
      

      The tool should mapping the XmlBeans buildin type into the natural Java class, such as org.apache.xmlbeans.XmlString to String.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment