ComponentExecutor

The ComponentExecutor web service provides access to the SSC components and allows payloads to be sent for execution by specific component methods. The web service supports the BusinessUnitGroups, Components, Methods, Execute, InputSchema and OutputSchema methods.

BusinessUnitGroups

The BusinessUnitGroups method is used to obtain a list of the available business unit groups from the SSC server. It returns the list in a string array.

string[] BusinessUnitGroups(
    string authentication,            //an authentication voucher
    string licensing                  //a licensing voucher - can be null
)

Components

The Components method is used to obtain a list of available components from the SSC server. It returns the list in a string array.

string[] Components(
    string authentication,            //an authentication voucher
    string licensing                  //a licensing voucher - can be null
)

Methods

The Methods method is used to obtain a list of methods available on a specific component. It returns the list in a string array.

string[] Methods(
    string authentication,            //an authentication voucher
    string licensing,                 //a licensing voucher - can be null
    string component                  //a component name
)

Execute

The Execute method is used to send a payload to the SSC server for execution. The response payload is returned from the method in a string. Although this method takes, and returns, a string, it is configured internally to stream the data associated with this method. This means that it starts executing the payload before it has received all of it. This allows it to cope with very large payloads.

string Execute(
    string authentication,            //an authentication voucher
    string licensing,                 //a licensing voucher - can be null
    string component,                 //a component name
    string method,                    //a method name
    string group,                     //a business unit group name can be null
    string payload                    //the compound payload
)

InputSchema

The InputSchema method is used to obtain the input payload schema for a component method. The payload schemas are business unit group specific so this method takes an optional business unit group name as a parameter. If the business unit group name parameter is null then the method attempts to use the default business unit group for the user identified by the authentication voucher

string InputSchema(
    string authentication,            //an authentication voucher
    string licensing,                 //a licensing voucher - can be null
    string component,                 //a component name
    string method,                    //a method name
    string group                      //a business unit group name can be null
)

OutputSchema

The OutputSchema method is used to obtain the output payload schema for a component method. The payload schemas are business unit group specific so this method takes an optional business unit group name as a parameter. If the business unit group name parameter is null then the method attempts to use the default business unit group for the user identified by the authentication voucher.

string OutputSchema(
    string authentication,            //an authentication voucher
    string licensing,                 //a licensing voucher - can be null
    string component,                 //a component name
    string method,                    //a method name
    string group                      //a business unit group name can be null
)