Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSDL2Java - Customize the Java Class name

 
Java Beans
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic