我一直在试图向提供程序提供更多信息,以了解当我尝试使用其WS时遇到的错误。
他们要求我使用wsdl.exe执行以下命令:
wsdl.exe /l:CS /protocol:SOAP /verbose /sharetypes https:example.com/?wsdl
我这样做并得到了以下结果: Error: There was an error processing 'https://example.oom?wsdl'. - There was an error downloading 'https://example.com?wsdl'. - The request was aborted: Could not create SSL/TLS secure channel。
问题是我有一个用于导航到 "https://example.com?wsdl" 的证书,而且我认为它已经正确安装了。当我尝试在IE中访问该URL时,我只需要从列表中选择证书并给予某些权限即可显示wsdl。 我问我的WS提供商告诉我如何告诉命令:“使用ssl。使用此证书”。他们让我问我的网络团队,但我没有这样的团队,所以我问了谷歌,并发现:1)启用SSL/TLS(如果这意味着进入:IE > Internet选项 >高级>启用SSL/TLS, 我已经做到了)和2)检查证书是否已安装并可用。我认为它是这样的。
有人能告诉我该怎么办吗? 为什么证书已安装,但命令无法访问它?
Load the WSDL up in IE and save it as XML, then point wsdl.exe to the local copy of the file
wsdl.exe no longer seems to recognise XML file types.Error: Unrecognized file type '*file path*'. The extension must be one of .wsdl or .xsd.
- Guybrush Threepwood