eclipse 使用https时选择的服务定义无效
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5335253/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
The service definition selected is invalid when use https
提问by user654766
When I try to create a new Web Service Client from a WSDL "https://localhost:8443...?wsdl" using Eclipse I get "The service definition selected is invalid"
当我尝试使用 Eclipse 从 WSDL“https://localhost:8443...?wsdl”创建新的 Web 服务客户端时,我得到“所选的服务定义无效”
I'm using: Eclipse Version: 3.5.2 apache-tomcat-6.0.32 keystore generated by myself
我正在使用:Eclipse 版本:3.5.2 apache-tomcat-6.0.32 自己生成的密钥库
回答by Shailesh kumar
This is my solution. Go to windows-> preference ->network connection ->active provider , then select Native. I was facing same problem.
这是我的解决方案。转到 windows-> 首选项 -> 网络连接 -> 活动提供程序,然后选择本机。我面临同样的问题。
回答by rdp
Try replacing localhost with the actual IP address. I was facing the same problem and it worked for me this way
尝试用实际的 IP 地址替换 localhost。我遇到了同样的问题,它以这种方式对我有用