【发布时间】:2011-12-22 21:39:26
【问题描述】:
我正在尝试使用 svcutil.exe 生成代理代码。服务在同一个盒子上运行。 这是控制台输出。知道有什么问题吗?
SvcUtil.exe https ://xyz:xxx/servicename/wsdl?wsdl
尝试使用 WS- 从“https://xyz:xxx/servicename/wsdl?wsdl”下载元数据- 错误:无法从 https://xyz:xxx/servicename/wsdl?wsdl
获取元数据WS-元数据交换错误 URI:https://xyz:xxx/servicename/wsdl?wsdl
Metadata contains a reference that cannot be resolved: 'https ://xyz:xxx/servicename/wsdl?wsdl'.
There was no endpoint listening at https://xyz:xxx/servicename/wsdl?wsdl that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
The remote server returned an error: (404) Not Found.
HTTP GET 错误 URI:https://xyz:xxx/servicename/wsdl?wsdl
The document was understood, but it could not be processed.
WSDL 文档包含无法解析的链接。
下载“https://localhost:xxx/servicename/wsdl?wsdl=wsdl1”时出错。
底层连接已关闭:无法为 SSL/TLS 安全通道建立信任关系。
根据验证程序,远程证书无效。
【问题讨论】:
标签: https svcutil.exe