2013-10-04 133 views
0

我需要连接到由CRM 2011提供的元数据W​​ebService。 我知道它只存在兼容性问题,我不应该使用它。在CRM 2011中添加对元数据WebService的服务引用

不过,我需要这样做。

当我添加Web服务的URL,我得到了自己的错误:

有下载link错误。 请求失败,错误消息:

<html> 
    <head> 
     <title>Object moved</title> 
    </head> 
    <body> 
     <h2>Object moved to 
      <a href="https://lll.ppp/mscrmservices/2007/metadataservice.asmx? 
      WSDL&uniquename=orgname/_vti_bin/ListData.svc/$metadata">here</a>. 
     </h2> 
    </body> 
</html> 


Metadata contains a reference that cannot be resolved: 
'https://lll.ppp/mscrmservices/2007/metadataservice.asmx?WSDL&uniquename=orgname'. 
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. 
The authentication header received from the server was 'Negotiate,NTLM'. 
The remote server returned an error: (401) Unauthorized. 
If the service is defined in the current solution, 
try building the solution and adding the service reference again. 

我检查和匿名验证功能。 发生了什么?

回答

0

使用IP地址解决了它。