This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
 
Similar Threads
Web services basic implementation
Annotation required to generate remark/comments in WSDL files generated by wsdlzip
How to work with Complex Type Data in JAX WS
Annotation required to generate remark/comments in WSDL files generated for Java class
How to Produce a WSDL file when using JAXWS Approach .