You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dennis Kieselhorst (JIRA)" <ji...@apache.org> on 2017/05/18 09:10:04 UTC

[jira] [Resolved] (CXF-7373) The Data binding class generated by WSDLToJava created with different case than original

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

Dennis Kieselhorst resolved CXF-7373.
-------------------------------------
       Resolution: Not A Problem
         Assignee: Dennis Kieselhorst
    Fix Version/s: Invalid

You can either add @XmlType annotation and change the name or create a JAXB binding file with a customized name that you pass to the Wsdl2Java tooling.

As you already said the generation is done by JAXB (not part of CXF) so I'm closing this issue.

Btw next time please use the users mailing list for questions: http://cxf.apache.org/mailing-lists.html



> The Data binding class generated by WSDLToJava created with different case than original
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-7373
>                 URL: https://issues.apache.org/jira/browse/CXF-7373
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.7.11
>         Environment: Windows 7, Java 7
>            Reporter: Ganesh S
>            Assignee: Dennis Kieselhorst
>             Fix For: Invalid
>
>         Attachments: mywsdl.wsdl, WsdlToJava1.java
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)