Service Parameter Get & Update

Version 1
    This document was generated from CDN thread

    Created by: EDWARD BROWN on 08-01-2009 02:59:37 AM
    I am having an issue with getting and updating service parameters. I keep getting a 5007 error that the: Item not valid: The specified Service Parameter was not found. I am using service parameter names that came out of the response to listServiceParameter. Here is an example request and response:

    Request to AXL Server:
    POST /axl/ HTTP/1.0
    Host: 144.10.207.211:8443
    Authorization: Basic Y2NtYWRtaW46RURTYWRtaW4wMQ==
    Accept: text/*
    Content-type: text/xml
    SOAPAction: "CUCMB ver=6.1"
    Content-length: 513

    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><axl:updateServiceParameter xmlns:axl="http://www.cisco.com/AXL/API/1.0" xmlns:xsi="http://www.cisco.com/AXL/API/1.0"><name>TimerH225T305_msec</name><processNodeName>USAHSAMH108</processNodeName><service>Cisco CallManager</service><newValue>1040</newValue></axl:updateServiceParameter></SOAP-ENV:Body></SOAP-ENV:Envelope>

    -----
    Response from AXL Server:
    Is Valid=true
    AXLHTTPResponse Internal Error Message=null
    HTTP Version: 1.1
    Status Code: 200
    Status Reason: OK
    Date: Thu, 08 Jan 2009 02:25:44 GMT
    Content-Length: 612
    SOAPAction: "CUCMB ver=6.1"
    Set-Cookie: JSESSIONID=4E75E58B92EC86C0FA8F4442C13A2494; Path=/axl; Secure
    Connection: close
    Content-Type: text/xml;charset=utf-8
    Server: Apache-Coyote/1.1
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Item not valid: The specified Service Parameter was not found</faultstring><detail><axl:Error xmlns:axl="http://www.cisco.com/AXL/API/6.1"><axl:code>5007</axl:code><axl:message>Item not valid: The specified Service Parameter was not found</axl:message><request>updateServiceParameter</request></axl:Error></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

    Can someone tell me what I am doing wrong?

    Thanks

    Ted

    Subject: Re: Service Parameter Get & Update
    Replied by: David Staudt on 08-01-2009 04:48:40 PM
    It looks to be that the particular service parameter you are changing 'TimerH225T305_msec' is not associated with a specific CUCM node, but is one of the 'Clusterwide Parameters'. You will need to specify 'EnterpriseWideData' as the <processNodename>:

    <SOAP-ENV:Envelope xmlns:SOAP->ENV="http://schemas.xmlsoap.org/soap/envelope/" >xmlns:xsd="http://www.w3.org/2001/XMLSchema" >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <axl:updateServiceParameter xmlns:axl="http://www.cisco.com/AXL/API/1.0" >xmlns:xsi="http://www.cisco.com/AXL/API/1.0">
    <name>TimerH225T305_msec</name>
    <processNodeName>EnterpriseWideData</processNodeName>
    <service>Cisco CallManager</service>
    <newValue>1040</newValue>
    </axl:updateServiceParameter>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>


    Subject: Re: Service Parameter Get & Update
    Replied by: EDWARD BROWN on 12-01-2009 04:20:05 PM
    Thanks, found that after the post.