GetService Method
The GetService method creates an instance of a business service object. It allows you to use the Invoke method to call this business service object. It uses the following syntax:
SiebelApp.S_App.GetService("business_service_name");
where:
business_service_name is a string that identifies the name of the business service that GetService uses to create the business service object. You must use the same name that you use when you register this business service. For more information about registering a business service, and for an example that uses the GetService method, see Using Custom Siebel Business Services.
The following example creates a business service instance of the LS Pharma Validation Service business service:
var service = SiebelApp.S_App.GetService("LS Pharma Validation Service");