Using Eclipse, what's the best way to g开发者_StackOverflowenerate a web service class?
Here's a step-by-step instruction on how to generate a web service client in eclipse. Note that you'll need the Java EE distribution of Eclipse, and possibly install a JAX-WS implementation (if you don't want to use the one included in the jdk) first (though I think you can have eclipse do that for you).
Most IDE's provide this functionality out of the box. If you're using Netbeans, simply install the webservice plugin and create a new-file using ctrl+n
and select New > Other > Web Services > Web Service Client
You can use Apache Axis to generate a Web Service Client. Here is a link that can help you out.
This is the perfect way to do it. http://wso2.org/library/tutorials/creating-web-service-client-3-steps-using-eclipse. Bear in mind you have to install Axis2 before anything
精彩评论