在Java中相当于svcutil.exe的对.NET有什么工具? [英] What tools exist in Java that are equivalent to svcutil.exe for .NET?

查看:437
本文介绍了在Java中相当于svcutil.exe的对.NET有什么工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Java中相当于svcutil.exe的用于.NET?有什么工具

What tools exist in Java that are equivalent to svcutil.exe for .NET?

推荐答案

这取决于你正在使用的是什么SvcUtil工具进行。要生成客户端code来访问Web服务,您通常使用的wsimport。为了从服务器code一个WDSL,你可以使用WSGEN。

It depends on what you are using svcutil for. To generate client code to access a web service, you would normally use wsimport. To generate a WDSL from server code, you would use wsgen.

请注意:我们绝对没有必要使用Axis发布或Java中消耗基于SOAP Web服务,因为其他的答案似乎在暗示,除非你有一些非常具体的要求。支持普通的SOAP客户端包含在标准API中,所有符合J2EE规范的应用服务器必须提供服务器支持。

Note: There is absolutely no need to use AXIS to publish or consume SOAP based web services in Java, as the other answers seem to imply, unless you have some very specific requirements. Support for plain SOAP clients is included in the standard API and all J2EE compliant application servers must provide server support.

这篇关于在Java中相当于svcutil.exe的对.NET有什么工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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