This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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...
 
Don't get me started about those stupid light bulbs.
 
subject: How to generate WSDL file for any JAX-WS?