*
The moose likes Web Services and the fly likes How to generate WSDL file for any JAX-WS? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to generate WSDL file for any JAX-WS?" Watch "How to generate WSDL file for any JAX-WS?" New topic
Author

How to generate WSDL file for any JAX-WS?

Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

Hi Friends..

I wanna ask you how to generate WSDL file for JAX-WS?..
i saw there's any way for placing WSDL file in WEB-INF directory (for JAX-WS Servlet instance)..
and the WSDL file is configured in @WebService's wsdlLocation property..


currently, i'm learning developing WebService through tools such as Netbeans6.5 and Eclipse..
How to generate WSDL through Netbeans 6.5 and Eclipse?..

while i don't attach wsdlLocation property, i access that WebService through URL :


and then if i've generated that WSDL file, how to access the WebService's WSDL?..
is the way same like while we don't include wsdlLocation property?.. or is the way diiferent?

Thanks in advance..


Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hello!
The way I usually choose when to generate a WSDL starting from Java code is an Ant script. Enclosed is an example:

Best wishes!
Leonardo Carreira
Ranch Hand

Joined: Apr 07, 2009
Posts: 489

Thanks Ivan for your reply..
Okay, i'll try it tomorrow...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to generate WSDL file for any JAX-WS?
 
Similar Threads
Generate stubs for EJB3.1 bean exposed as webservice
Please Help regarding error while create *Service class by using wsimport glassfish v2
general web service definition question
custom wsdl
passing a matrix