Siebel Mobile Connector Guide > Working with the Metadata Business Service >

The Metadata Business Service API


Table 2 lists the API methods for accessing the Metadata Business Service. Third-party applications do not invoke the methods of the Metadata Business Service directly. Instead, the methods are invoked by calling the InvokeMethod method of the Siebel COM Data Control or Java Data Bean API. For more information about these APIs, see Siebel Tools Online Help.

Table 2. API Methods for Accessing the Metadata Business Service
Supported Values
Description
Arguments (with Description)

CanInvokeMethod

Returns whether or not the method can be invoked.

MethodName indicates the name of the method that you want to call.

InvokeMethod

Specifies a method to be invoked.

  • MethodName indicates the name of the method that you want to call.
  • inputArgs are input arguments
  • outputArgs are output arguments

CreateStyleSheets

Generates style sheets.

  • inputArgs are input arguments
  • outputArgs are output arguments

GetApplicationDef

Returns a hierarchical representation of the application definition.

  • inputArgs are input arguments
  • outputArgs are output arguments

LoadSubscription

Loads a subscription from a file.

  • inputArgs are input arguments
  • outputArgs are output arguments

MetadataCleanup

Destroys the created objects to free system resources.

  • inputArgs are input arguments
  • outputArgs are output arguments

SaveSubscription

Saves a subscription to a file.

  • inputArgs are input arguments
  • outputArgs are output arguments

There is a specific order that the methods are called in.

  1. Call GetApplicationDef or LoadSubscription (to use LoadSubscription you must have previously used GetApplicationDef and saved a subscription).
  2. Call SaveSubscription (can be called multiple times in one session).
  3. Call CreateStyleSheets (can be called multiple times in one session).
  4. Call MetadataCleanup.

NOTE:  The Metadata Business Service is instantiated just like any other Siebel business service. You can instantiate the Metadata Business Service though the Siebel COM Data Control, the Java Data Bean Control, the XML Web Interface to SWE or any other object interface. For the COM and Java controls, you use the GetService(service_name) method on the application object. For the SWE interface, you use the LoadService(service_name) command.

Siebel Mobile Connector Guide Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.