[ 
https://issues.apache.org/jira/browse/CXF-7373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16015454#comment-16015454
 ] 

Ganesh S commented on CXF-7373:
-------------------------------

Lowered the priority and the wsdl file created from a project created using CXF 
2.7.11 version and the data binding classes are decorated with JAXB annotation 
@XmlRootElement(name = "WSBookVO") 

The WSDL was auto created by appending ?wsdl to the web application URL 
http://localhost/apache-cxf-sample/restful/bookshelfservice?wsdl 

Should I add any more annotations to have the WSDL created as per my 
requirement? 

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

Reply via email to