CRM 2011 Tool – Jscript Soap Request Formatter

This blog seems to be the head of the Jamie Miley appreciation club this week and marvelous Miley has done it again today by releasing the CRM 2011 Jscript Soap Request Formatter.

Firstly you can read about it on his blog from his latest blog post here.  You can also download the tool at codeplex here.  I have to say I am always very grateful when someone from the CRM community creates a project on codeplex, these kind souls have saved me, hours/days with their excellent tools.

The reason the marvelous Miley has featured on my blog so much this week is because he has been devoting his time to Javascript, which is one of those areas I am yet to master, so all help is welcomed.

The blog entry features a link to a great article from the updated SDK CRM 2011 – Walkthrough: use the SOAP endpoint with Javascript.  This is a very useful article because it shows you how to capture the soap messages from calls to the iOrganizationservice by creating a soap logger.

The CRM 2011 Jscript Soap Request Formatter basically takes the soap message logged out and then creates some Javascript for you.  Nice, this could save you a lot of time creating the  javascript manually, especially with the += when creating a string which contains a soap message.

I was also interested to see an example of doing a soap call.

firstly calling the XRMservice

 var OrgServicePath = "/XRMServices/2011/Organization.svc/web";
and then the full call using the execute method of the CRM web service.

req.setRequestHeader("SOAPAction", "");


Good work the Marvelous Miley


3 thoughts on “CRM 2011 Tool – Jscript Soap Request Formatter

  1. Jamie Miley March 16, 2011 / 2:11 am

    It’s Jamie, not James. 🙂 I will forgive you though since you are leading my fan club and all.

    Thanks again for the props!


  2. Hosk March 16, 2011 / 8:48 am

    well as leader of the fanclub I should at least spell you name right, you are once again rightly restored to your proper name


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.