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

IMP 11.5 SOAP request | Invalid

athapaCisco
Level 1
Level 1

All,

My goal is to get presence for Users using Presence Web Services(PWS) but I am stuck at Step 1.

I am using Postman to test this out ,

URL: https://<MY IMP SERVER IP>:8083/presence-service/soap

Request: 

      Header: Content-Type : application/xml or application/soap+xml

       Body:

     

<?xml version="1.0" encoding="http://www.w3.org/2003/05/soap-envelope" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
    <soapenv:Body>
        <login xmlns="urn:cisco:cup:presence:soap" force="true">
            <username>"my admin User ID"</username>
            <password>"my admin password"</password>
        </login>
    </soapenv:Body>
</soapenv:Envelope>

I am using my admin/password on the username/password tags. I can login with that ID on IMP admin page.

This is the response I get -  as you can see invalid login so no session key

 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cup="urn:cisco:cup:presence:soap">
    <SOAP-ENV:Body>
        <SOAP-ENV:Fault>
            <SOAP-ENV:Code>
                <SOAP-ENV:Value>SOAP-ENV:Sender</SOAP-ENV:Value>
            </SOAP-ENV:Code>
            <SOAP-ENV:Reason>
                <SOAP-ENV:Text>Failed to login user</SOAP-ENV:Text>
            </SOAP-ENV:Reason>
            <SOAP-ENV:Detail>
                <description xmlns="urn:cisco:cup:presence:soap">
                    <code>114</code>
                    <message>Failed to login user</message>
                    <fix>Ensure the login data is valid</fix>
                </description>
            </SOAP-ENV:Detail>
        </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

 

Thanks,

AJ

0 Replies 0
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: