0
使用ASP.NET /的Visual Studio二千零十二分之二千零五结合“CustomBinding_IWSTrustFeb2005Async”:错误:无法导入来自命名空间
我有一个从服务提供商,这是我需要测试.wsdl文件。 我跑从Vs的命令promopt wsdl.exe myfile.wsdl
,但我得到这个错误:
Error: Unable to import binding 'CustomBinding_IWSTrustFeb2005Async' from namespace 'http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice'.
- Unable to import operation 'TrustFeb2005IssueAsync'.
- The element 'http://schemas.xmlsoap.org/ws/2005/02/trust:RequestSecurityToken' is missing.
我也试图从VS 2005和VS 2012添加Web引用但也抛出奇怪的错误。
- The WSDL document contains links that could not be resolved.
- There was an error downloading 'file:///C:/Users/abcd12/Documents/Visual Studio 2005/MyWebserviceTest/mex.xsd'.
任何想法有什么问题或我应该从哪里开始寻找?
更新:一旦我删除条目来键入import引用mex.xsd,Visual Studio错误添加引用就会消失。 但现在VS也提供了与命令提示符相同的错误。
更新:看起来像wsdl已损坏。等待提供者给我更新wsdl。
我会在这里更新,如果我需要任何进一步的帮助。