• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to generate WSDL file for any JAX-WS?

 
Leonardo Carreira
Ranch Hand
Posts: 489
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 489
Eclipse IDE Java Postgres Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ivan for your reply..
Okay, i'll try it tomorrow...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic