• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Total newby question

 
Ranch Hand
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To create a service interface stud to exposed the service methods for the client to use,

I need the WSDL.xml file and run the wsimpor tool against it, this will create the stub jar with the interfaces that the client can use to talk to the srveice methods.

Cheers for any help
 
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
Hi!
Yes, wsimport is the tool to use if you want to generate server or client artifacts from a WSDL document.
If you develop a web service this way, then it is called WSDL-first approach.
You can also write a Java class annotated with JAX-WS or JAX-RS (the latter for RESTful web services) annotations. This is called code-first approach.
For a tutorial on developing JAX-WS web service using the code-first approach, see http://netbeans.org/kb/docs/websvc/jax-ws.html
Best wishes!
 
Tony Evans
Ranch Hand
Posts: 681
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ivan, that is what I was looking for.

Cheers Tony
 
reply
    Bookmark Topic Watch Topic
  • New Topic