Configuring Siebel Open UI > Siebel Open UI Application Programming Interface > Methods of the Siebel Open UI Application Programming Interface >

Business Service Class


This topic describes the method that Siebel Open UI uses with the Business Service class.

InvokeMethod Method for Business Services

The InvokeMethod method that Siebel Open UI uses for business services calls a method that resides in the proxy instance of a business service. It returns the name of the property set that this business service calls. It uses the same syntax and arguments as the InvokeMethod method that Siebel Open UI uses for application models. For more information, see InvokeMethod Method for Application Models.

Siebel Open UI uses the GetService method of the application model class to create the method that InvokeMethod calls. For example, assume you must configure Siebel Open UI to call a business service from custom code that resides on the client, and that this code does not bind an applet control that resides in the repository to a business service. You can use InvokeMethod to call a business service method that a business service instance contains.

Assume you must configure Siebel Open UI to call the following business service:

Task UI Service (SWE)

The following code calls a business service method that a business service instance contains:

var service = SiebelApp.S_App.GetService(consts.get("NAME_TASKUISVC"));

For more information, see GetService Method.

The following code calls the GoToInbox method:

if(service){outPS = service.InvokeMethod("GoToInbox", inPS,true);}

Configuring Siebel Open UI Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.