Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

AXL 10.5/C# - Issues with adding remote destination

Hi I'm trying to add a remote destination with AXL proxy created for .Net. When I set following needed properties on AddRemoteDestinateReq.remoteDestination 

- name, destination, answerTooLateTimer, answerTooSoonTimer, delayBeforeRingingCell, ownerUserId and remoteDestinationProfileName.

Following soap requests gets generated when I execute the add request.

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Body>
      <addRemoteDestination xmlns="http://www.cisco.com/AXL/API/10.5">
         <remoteDestination xmlns="">
            <name>MyRD</name>
            <destination>12341</destination>
            <answerTooSoonTimer>1500</answerTooSoonTimer>
            <answerTooLateTimer>19000</answerTooLateTimer>
            <delayBeforeRingingCell>0</delayBeforeRingingCell>
            <ownerUserId>user11</ownerUserId>
            <remoteDestinationProfileName>RDP_Valid</remoteDestinationProfileName>
            <ctiRemoteDeviceName xsi:nil="true"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <dualModeDeviceName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
            <todAccessName xsi:nil="true"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
            <mobileSmartClientName xsi:nil="true"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
            <mobilityProfileName xsi:nil="true"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
         </remoteDestination>
      </addRemoteDestination>
   </soap:Body>
</soap:Envelope>

With this request, I get following error -

For this dual mode phone, mobility profile is not added. So owner user is required.

if I remove, all those xml nodes with xsi:nil="true" attribute and execute the same request with SoapUI, remote destination gets successfully created.

One approach is to remove those unwanted xml nodes. But as SOAP request is generated by the Proxy, we do not have control on it. 

Any body knows how to resolve this issue?

 

Everyone's tags (1)
207
Views
0
Helpful
0
Replies
CreatePlease to create content