• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to generate WSDL file for any JAX-WS?

 
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ivan for your reply..
Okay, i'll try it tomorrow...
 
reply
    Bookmark Topic Watch Topic
  • New Topic