本文介绍了Eclipse WSDL生成器(来自java类)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想生成符合Java类的WSDL。在这个阶段,我不想把它放在网上,只需要wsdl(为了和其他人讨论),并验证生成的文件。我使用的是Eclipse,所以我更喜欢任何已经与它集成的解决方案。
解决方案
从Eclipse透视图中的eclipse:
- 右键单击要用作服务的Java类实现
- 选择Web服务 - >创建Web服务
- 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:
- Right click on the Java class you want to use as your service implementation
- Select Web Services -> Create Web Service
- Web service type should be "Botton up Java bean Web Service"
This will generate a WSDL file for you.
这篇关于Eclipse WSDL生成器(来自java类)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!