My blog has moved!

Please visit
http://crmdude.wordpress.com/
and update your bookmarks.

Monday, 15 June 2009

Consuming the MS CRM Web Service for a Secondary Organisation

If you've got multiple CRM organisations in a MS CRM instance, you would have noticed that connecting to the default Web Service gives you only the customisations of the default organisation. In the past, I've been downloading the WSDL files in the Customisation section for each of my secondary organisations and then creating a Web Service reference to the downloaded file- especially annoying when you make changes to your customisation and have to keep the file updated!

Well, I was about to do the same this morning.. until I discovered realised that I could simply consume the download URL of the WSDL file itself:

http://SERVERNAME/MSCrmServices/2007/CrmServiceWsdl.aspx?uniquename=ORGANISATION

Why didn't I discover this before?

No comments:

Post a Comment