简体   繁体   English

crm 2011旧式发现Web服务

[英]crm 2011 legacy discovery web service

I've been trying to connect to a CRM 2011 IFD legacy discovery web service but have not been able to do so. 我一直在尝试连接到CRM 2011 IFD旧式发现Web服务,但无法做到这一点。 I've gone from getting a 401 not authorized to a 404 not able to connect to site when attempting to connect with a browser. 我从获得未经授权401 变为尝试连接浏览器时无法连接到站点404

When I try to add the web service to it as a web reference in VS 2010, I get an error saying that number of redirects are too many (or something similar). 当我尝试将Web服务作为VS 2010中的Web参考添加到其中时,出现一条错误消息,指出重定向的数量太多(或类似的东西)。

I've seen people being able to connect to the web service in custom code where they authorize themselves in the code but I'm not sure how do to do that. 我见过人们可以在自定义代码中连接到Web服务,而他们在代码中授权自己,但是我不确定该怎么做。 I can't set up discovery service using the DLLs from the SDK for CRM 2011 without adding the discovery service as a web reference. 如果不将发现服务添加为Web参考,则无法使用SDK for CRM 2011中的DLL设置发现服务。

Can anyone give me som advice on how to procede with this. 谁能给我有关如何进行此操作的建议。 I need to be able to reach the legacy service due to a third party product. 由于第三方产品,我需要能够获得旧版服务。

You might try to use crmsvcutil.exe from the MS CRM SDK . 您可能尝试使用MS CRM SDK crmsvcutil.exe It generates proxy class from WSDL allowing you to break through IFD and reach the service endpoint. 它从WSDL生成代理类,使您可以突破IFD并到达服务端点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM