Invokes the specified Web service method.
|
|---|
var webRequest = Sys.Net.WebServiceProxy.invoke(ServicePath, methodName, useGet, params, onSuccess, onFailure, userContext, timeout, enableJsonp, jsonpCallbackParameter); |
Parameters
Return Value
The WebRequest instance that is used to call the method. This instance can be used to stop the call.
Remarks
Example
The following example shows how to use invoke to call a Web service method. The example shows a Web page, a client script, and a Web service called by the page through the client script.
See Also
Other Resources
Calling Web Services from Client Script in ASP.NET AJAX