Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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...
 
Alas, poor Yorick, he knew this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic