如何从WSDL URL生成WSDL文件? [英] How can I generate a WSDL file from a WSDL URL?
本文介绍了如何从WSDL URL生成WSDL文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的问题是我使用 wsimport 创建了一个Web服务客户端,并且在创建其服务对象时,由于HTTPS失败,如下所示:
My problem is that I created a web service client with wsimport and when creating its service object, it fails because of the HTTPS, like that:
MyService_Service service = new MyService_Service(
new URL("https://www.aaa.com/myws/MyService?WSDL"));
因此,我试图从WSDL文件初始化服务对象,但是如何从该URL"
So, I am trying to initialize a service object from a WSDL file, but how can I create a WSDL file from that URL "https://www.aaa.com/myws/MyService?WSDL"?
非常感谢.
推荐答案
在浏览器中导航至URL并保存其生成的文件.您需要确保您还保存了wsdl导入的所有模式.
Navigate to the URL in a browser and save the file it generates. You'll need to make sure you also save any schemas imported by the wsdl.
这篇关于如何从WSDL URL生成WSDL文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文