在CRM 2011中添加对元数据WebService的服务引用

时间:2013-10-04 12:53:31

标签: web-services iis dynamics-crm-2011 dynamics-crm-4

我需要连接到CRM 2011提供的元数据W​​ebService。 我知道它仅存在兼容性问题,我不应该使用它。

不过,我需要这样做。

当我添加网络服务的网址时,我收到了他的错误:

下载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.

我检查过并启用了匿名身份验证。 发生了什么事?

1 个答案:

答案 0 :(得分:0)

使用IP地址解决了它。

相关问题