IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Administrator's Guide > IBM Tivoli Monitoring Web Services for the SOAP server > SOAP methods

IBM Tivoli Monitoring, Version 6.3 Fix Pack 2


Issuing second-level SOAP requests

Some second-level SOAP methods perform a particular function with the data retrieved, using embedded lower-level methods. CT_EMail and CT_Export are second-level methods that perform this function.

These are the lower-level methods:

The <CT_Get> and <CT_Redirect> tags are used as described in SOAP methods. The <attach> tag is used to load a file. The file must be located in the <install_dir>\cms\html directory on Windows or <install_dir>/tables/HUB_Name/HTML on Linux and UNIX. You cannot use relative paths in the <attach> tag. The <insert> tag allows you to load the imbedded text into the retrieved (output) data stream at a point corresponding to its position in the XML request.

The following example shows how a second-level request might be used. This XML creates the file tabledata.htm, which is written with the data from prefix.xls. Next, embedded data is entered using the <insert> tag and a request using the <CT_Get> command is made. Note that this request has an ID value of "NTDATA", which will result in the data tag <XML id=”NTDATA”> being wrapped around that particular request data. The <CT_Redirect> command is used to reroute the request to http://services.xmethods.net:80/soap/servlet/rpcrouter, and a final request is made to insert the data from suffix.xls into tabledata.htm.


Parent topic:

SOAP methods

+

Search Tips   |   Advanced Search