WebDialer SOAP - HTTPS
Follow the below listed steps along with the supplied SOAP Request Code Snippet to test Cisco WebDialer.
- Ensure you have a valid installation of Unified CM.
- Verify the Cisco WebDialer Service is accessible here:
https://< server>:8443/webdialer/services/WebdialerSoapService70 - Copy the below listed SOAP Request into your text editor.
- Update the ‘UserID’ and the ‘Password’.
- Ensure the ‘destination’ entered is a valid directory number.
- Make sure there is a valid ‘user’ and ‘deviceName’ under the UserProfile.
makeCallSoap Request
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<? xml version = "1.0" encoding = "UTF-8" ?> < 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 >
< in0 xsi:type = "urn:Credential" >
< userID xsi:type = "xsd:string" >bill</ userID >
< password xsi:type = "xsd:string" >123</ password >
</ in0 >
< in2 xsi:type = "urn:UserProfile" >
< user xsi:type = "xsd:string" >bill</ user >
< deviceName
xsi:type = "xsd:string" >SEPF01FAF38ABC2</ deviceName >
< lineNumber
xsi:type = "xsd:string" >?</ lineNumber >
< supportEM
xsi:type = "xsd:boolean" >false</ supportEM >
< locale xsi:type = "xsd:string" >?</ locale >
< dontAutoClose
xsi:type = "xsd:boolean" >true</ dontAutoClose >
< dontShowCallConf xsi:type = "xsd:boolean" >false</ dontShowCallConf >
</ in2 >
</ urn:makeCallSoap >
</ soapenv:Body >
</ soapenv:Envelope > |
makeCallSoap Response
If the response is successful the targeted destination phone or device will ring. The makeCallSoap response API indicates successful call completion with the Response code of “0” and the Message: “Success.”
1
2
3
4
5
6
7
8
9
10
11
12
|
<? 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:makeCallSoapResponse
soapenv:encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns1 = "urn:WD70" >
< makeCallSoapReturn href = "#id0" />
</ ns1:makeCallSoapResponse >
< multiRef id = "id0" soapenc:root = "0"
soapenv:encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"
xsi:type = "ns2:CallResponse" xmlns:soapenc = "http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2 = "urn:WD70" >
< responseCode
xsi:type = "xsd:int" >0</ responseCode >
< responseDescription xsi:type = "xsd:string" >Success</ responseDescription >
</ multiRef >
</ soapenv:Body >
</ soapenv:Envelope > |