Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Service Access

 
Harish Gurung
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created one Java Web Service in Apache Soap. I want to know how the clients will access my Web Service. Basically I want to create one client using the information from the Server. How the Server can provide the information so that clients can use that to access the Web Service?
 
Naveen K Koneti
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi you can do that in many ways.

one simple way is to generate the stubs from the wsdl using api's like jax ws,jax-rpc etc.you can google about generating stubs from wsdl using jax-ws etc
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How the Server can provide the information


That is the idea behind WSDL (Web Service Description Language) documents. Many languages typically used for clients now have toolkits that can read a WSDL from a URL and automatically create code to access the service.

Bill
 
Andy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

you can use JAX-WS to create client stubs for you web service.
Check out this example

Hope it helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic