Lets say we have the URL of a published Web Service and we want to interact with it from our project. We just would need to go to New -> Other
Below the Web Services optin we have several options:
We choose Web Service Client.
In the n ext screen just insert the WSDL URL such as http://localhost:8080/Simple_webservice/HelloWorldWS?wsdl
NOTE: we used here http://www.webservicex.com/globalweather.asmx?wsdl a public global weather web service.
Choose the output folder and thats it. We have in our project the needed classes to access to the Webservice from our code (stub, locator,etc.)
Enhorabuena por el articulo!
ReplyDelete