Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

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?
 
And then the flying monkeys attacked. My only defense was this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic