IBM Tivoli Monitoring > Version 6.3 Fix Pack 2 > Administrator's Guide > IBM Tivoli Monitoring Web Services for the SOAP server > Start the SOAP client and making a request
IBM Tivoli Monitoring, Version 6.3 Fix Pack 2
Issuing SOAP requests as system commands
You can use the Take Action feature in the Tivoli Enterprise Portal to issue SOAP requests as system commands in policies or in situations.
The SOAP requests are stored in a text file. For details, see the Specify an action and Action Settings topics in the Tivoli Enterprise Portal User's Guide.
The soap command is:
soap:CT_Execute,filename=SOAPREQwhere:
- CT_Execute is the name of the SOAP method that allows you to run a SOAP request that is stored in a file.
- SOAPREQ is the name of the file you created that contains the CT_EMail SOAP request
For example, SOAPREQ might contain:
<CT_EMail><server>n-smtpmta</server> <sender>soap@ibm.com</sender> <receiver>jane_brown@ibm.com</receiver> <subject>AFDATA untouched by human hands</subject> <attachmenttitle>AFData.htm</attachmenttitle> <request><attach>res.pfx</attach></request> <request id="XMLID"> <CT_Redirect endpoint="http://sp22.ibm.com:18882"> <SOAP-ENV:Envelope xmlns:SOAP-ENV= "http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > <SOAP-ENV:Body><AF_Execute><Exec>SOAP0002</Exec></AF_Execute></SOAP-ENV:Body> </SOAP-ENV:Envelope></CT_Redirect></request> <request><attach>res.sfx</attach></request></CT_EMail>
Parent topic:
Start the SOAP client and making a request