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
- Paste the following code into any Event Detail Properties dialog
box. - 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?
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