简体   繁体   中英

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

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

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

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 . It generates proxy class from WSDL allowing you to break through IFD and reach the service endpoint.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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