Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Want to try a simple web service client...

 
Srikanth Raghavan
Ranch Hand
Posts: 389
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic