| Author |
How to create Web service using JAX-WS in Jboss
|
Simpson Kumar
Ranch Hand
Joined: Mar 19, 2008
Posts: 260
|
|
Our req is to create a web service using JAX-WS and deploy to Jboss 4.2. we use Neither Ant nor Maven. just a simple service and deploy into the server, and write a client to call that service.
I googled for samples and I created simple service as follows.
When I deployed to AS, it created one WSDL file in server side with end point. I tested this endpoint URL on IE, and its showing the WSDL code no browser(I think its working).
Now the problem has started with the client, i didn't find proper example for client to call this. I tried many examples, but they are linked with either ANT or Maven or some Tools provided by different vendors, there are creating web services in different way and consuming. I tried but failing.
Ex:-
Or
In the second example, what is SumiService? I checked the WSDL file, the SumiService is the name of the service that I mentioned in the Webservice declaration, but here its a java object, I don't understand how its generate. I don't see anywhere in server side, so how would I call this. I get compilation errors, obviously. Any help on this how to generate these services?
|
Thanks,
Kumar
|
 |
 |
|
|
subject: How to create Web service using JAX-WS in Jboss
|
|
|