cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
417
Views
0
Helpful
0
Replies

AXL 10.5/C# - Issues with adding remote destination

ashish.nijai
Level 1
Level 1

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?

 

0 Replies 0
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: