Accessing Web Services in JScript
![]() |
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
Web services can be accessed from nearly every method to extend Microsoft Dynamics CRM, including the client. Microsoft Dynamics CRM Web services and other Web services can be called using asynchronous JavaScript and XML (AJAX) client-side code.
Web service calls are performed in client code using XMLHttp requests. The Web Service method and any necessary parameters are defined in XML and included in a SOAP Envelope. XMLHttp requests can be performed using the native support for the XMLHttpRequest Object provided in Windows Internet Explorer 7 or by using the ActiveXObject in earlier versions of Internet Explorer. Unless you are sure that all users are using Internet Explorer 7 it is best to use the ActiveXObject.
For more information about the XMLHttpRequest object, see msdn2.microsoft.com/en-us/library/ms535874.aspx.
See Also
Concepts
- Accessing Microsoft Dynamics CRM Web Services
- Accessing Other Web Services
- Using Microsoft Dynamics URLs
Reference
© 2010 Microsoft Corporation. All rights reserved.
