cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
661
Views
10
Helpful
6
Replies
r.kloth
Beginner

Presence API - Validation constraint violation in getPolledPresence in Version 14.0

We installed the new version of the Cisco Unified CM IM and Presence Server (System version: 14.0.1.10000-16) and ran into a problem with the call "getPolledPresence" which returns an error "Validation constraint violation: value range or content length violation in element 'urn:contact'". I could not find any problem with the call and in version 12.5 there was no problem with this call.

 

Here is the request we send:

soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/ xmlns:urn="urn:cisco:cup:presence:soap">

    <soapenv:Header>

        <urn:session-key>551e376c-13b-44f32be3-312c-7</urn:session-key>

    </soapenv:Header>

    <soapenv:Body>

        <urn:getPolledPresence>

            <urn:contactsList>

                <urn:contact contactURI=alina.solo@test.abc.com />

            </urn:contactsList>

            <urn:presenceType>RICH_PRESENCE</urn:presenceType>

        </urn:getPolledPresence>

    </soapenv:Body>

</soapenv:Envelope>

 

And this is the response received:

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/ xmlns:SOAP-ENC=http://schemas.xmlsoap.org/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>

            <faultcode>SOAP-ENV:Client</faultcode>

            <faultstring>Validation constraint violation: value range or content length violation in element 'urn:contact'</faultstring>

        </SOAP-ENV:Fault>

    </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

I downloaded the WSDL file from the server and could not find any problem!

 

Does someone have a similar problem or is this known as a problem in the version 14.0?

 

Thanks.

6 REPLIES 6
tobias.heeb
Beginner

I have the same problem.

Did you solve it somehow?

 

Many Thanks

No, the issue is not resolved so far.

Cisco has filed a defect (CSCvz26720) but did not make a fix and has not outlined a time plan when it will be fixed

I'm still waiting the defect to be reolved.

Cisco noted in the Bug CSCvz26720 that it should be fixed in the Versions:

- CUP.014.000(001.11900.006)

- CUP.014.000(001.11000.179)

 

I haven't checked it so far. Maybe this will help you.

Cisco has now a fix for the problem and I could successfully test it with the version: CUP 14.0.1.11900-9

tobias.heeb
Beginner

That's good news!

I will test it in my lab too.

Did you also test the subscribed presence?

Not sure what exactly you mean.

We use:

  • registerEndPoint
  • subscribe
  • getPolledPresence
  • getSubscribedPresence

So we register to be notified for presence changes and this works fine.

Create
Recognize Your Peers
Content for Community-Ad