如何生成WSDL文件的Java类 [英] How to generate java classes from WSDL file
本文介绍了如何生成WSDL文件的Java类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在朝着一个Android应用程序。我需要使用Web服务。我有一个WSDL文件,但我想将其转换成Java,这样我可以使用它的功能在我的Java程序。 有没有什么办法将一个WSDL文件转换为Java的?
I am working towards an android application. I need to use a web service. I have a wsdl file but I want to convert that into java so that I can use its functions in my Java programs. Is there any way of converting a wsdl file into Java?
推荐答案
是的,你可以使用:
有了这一切,你需要的是提供的WSDL,并且是Java类会为你自动生成的客户端。
With this all you will need is to supply the wsdl, and the client which is the Java classes will be automatically generated for you.
这篇关于如何生成WSDL文件的Java类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文