cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1113
Views
0
Helpful
2
Comments
rafiq.jallel565
Level 1
Level 1

I trying to create the phone which device type is CISCO 7945. It needs MacID as input which is 12 digit number.

I trying to invoke the CISCO AXL API 10.5 in C# and I trying same in SOAP UI to achieve task.but,it fails any helps on this much appreciated.. (refer screen shot)These are the mandatory fields which need to configure while creating the phone in CUCM GUI and its created successfully and now i'm passing in same set of input in SOAP UI which is not working

add phone.png

INPUT

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">
<soapenv:Header/>
<soapenv:Body>
<ns:addPhone sequence="?">
<phone ctiid="?">
<name>123567890123</name>
<!--Optional:-->
<description>12345098791234</description>
<phoneTemplateName uuid="?">Standard 7945 SCCP</phoneTemplateName>
<devicePoolName uuid="?">ANIL</devicePoolName>
<ownerUserName uuid="?">1011</ownerUserName>
<securityProfileName uuid="?">Cisco 7945 - Standard SCCP Non-Secure Profile</securityProfileName>
</phone>
</ns:addPhone>
</soapenv:Body>
</soapenv:Envelope>

 

ERROR

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Client</faultcode>
<faultstring>A character to numeric conversion process failed</faultstring>
<detail>
<axlError>
<axlcode>-1213</axlcode>
<axlmessage>A character to numeric conversion process failed</axlmessage>
<request>addPhone</request>
</axlError>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

 

2 Comments
npetrele
Cisco Employee
Cisco Employee

Delete all the attributes with ="?", such as uuid="?", ctiid="?" and sequence="?".  That should do the trick.

rafiq.jallel565
Level 1
Level 1

@npetrele thanks for your suggestion . it not working again same error. please refer the screen shot for the same

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Client</faultcode>
<faultstring>A character to numeric conversion process failed</faultstring>
<detail>
<axlError>
<axlcode>-1213</axlcode>
<axlmessage>A character to numeric conversion process failed</axlmessage>
<request>addPhone</request>
</axlError>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

 

add phone.png

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: