SOAP Web Services 04 - Writing a Web service Client: Calling the Service
Visit the website to download this code.
Website: http://javabrains.koushik.org/2013/06/writing-web-service-client-calling.html
In this tutorial, we'll use the stubs generated by wsimport and implement a client application. Our IPServiceLocator program takes IP address as an input argument and makes a call to the web service to display the country name to the console.