从HTTPS网址生成Java Web Service客户端 [英] Generate Java Web Service Client from HTTPS url
问题描述
使用此url Eclipse找不到WSDL定义:向导警告所选择的服务定义无效。,该进程无法继续。
该URL是正确的,我验证了它实现一个.NET客户端和有用。
唯一的问题是SSL证书已过期。
如何在java中正确生成客户端?
通过其他方式捕获WSDL,例如使用浏览器下载WSDL,然后使用非SSL服务器(甚至只是一个文件)在本地访问WSDL。看起来Eclipse不能处理SSL问题(这可能是一个bug,他们应该有一个忽略它的选项)。
I'm implementing a test client for a web service. The service use HTTPS and I'm trying to use the Eclipse wizard to generate the client.
Using this url Eclipse cannot find the WSDL definition: The wizard alerts that "The service definition selected is invalid." and the process cannot go ahead.
The url is correct, I verified it implementing a .NET client and it works. The only issue is that the SSL certificate is expired.
How can I generate the client correctly in java?
Capture the WSDL by other means, like download it with your browser and then access it locally with a non-SSL server (or even just a file). It looks like Eclipse can't deal with an SSL problem (which is likely a bug on their part, they should have an option to ignore it).
这篇关于从HTTPS网址生成Java Web Service客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!