November 17, 2001 - Calling Web Services with callService
November 17, 2001 Calling Web Services with CallService Tips: November 2001
Yehuda Shiran, Ph.D.
|
callService()
method. The callService()
method has an optional first parameter of a callback function, followed by the WebService
's method name and its parameter values. Here is the syntax:
iCallID = id.FriendlyName.callService([CallbackHandler,] "MethodName",
Param1, Param2, ...);
For example:
webServiceCallerBody.echo.callService(Handler, "echoString",
"Asynchronous Call");
The callback handler function processes the result sent by the Web service. If the callback handler function is not specified, the event handler of the onresult
event is used.