在CRM 2011中添加对元数据WebService的服务引用(Add service reference to metadata WebService in CRM 2011)
我需要连接到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.我检查并启用了匿名身份验证。 发生什么事?
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.
更多推荐
发布评论