Hi guys,
I was trying to find a SOAP function that enabled me to stop a Service in any node.
I downloaded the AXL squema and I have found.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/12.5"> <soapenv:Header/> <soapenv:Body> <ns:updateProcessNodeService sequence="?"> <!--You have a CHOICE of the next 2 items at this level--> <uuid>?</uuid> <processNodeName uuid="?">?</processNodeName> <service>?</service> <!--Optional:--> <traceLevel>0</traceLevel> <!--Optional:--> <userCategories>0</userCategories> <!--Optional:--> <enable>false</enable> <!--Optional:--> <numFiles>250</numFiles> <!--Optional:--> <maxFileSize>1</maxFileSize> </ns:updateProcessNodeService> </soapenv:Body> </soapenv:Envelope>
But that does not necessarily stop the process. Just disable or enable trace level.
For instance If I want to stop
Control Center -> Network Services MIB2 Agent (select) then start/stop
Thank you very much for your help.
AXL won't do it, but ControlCenterServices will. Check out this API:
https://developer.cisco.com/docs/sxml/#!control-center-services-api-reference/soapdocontrolservices
And here's how to use the API: