07-01-2019 10:23 AM
I am trying to SOAPUI listphone
below is the request
<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:listPhone>
<searchCriteria>
<!--Optional:-->
<name>%</name>
<devicePoolName>Default</devicePoolName>
</searchCriteria>
<returnedTags>
<name></name>
<model></model>
<ownerUserName></ownerUserName>
</returnedTags>
</ns:listPhone>
</soapenv:Body>
</soapenv:Envelope>
got the below response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">
<soapenv:Body>
<ns:listPhoneResponse>
<return/>
</ns:listPhoneResponse>
</soapenv:Body>
</soapenv:Envelope>
<!--This API has been processed by GAXL not AXL-->
07-01-2019 02:43 PM
Do you actually have a device pool called "Default"? If not, change it to one you have phones in or remove the line and try to run it again.
You should be able to use just 'name' as a bare minimum search criteria
<searchCriteria> <name>%</name> </searchCriteria>
07-03-2019 09:21 AM
Yes. I tried just by having <name>%</name> as searchcriteria and it made not difference
07-09-2019 10:49 AM
Your original <listPhone> request works fine for me on my 10.5 system. My suspicion might be that you are perhaps not querying the right system, or a new system without any phones configured...maybe a node replication issue? if that's not the case, then it would seem something quite weird is wrong with AXL on your CUCM, and you may want to open a DevNet ticket for more in-depth troubleshooting: https://developer.cisco.com/site/support/
02-05-2020 06:28 AM
You have to specify some "returned tags" for example:
<returnedTags ctiid="?" uuid="?">
<name>?</name>
<description>?</description>
<product>?</product>
<model>?</model>
</returnedTags>
</ns:listPhone>
</soapenv:Body>
</soapenv:Envelope>
02-06-2020 03:01 AM
Please Note:
A List request is basicly a two part request:
1. searchCriteria
2. returnedTags
CUCM dos not retunr anything if you don't name what you want to be returned.
Here is one exaple:
<searchCriteria><name>%</name><devicePoolName>Default</devicePoolName></searchCriteria><returnedTags><name/><model/><ownerUserName/></returnedTags>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide