1

I found some sample code in Microsoft Dynamics CRM 4.0 SDK which is asking me to do the following to test the soap call

  1. Paste the following code into any Event Detail Properties dialog box.
  2. Save the form and then click Create Form on the Preview menu.

The web service can only be used after the user is authenticated. The SOAP request contains CrmAuthenticationToken which is to be passed in the header. Since it cannot be anonymous I think the service can only be consumed within "CRM"

Is it possible to consume CRM web services from a self hosted HTML file?

2
  • Only if the HTML page is uploaded as a Webresource Commented Jan 25, 2012 at 19:47
  • Thanks Anwar. Can you add your reply as an answer? I will accept it as an answer and this question will be marked as answered. Commented Jan 25, 2012 at 23:06

1 Answer 1

1

HTML pages can consume Web Services by uploading it as a Webresource.

This link talks about Relative Paths and Simulating Directories CRM 2011 Web Resources: Simulating Directories and the Importance of Relative Paths

This link talks about using jQuery to consume Web services Using jQuery in CRM 2011

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.