« Good post on relationship types in Microsoft CRM 4.0 | Main | CRM User Cannot Query Filtered Views »

February 19, 2008



Thank you for this very detailed description. I have one follow-up question that I hope you can help me with - when running on a hosted solution of CRM, this doesn't work "as is" - it's as if there is some authentication step missing. When I try to call the web service I'm asked for my credentials, and even after supplying them receive an "access denied" error. Do you know what I need to do in order to get past this?


Never mind, figured it out thanks to http://www.stunnware.com/crm2/topic.aspx?id=JSWebService2
Thanks anyway.


You are wrong! With xmlhttp.send(xmlPost) you must use
xmlhttp.open('POST', 'http://crmserver/mscrmservices/2006/crmservice.asmx', false);// third parameter sets is request synchronous or not.
When you set false, you need set handler to event

if you want to use method GET
xmlhttp.open('GET', 'http://crmserver/mscrmservices/2006/crmservice.asmx&' + parameters, false);

with xmlhttp.send(null);

Remember that parameters length

Do not confuse people please!


Buildings are not cheap and not everyone is able to buy it. But, lowest-rate-loans.com was invented to help different people in such situations.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.


Post a comment

Comments are moderated, and will not appear until the author has approved them.

Your Information

(Name is required. Email address will not be displayed with the comment.)

Twitter Updates

    follow me on Twitter