March, 2011

  • Girish Raja's Blog

    CRM Online 2011 Web Services SOAP Sample now ready for Europe & Asia


    Updated 26th June 2012: The sample has been modified to use the Windows Live login URLs & URNs that is dynamically sent through the discovery service. Many thanks to Ryan Lo from Marketo for providing the updated sample. This new update makes this post obsolete!

    The recent code sample I published on Connecting to CRM Online 2011 Web Services using SOAP Requests Only was well received by many people however a few developers from Europe & Asia mentioned that they were getting (500) Internal Server Error when they were trying out the code. I then realized that CRM 2011 Web Service URLs had a different format in Europe & Asia which helped me to find the culprit.

    I signed up for a CRMOnline European trial account and putting the SDK sample under Fiddler inspection revealed that it was a minor change within one of the XML fragments. That’s it, seriously!

    <a:Address></a:Address>  to 

    Obviously crm4 is used in our European datacenter and crm5 is used in our Asian datacenter so I had to modify the code to use the appropriate URN address.

    // Create the URN address of the format 
    // Replace crm with crm4 for Europe & crm5 for Asia.
    string URNAddress = "";
    if (CRMUrl.IndexOf("") != -1)
    URNAddress = "";
    if (CRMUrl.IndexOf("") != -1)
    URNAddress = "";

    You can download the updated code sample here:

    All is well again!

  • Girish Raja's Blog

    Have you checked out Office Web Apps?


    In case you’re wondering what Office Web Apps is, it is Microsoft Office (Word, Excel, PowerPoint & OneNote) running in the cloud. In competitive terms, this is the Microsoft’s free version of Google Docs but only better! As announced recently, Office Web Apps now available worldwide in more than 190 countries.

    Office Web Apps has a nice online viewing & editing experience. To get started visit SkyDrive which gives you a whopping 25GB of online storage. FYI Office Web Apps is also integrated with Hotmail.

    You could do a lot of cool things with Office Web Apps like embedding presentations in your blog similar to the below one. So head over to and enjoy!

Page 1 of 1 (2 items)