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

How to generate a WSDL for a Java based web service developed using JAXWS Annotations

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I have developed a Java based web service using JAX WS Annotations .
Now please tell me what is the way to generate a WSDL file for taht class .

Any help , my pratice with web service is pending .(I am using Weblogic server )

Thanks you in advance.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
You can use wsgen from an Ant script. Such an Ant script would look something like this:

Note that you must change certain properties in the above script to match your environment.
If you use Java 6, then the JDK contains the wsgen command, otherwise you must look elsewhere.
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic