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", "http://schemas.microsoft.com/xrm/2011/Contracts/Services/IOrganizationService/Execute");
Good work the Marvelous Miley
It’s Jamie, not James. 🙂 I will forgive you though since you are leading my fan club and all.
Thanks again for the props!
LikeLike
well as leader of the fanclub I should at least spell you name right, you are once again rightly restored to your proper name
LikeLike