wood burning stoves 2.0*
The moose likes Web Services and the fly likes 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 "Web service client" Watch "Web service client" New topic
Author

Web service client

Kevin Fedric
Greenhorn

Joined: Jan 29, 2012
Posts: 4
Hello,
I am trying to build a web service client to consume MS academic search api's. I am using Netbeans 7 IDE. And after some quick reference on net, I used IDE wizard to create stubs from a WSDL URL.
Now I also see that there is one java class under "Web Services" with all methods that API is providing, however, these are just blank methods with no empty method body.
I want to invoke one one of the method from this class into a servlet to fetch the results from the web service. Now as the method bodies are empty, I guess I need to provide the definition to them.
But then I am not sure what to code for that. My simple understanding was I will get the stubs generated by netbeans, so that I can simply consume the API with appropriate params like API-KEY, Search String, etc. So I am stuck now on how to go ahead. This is my first project dealing with web services. I would really appreciate any help on my problem.

Thanks.
Kevin Fedric
Greenhorn

Joined: Jan 29, 2012
Posts: 4
Can anyone please help?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web service client