cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Kieselhorst (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-7373) The Data binding class generated by WSDLToJava created with different case than original
Date Thu, 18 May 2017 09:10:04 GMT

     [ 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)

Mime
View raw message