cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
850
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Chun Hung Wong on 11-03-2012 10:11:27 PM
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-->

Subject: RE: Remote Destination Profile
Replied by: MIKE WILCOX on 11-03-2012 10:18:08 PM
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

Subject: RE: Remote Destination Profile
Replied by: Chun Hung Wong on 12-03-2012 12:08:34 AM
Thx.  However, I cannot find the field about the "model" in the document.

Subject: RE: Remote Destination Profile
Replied by: David Staudt on 19-03-2012 05:20:36 PM
The fields:
 
<product>
<class>
<protocol>
<protocolSide>
 
appear to be mandatory for the request, and are missing from your example.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links