Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Web Services and the fly likes Web Service Access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Service Access " Watch "Web Service Access " New topic

Web Service Access

Harish Gurung

Joined: Aug 29, 2008
Posts: 1
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

Joined: Apr 08, 2008
Posts: 1
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 can google about generating stubs from wsdl using jax-ws etc
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
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.


Joined: Sep 01, 2008
Posts: 2

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

Hope it helps.

<a href="" target="_blank" rel="nofollow">Lots of Java Code Examples</a>
I agree. Here's the link:
subject: Web Service Access
jQuery in Action, 3rd edition