Administration XML Developer Forums

« Back to Administration XML Questions

Remote Destination Profile

Combination View Flat View Tree View
Threads [ Previous | Next ]
We tried to create "Remote Destination Profile" according to the latest document (page 33) but we got failure from server. Please advise what is the problem.


 Request :
 <soapenv:Envelope
 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <http://schemas.xmlsoap.org/soap/envelope/>
 xmlns:ns="http://www.cisco.com/AXL/API/8.5" <http://www.cisco.com/AXL/API/8.5> >
 <soapenv:Header/>
 <soapenv:Body><ns:addRemoteDestinationProfile sequence="1">
 <remoteDestinationProfile>  <name>RDP80000001</name>
 <description>RDP80000001</description>
 <devicePoolName>CTM_Device_Pool_1</devicePoolName>
 <callingSearchSpaceName>CSS_INCOMING_XLATE</callingSearchSpaceName>
 <rerouteCallingSearchSpaceName>CSS_INCOMING_XLATE</rerouteCallingSearc
 hSpaceName>
 <lines><line><index>1</index><dirn><pattern>80000001</pattern><routePa
 rtitionName>PT_PRI_Z000018</routePartitionName></dirn></line></lines>
 </remoteDestinationProfile>
 </ns:addRemoteDestinationProfile>
 </soapenv:Body>
 </soapenv:Envelope>


 Response: statusCode:500
 <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <http://schemas.xmlsoap.org/soap/envelope/> ><soapenv:Bod
 y><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>The
 Model type for the specified Product type was not
 found</faultstring><detail><axlError><axlcode>407</axlcode><axlmessage
 >The Model type for the specified Product type was not
 found</axlmessage><request>addRemoteDestinationProfile</request></axlError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

<!--EndFragment-->

We tried to create "Remote Destination Profile" according to the latest document (page 33) but we got failure from server. Please advise what is the problem.


 Request :
 <soapenv:Envelope
 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <http://schemas.xmlsoap.org/soap/envelope/>
 xmlns:ns="http://www.cisco.com/AXL/API/8.5" <http://www.cisco.com/AXL/API/8.5> >
 <soapenv:Header/>
 <soapenv:Body><ns:addRemoteDestinationProfile sequence="1">
 <remoteDestinationProfile>  <name>RDP80000001</name>
 <description>RDP80000001</description>
 <devicePoolName>CTM_Device_Pool_1</devicePoolName>
 <callingSearchSpaceName>CSS_INCOMING_XLATE</callingSearchSpaceName>
 <rerouteCallingSearchSpaceName>CSS_INCOMING_XLATE</rerouteCallingSearc
 hSpaceName>
 <lines><line><index>1</index><dirn><pattern>80000001</pattern><routePa
 rtitionName>PT_PRI_Z000018</routePartitionName></dirn></line></lines>
 </remoteDestinationProfile>
 </ns:addRemoteDestinationProfile>
 </soapenv:Body>
 </soapenv:Envelope>


 Response: statusCode:500
 <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <http://schemas.xmlsoap.org/soap/envelope/> ><soapenv:Bod
 y><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>The
 Model type for the specified Product type was not
 found</faultstring><detail><axlError><axlcode>407</axlcode><axlmessage
 >The Model type for the specified Product type was not
 found</axlmessage><request>addRemoteDestinationProfile</request></axlError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

<!--EndFragment-->

The issue is right there in the return. You are not specifying the Model, in this case "remote Destination Profile" along with other required items in your request. Refer to the documentation for which items are required and which are optional.
 
Hope this helps,
 
Mike

Thx. However, I cannot find the field about the "model" in the document.

The fields:
 
<product>
<class>
<protocol>
<protocolSide>
 
appear to be mandatory for the request, and are missing from your example.