0

我需要连接到 CRM 2011 提供的元数据 WebService。我知道它只是为了兼容性问题而存在,我不应该使用它。

不过,我需要这样做。

当我添加 Web 服务的 url 时,我得到了他的错误:

下载链接时出错。请求失败并显示错误消息:

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

我检查并启用了匿名身份验证。怎么了?

4

1 回答 1

0

使用IP地址解决了它。

于 2013-10-07T09:17:13.873 回答