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

The Data binding class generated by WSDLToJava created with different case than original

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.7.11
    • Fix Version/s: Invalid
    • Component/s: Tooling
    • Labels:
      None
    • Environment:

      Windows 7, Java 7

    • Estimated Complexity:
      Unknown

      Description

      I have implemented a SOAP service using Apache CXF which uses a POJO created with name WSBookVO. To demonstrate the issue I have created a simple WS project following the instructions given at https://www.javacodegeeks.com/2013/06/developing-soap-web-service-using-apache-cxf.html.
      Everything was same as given in this link except the data binding class was renamed to WSBookVO. it is our project standard to precede every pojo with uppercase WS.

      The stub VO class generated with the name WsBookVO (observe the case of starting two letters) rather than the original name WSBookVO.java. How can I instruct the tool to generate the POJO elements with the exactly same name as given.

      JAXB was used to create the data binding class.

        Attachments

        1. WsdlToJava1.java
          1 kB
          Ganesh S
        2. mywsdl.wsdl
          4 kB
          Ganesh S

          Activity

            People

            • Assignee:
              deki Dennis Kieselhorst
              Reporter:
              narayanasgs Ganesh S
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: