aspose file tools*
The moose likes Web Services and the fly likes How to generate a WSDL for a Java based web service developed using JAXWS Annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to generate a WSDL for a Java based web service developed using JAXWS Annotations" Watch "How to generate a WSDL for a Java based web service developed using JAXWS Annotations" New topic
Author

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

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

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.


Save India From Corruption - Anna Hazare.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to generate a WSDL for a Java based web service developed using JAXWS Annotations