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

addPhone Problem

Hello i got a problem when i tried a soap codes for addPhone.
but  got this error

"Error sending/receiving from server: Server returned HTTP response code: 500 for URL:https://192.168.10.11:8443/axl/"

i use cucm 9.1

here's the axl codes

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/9.1">

<soapenv:Header/>

<soapenv:Body>

<ns:addPhone sequence="?">

    

<phone ctiid="?">

<name>SEP000000000007</name>

<description>John Smith - Office</description>

<product>CIPC</product>

<class>Phone</class>

<protocol>SCCP</protocol>

<protocolSide>User</protocolSide>

<callingSearchSpaceName uuid="?">Generated_CSS_I_E</callingSearchSpaceName>

<devicePoolName uuid="?">Default</devicePoolName>

<deviceMobilityMode>Default</deviceMobilityMode>

<callInfoPrivacyStatus>Default</callInfoPrivacyStatus>

<preemption>Default</preemption>

<mlppIndicationStatus>Default</mlppIndicationStatus>

<phoneTemplateName uuid="?">Standard CIPC SCCP EM</phoneTemplateName>

<locationName>Hub_Name</locationName>

<builtInBridgeStatus>Default</builtInBridgeStatus>

<deviceMobilityMode>Default<deviceMobilityMode>

<services>

<service>

  <telecasterServiceName uuid="?">Demo</telecasterServiceName>

<name>Demo</name>

</service>

</services>

<softkeyTemplateName uuid="?">Standard User</softkeyTemplateName>

<enableExtensionMobility>true</enableExtensionMobility>

</phone>

</ns:addPhone>

</soapenv:Body>

</soapenv:Envelope>

1 Reply 1

npetrele
Cisco Employee
Cisco Employee

Your closing tag is incorrect here:

<deviceMobilityMode>Default<deviceMobilityMode>


It should be:


<deviceMobilityMode>Default</deviceMobilityMode>