简体   繁体   English

如何使用Eclipse在Java中生成Web服务客户端

[英]How to generate a web service client in Java using Eclipse

使用Eclipse,生成Web服务类的最佳方法是什么?

Here's a step-by-step instruction on how to generate a web service client in eclipse. 这是有关如何在eclipse中生成Web服务客户端的分步说明。 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). 请注意,您将需要Eclipse的Java EE发行版,并可能首先安装一个JAX-WS实现(如果您不想使用jdk中包含的实现)(尽管我认为您可以让Eclipse为您完成此操作) )。

Most IDE's provide this functionality out of the box. 大多数IDE都提供了开箱即用的功能。 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 如果您使用的是Netbeans,只需安装webservice插件并使用ctrl+n创建一个新文件,然后选择New> Other> Web Services> Web Service Client。

This is the perfect way to do it. 这是完美的方法。 http://wso2.org/library/tutorials/creating-web-service-client-3-steps-using-eclipse . http://wso2.org/library/tutorials/creating-web-service-client-3-steps-using-eclipse Bear in mind you have to install Axis2 before anything 请记住,您必须先安装Axis2

You can use Apache Axis to generate a Web Service Client. 您可以使用Apache Axis生成Web服务客户端。 Here is a link that can help you out. 这是一个可以帮助您的链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM