WebCall Method

Calls a web service routine. This method corresponds to the WebCall action.

App.WebCall(Procedure, Timeout[, Arguments])

Client support

   Newlook Smartclient

   Newlook Server

Use

In order to call a web service the routine must first have been declared with either the WebDeclare or the WebDescription method.

Parameters

Procedure - (String, Required)

The name of the procedure to be executed or its alias as defined in the WebDeclare or WebDescription action.  

Timeout - (Integer, Required)

The number of seconds newlook will wait for a connection response from a Web Service before it will fail.

Arguments - (Optional)

The parameters to be passed to the routine as defined in WebDeclare or WebDescription.  Multiple parameters can be passed by comma separating each value.

Returns

This method returns a VB Array. If you are using this method in a JScript script then you will need to convert the returned value from a VB to JScript array using the toArray() method. See the JScript example below.

The array will be dynamically created based on the number of return values. If the Web Service returns only one value then an array is still created.

TIP!

If the Web service routine that you are calling returns multiple output parameters then you need to use WebDeclare instead of WebDescription.

Applies To

App object | Http.Get method

See Also

WebDeclare method | WebDescription method | Web Services


© 2004-2021 looksoftware. All rights reserved.