• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create Web service using JAX-WS in Jboss  RSS feed

Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

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?
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!