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

CUCM WebDialer - How to get profile information with proxy user?

Stefan Weixler
Level 1
Level 1

Hi guys,

I have an issue with the WebDialer SOAP interface. How do I get profile information of an end user with the proxy user credentials who has the "standard EM authentication Proxy Rights" assigned. In the request I can only set credentials of the proxy user but no information of the user from who I want the profile information from.

 

I use the following request:

 

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:WD70" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<urn:getProfileDetailSoap soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<in0 xsi:type="urn:Credential">
<userID xsi:type="xsd:string">xxx</userID>
<password xsi:type="xsd:string">xxx</password>
</in0>
</urn:getProfileDetailSoap>
</soapenv:Body>
</soapenv:Envelope>

 

 

 

And the response is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<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:getProfileDetailSoapResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:WD70">
<getProfileDetailSoapReturn href="#id0"/>
</ns1:getProfileDetailSoapResponse>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:ConfigResponseDetail" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:WD70">
<description xsi:type="soapenc:string">No device configured for user</description>
<deviceInfoListDetail xsi:type="ns2:WDDeviceInfoDetail" xsi:nil="true"/>
<responseCode href="#id1"/>
</multiRef>
<multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1</multiRef>
</soapenv:Body>
</soapenv:Envelope>

Do you have an idea how to get this work with the proxy user?

 

regards

Stefan

 

1 Accepted Solution

Accepted Solutions

Stefan Weixler
Level 1
Level 1

I have figure it out: The request has to be "getProfileSoap" and not "getProfileDetailSoap". In <in1> you can transmit the EndUser ID.

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:WD70" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<urn:getProfileSoap soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<in0 xsi:type="urn:Credential">
<userID xsi:type="xsd:string">xxx</userID>
<password xsi:type="xsd:string">xxx</password>
</in0>
<in1 xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">xxxUser_ID of End Userxxx</in1>
</urn:getProfileSoap>
</soapenv:Body>
</soapenv:Envelope>

View solution in original post

1 Reply 1

Stefan Weixler
Level 1
Level 1

I have figure it out: The request has to be "getProfileSoap" and not "getProfileDetailSoap". In <in1> you can transmit the EndUser ID.

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:WD70" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<urn:getProfileSoap soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<in0 xsi:type="urn:Credential">
<userID xsi:type="xsd:string">xxx</userID>
<password xsi:type="xsd:string">xxx</password>
</in0>
<in1 xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">xxxUser_ID of End Userxxx</in1>
</urn:getProfileSoap>
</soapenv:Body>
</soapenv:Envelope>