<axlcode>-1</axlcode> returned adddeviceprofile in cucm 9.0

Version 1
    This document was generated from CDN thread

    Created by: priyanka Shrivastava on 30-09-2013 02:25:05 AM
    Hi,

    I am trying to create device profile in cucm 9.0 and below is my axl request:

    Content-Type: text/xml
    SOAPAction: 'CUCMB ver=9.0'
    Authorization: Basic YWRtaW5pc3RyYXRvcjpjaXNjb0AxMjM=
    Host: 192.168.1....:8443
    Content-Length: 898
    Expect: 100-continue
    Connection: Keep-Alive


    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <SOAP-ENV:Body>
        <axl:addDeviceProfile xmlns:axl="http://www.cisco.com/AXL/API/9.0">
          <name>286_mydeviceprofile</name>
          <product>Cisco IP Communicator</product>
          <description>mydeviceprofile</description>
          <class>Device Profile</class>
          <protocol>SCCP</protocol>
          <protocolSide>User</protocolSide>
          <phoneTemplateName>Standard CIPC SCCP</phoneTemplateName>
          <userLocale>English United States</userLocale>
          <userHoldMOHAudioSourceId>1</userHoldMOHAudioSourceId>
          <dndOption></dndOption>
          <dndRingSetting></dndRingSetting>
          <dndStatus>false</dndStatus>
          <lines>
            <line>
              <index>1</index>
              <dirn>
                <pattern>25001</pattern>
                <routePartitionName>286_SapPartition</routePartitionName>
              </dirn>
            </line>
          </lines>
        </axl:addDeviceProfile>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    I am getting below response:
    <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring></faultstring><detail><axlError><axlcode>-1</axlcode><axlmessage></axlmessage><request>addDeviceProfile</request></axlError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

    But When I remove my header part (SOAPAction: 'CUCMB ver=9.0'Authorization: Basic YWRtaW5pc3RyYXRvcjpjaXNjb0AxMjM=Host: 192.168.1....:8443Content-Length: 898 Expect: 100-continueConnection: Keep-Alive) from SOA client, it works fine...

    This error code -1 is killing out. I couldnt figure out what is actual error.

    Please help.