Take a look at the Apache Axis project http://ws.apache.org/axis/. This will give you the tools for working with web services.
With Axis comes a tool called wsdl2java which will generate the necessary code for communicating with a web service. You simply run it with the URL to the web service as an argument.
You can then use the classes it generates to call methods on the web service.
in the replied link I do not found how to call web service through my stand alone java class please let me know how to call web service via WSDL file nsing my java class what are the jar file required to call it.
The basic steps you need to go through are: 1) obtain the WSDL of the web service you want to use 2) run the wsdl2java tool (it's part of Axis) to create client-side classes 3) adapt the classes to your circumstances
There are a few introductory articles about this in the Web Services FAQ, which is linked in my signature. Most of them also talk about setting up the web service itself, but you skip that part.
which will tell you how to use the wsdl2java tool to generate some Java classes which you can then use in your stand-alone application to call the webservice. It generates these classes for you based on the WSDL of the web service in question, so that you end up with stubs for the object types and associated method calls for that particular web service.