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

我只是一个虾纸丫 提交于 2019-12-24 04:52:11

问题


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


回答1:


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.

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.




回答2:


Apache Axis has both a wsdl2java and a java2wsdl tool.




回答3:


I don't dabble java but I've seen co-workers use wsdl2java to generate proxy stub classes.



来源:https://stackoverflow.com/questions/2020883/what-tools-exist-in-java-that-are-equivalent-to-svcutil-exe-for-net

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!