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.