I am new to Web services. I need to invoke a web service whose definition is in http://api.search.live.net/search.wsdl . I need to do a search of any keyword by using this web service. I search on the net but could not find any solution. Any idea how to invoke the web service. I need to use Java.
Download axis2.
After extracting it, under the bin folder there is a tool called wsdl2java, this is used to generate stubs from the WSDL that can communicate with the webservice.
A sample usage would be:
WSDL2Java -uri http://api.search.live.net/search.wsdl -d xmlbeans -s
look here for more details on that tool.
Besides stubs it will also generate all the objects you need.
Here is a tutorial using axis2 and Eclipse IDE.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With