在CRM 2011中添加对元数据WebService的服务引用(Add service reference to metadata WebService in CRM 2011)

系统教程 行业动态 更新时间:2024-06-14 17:00:14
在CRM 2011中添加对元数据WebService的服务引用(Add service reference to metadata WebService in CRM 2011)

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

不过,我需要这样做。

当我添加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.
 

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

I need to connect to the metadata WebService provided by CRM 2011. I do know it is there just for compatibility issues and that I should not use it.

Still, I need to do it.

When I add the url of the web service I get his error:

There was an error downloading link. The request failed with the error message:

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

I checked and anonymous authentication is enabled. What is happening?

最满意答案

使用IP地址解决了它。

Using the IP address solved it.

更多推荐

本文发布于:2023-04-18 00:57:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/4dc675412573abbc36aafd371fab4a15.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据   WebService   CRM   reference   metadata

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!