Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to write a java webservice client  RSS feed

 
Archana Annamaneni
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I am very new to webservices , i have to call a webservice from my java program.Is ther any procedure to do that , what do i exactly need.I dodn't need to create a webservice , i just need to call an existing one.

Thanks
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiet way is using WSDL2Java that comes with Apache Axis for free.
Visit this http://ws.apache.org/axis/java to know more about using WSDL2Java.
WSDL2Java helps you to generate client stubs which you can use it with any java program to send and receive datas to webservices. All you need is the jars files required for compiling and running WSDL2Java generated java files.
 
Archana Annamaneni
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the reply.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!