This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to invoke WebService Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "How to invoke WebService" Watch "How to invoke WebService" New topic
Author

How to invoke WebService

Sunny Diaz
Greenhorn

Joined: Mar 07, 2011
Posts: 16

Hi I am new in Webservices, I want to invoke a webservice in java and read the data from it and store it in the database.

Please help me if someone has done this kind of stuff before.

Thanks in advance!
Raphael Okochu
Greenhorn

Joined: Jul 17, 2009
Posts: 22
Hi, you can invoke a web-service given its wsdl using most IDEs as long as there aren't any security restrictions. In Netbeans, create a web service client project and supply the wsdl using the wizard, here you will have to invoke the service programmatically. In myeclipse, there is a "web service explorer" tool that you can use to invoke a web-service without writing code. There are lots of tutorials online on how to do these.. Hope this helps.


SCJP 5
 
Have you checked out Aspose?
 
subject: How to invoke WebService
 
It's not a secret anymore!