*
The moose likes Web Services and the fly likes Want to try a simple web service client... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Want to try a simple web service client..." Watch "Want to try a simple web service client..." New topic
Author

Want to try a simple web service client...

Srikanth Raghavan
Ranch Hand

Joined: Oct 31, 2005
Posts: 389
Last 6 hours I've been searching and reading on writing a simple web services client. I'm sure there must be a "Hello World" web service somewhere to which I can connect and write my sample client.

But I'm really confused on what API I must use, what jars I need to have in my classpath, what code generators I must use, what are the information I need to have to connect and use a web service.

I don't have a web server, and I think I won't need a web server to write a web services client. Can someone point me to a nice simple tutorial or help me get started? Any help is appreciated.

Thanks,
Srikanth
[ May 07, 2007: Message edited by: Srikanth Raghavan ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41108
    
  45
It makes things much simpler if you have a WS up and running that you control - Apache Axis is easily installed in a servlet container.

But you're right, you don't absolutely need one. http://www.xmethods.net/ lists many publicly available web services. What you need for a service is the WSDL and the endpoint, both of which are listed there.

Once you have the WSDL, you can create a Java client using the java2wsdl tool, which comes with Axis.


Ping & DNS - my free Android networking tools app
 
wood burning stoves
 
subject: Want to try a simple web service client...
 
Similar Threads
Help needed for testing web service
Design problem
Am I just stupid, or is this really supposed to be difficult?
Calling/invoking a web service
Beginning Web Services