09-04-2015 08:30 AM
Hi Guys
I have CUCM version 10.5.2.11900-3
I am using the control center web service, and intend to stop / start or restart service through a cron job.
As of now, I am just testing this API using the SOAPUI, and am have a little trouble.
I am able to get the list of services perfectly fine using the getStaticServiceListExtended
But when I try to stop a running CTI Manager service using the soapControlServicesEx , the server returns a fault. Not sure why. Has anyone faced this.
Have not looked any logs as of now.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap">
<soapenv:Header/>
<soapenv:Body>
<soap:soapDoControlServicesEx>
<soap:ControlServiceRequestEx>
<soap:ProductId>CallManager</soap:ProductId>
<soap:DependencyType>none</soap:DependencyType>
<soap:ControlType>stop</soap:ControlType>
<soap:ServiceList>
<!--Zero or more repetitions:-->
<soap:item>Cisco CTIManager</soap:item>
</soap:ServiceList>
</soap:ControlServiceRequestEx>
</soap:soapDoControlServicesEx>
</soapenv:Body>
</soapenv:Envelope>
Response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>unknown</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
If there is anything you can point out, I would appreciate that.
=BR
Tohsheen
09-14-2015 10:45 AM
Any pointers on this ?
09-16-2015 01:24 PM
I was able to reproduce this problem until I changed the <ControlType> value to 'Stop' (vs. 'stop'). The correct values are present in the WSDL, but the online documentation could be more clear here.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide