Eclipse WSDL生成器(来自java类)? [英] Eclipse WSDL generator (from java class)?

查看:336
本文介绍了Eclipse WSDL生成器(来自java类)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想生成符合Java类的WSDL。在这个阶段,我不想把它放在网上,只需要wsdl(为了和其他人讨论),并验证生成的文件。



我使用的是Eclipse,所以我更喜欢任何已经与它集成的解决方案。

解决方案

从Eclipse透视图中的eclipse:


  1. 右键单击要用作服务的Java类实现

  2. 选择Web服务 - >创建Web服务

  3. Web服务类型应为Botton up Java bean Web Service

这将为您生成一个WSDL文件。


I want to generate WSDL compliant with Java classes. At this phase I don't want to put it online, just have the wsdl (in order to discuss it with someone else) and validate the generated file.

I'm using Eclipse, so I would prefer any solution that's already integrated with it.

解决方案

From eclipse in the java perspective:

  1. Right click on the Java class you want to use as your service implementation
  2. Select Web Services -> Create Web Service
  3. Web service type should be "Botton up Java bean Web Service"

This will generate a WSDL file for you.

这篇关于Eclipse WSDL生成器(来自java类)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆