David Staudt | getProfileSoap should be the request you want to use. You can create a UCM Application User with 'Standard EM Authentication Proxy Rights' which can be used to query the profile of any UCM user. Note the following is using the wd70.wsdl at https://<CCM_Server>/webdialer/wsdl/wd70.wsdl Sample request:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:WD70"> <soapenv:Header/> <soapenv:Body> <urn:getProfileSoap soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <in0 xsi:type="urn:Credential"> <userID xsi:type="xsd:string">webDialerProxyUser</userID> <password xsi:type="xsd:string">password</password> </in0> <in1 xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">testUser</in1> </urn:getProfileSoap> </soapenv:Body> </soapenv:Envelope>
and response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:getProfileSoapResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:WD70"> <getProfileSoapReturn href="#id0"/> </ns1:getProfileSoapResponse> <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:GetConfigResponse" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:WD70"> <description xsi:type="xsd:string">Success</description> <deviceInfoList soapenc:arrayType="ns3:WDDeviceInfo[1]" xsi:type="soapenc:Array" xmlns:ns3="urn:WebdialerSoap"> <item href="#id1"/> </deviceInfoList> <responseCode href="#id2"/> </multiRef> <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef> <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:WDDeviceInfo" xmlns:ns4="urn:WebdialerSoap" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <deviceName xsi:type="xsd:string">SEP00070EB9C4B4</deviceName> <lines soapenc:arrayType="xsd:string[2]" xsi:type="soapenc:Array"> <item xsi:type="xsd:string">1000 ; no partition</item> <item xsi:type="xsd:string">2000 ; no partition</item> </lines> </multiRef> </soapenv:Body> </soapenv:Envelope> |
| Please sign in to flag this as inappropriate. |