Siebel Object Interfaces Reference > Interfaces Reference > Business Service Methods >

InvokeMethod Method


The InvokeMethod method calls a method on the business service. This can be a documented specialized method or a user-created method.

eScript Syntax

oService.InvokeMethod(methodName, InputArguments, OutputArguments)

Siebel VB Syntax

oService.InvokeMethod methodName, InputArguments, OutputArguments

Argument
Description

methodName

A string representing the name of the method to execute

InputArguments

A property set containing the arguments required by the method

OutputArguments

A property set containing the arguments to be returned by the method (passed by reference)

Browser Script Syntax

outputPropSet=Service.InvokeMethod(MethodName, inputPropSet)

Argument
Description

methodName

The name of the method

inputPropSet

A property set containing the method arguments

outputPropSet

A property set containing the output arguments of the Property Set

Returns

Not applicable

Usage

Built-in business services work the same way as business component invoke methods. That is, you can call specialized methods on the service that are not exposed directly through the object interface.

Run-time business services can hold user-defined methods, which must be implemented in scripts written in Siebel VB or Siebel eScript. The scripts must be written in these languages within Siebel Tools; however, they can be called through external interfaces.

Although the InvokeMethod function does not return a value, the properties in the OutputArguments property set may have been modified.

NOTE:  The InvokeMethod method should be used only with documented specialized methods. Siebel Systems does not support calling specialized methods with InvokeMethod, unless they are listed in this book.

Used With

Browser Script, COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script, Web Client Automation Server

See Also

Service_InvokeMethod Event
Service_PreInvokeMethod Event

Siebel Object Interfaces Reference