aspose file tools*
The moose likes Web Services and the fly likes WSDL2Java - Customize the Java Class name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WSDL2Java - Customize the Java Class name" Watch "WSDL2Java - Customize the Java Class name" New topic
Author

WSDL2Java - Customize the Java Class name

Java Beans
Greenhorn

Joined: Nov 12, 2012
Posts: 1
Hi All,

I am having a challenge.

I am creating an JAX-RPC top down ejb web service implementation.
I have created a WSDL and generated the skeleton using WSDL2Java. I am using Websphere Application Server v6.0.1

However, the class names that gets generated was with respect to the name provided in the WSDL definitions. Say, the service implementation class name generated as *BindingImpl.java.
My requirement, is I need the name '*Binding' in my WSDL and requires the service implementation class name to be say ServiceBean.java while generating the code itself. I do not want to change the class name after the code generation.

How could this be possible through WSDL2Java ? Any thoughts would appreciate.

Thanks in advance,
Liz
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL2Java - Customize the Java Class name