We installed the new version of the Cisco Unified CM IM and Presence Server (System version: 22.214.171.12400-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">
<urn:contact contactURIemail@example.com />
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">
<faultstring>Validation constraint violation: value range or content length violation in element 'urn:contact'</faultstring>
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?
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:
I haven't checked it so far. Maybe this will help you.
Not sure what exactly you mean.
So we register to be notified for presence changes and this works fine.