Bookmark Topic Watch Topic
  • New Topic

JAXWS

 
Mustafa Garhi
Ranch Hand
Posts: 111
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have used Axis/Mule and now have to work on JAXWS.
When i read about it i found the steps to be
1.Write a service class.
2.Compile the Service.
3.Generate WSDL/XSD/Beans
4.Package everything.
5.Deploy(Glassfish in my case)
6.Build/Compile the client.
7.Generate the stubs.
8.Run the client.

First of all have i got the flow right?
Because in Axis we developed the stubs before writing the client and that should ideally be the case.So the question is how and when are stubs used in JAXWS.
 
Mario Schmitz
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hey,

if you want to write WS-Clients with jax-ws, you have to generate the stubs first and the you are able to write the client with the right classes. ( the same like in Axis)

you get the classes (example.jar) with:
wsimport -keep http://www.urltowebservise.com?WSDL

... and then you have the classes
(- keep : you get the source code too)

regards
Mario
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
This is a duplicate thread!

Please direct all responses to JAXWS Stubs.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!