Performing operations with SOAP Web Services
The .wsdl files provided by TrueSight Server Automation - SOAP Web Services are located on the Application Server. You can get them by using the following URL syntax:
For example, to get the .wsdl files provided by TrueSight Server Automation - SOAP Web Services from an Application Server with a hostname of myAppServer, you would use the following URLs:
When you include the ?= string within the URL, the name of the web service includes the BSA prefix (and matches the name of the corresponding .wsdl file). In a URL that does not contain the ?= string, do not include the BSA prefix.
The general procedure for using BLCLI commands via web services is to log on to the TrueSight Server Automation Application Server, assume a role, and then run commands. Keep in mind that all the elements in a BLCLI command are case sensitive.
The following table describes the classes and operations that are available for use with the TrueSight Server Automation - SOAP Web Services:
Do not use double quotes to enclose the input of any of these operations. Input strings for web services are treated literally, and do not require double quotes.
Enables you to log on using user credentials. The session ID is returned. Use this session ID in all subsequent calls to identify the session.
|loginUsingSessionCredential()||Enables you to log on using a previously acquired session credential.|
Enables you to assume a role after logging on.
Enables you to execute a CLI command with arguments. Based on CLI syntax, you can choose one of the operations from CLITunnelService.
Enables you to execute a CLI command without arguments.
|executeCommandByParamListAndAttachment()||Enables you to execute a CLI command with arguments and attachments. Input parameters are the same as for the executeCommandByParamList operation, and you can also pass attachments as arguments. The attachment is expected to be a base64 encoded string passed in the SOAP envelope.|
|executeCommandUsingAttachments()||Enables you to execute a CLI command with arguments and attachments. The attachment is expected to be a base64 encoded string passed in the SOAP envelope.|
|getXML||Returns the ouput as xml for the provided REST uri and query parameters.|
|getJSON||Returns ouput as JSON for the provided REST uri and query parameters.|
|postXML||Performs a post call for the given rest uri and xml content.|
|postJSON||Performs a post call for the given rest uri and JSON content.|