• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to create Web service using JAX-WS in Jboss

 
Ranch Hand
Posts: 261
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
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?
reply
    Bookmark Topic Watch Topic
  • New Topic