Author Message
NaikAshok
Joined: Jan 29, 2008
Messages: 0
Offline
Hi ,
I was trying the below subscribePresence WSDL example and got the below error :
<messageId>SVC0002</messageId>
<text>Invalid input value for message part %1</text>

.
Any suggestions for corrections?

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:loc="http://www.csapi.org/schema/parlayx/presence/consumer/v3_2/local">
<soapenv:Header/>
<soapenv:Body>
<loc:subscribePresence>
<loc:watcher>tel:1701</loc:watcher>
<loc:presentities>tel:1702</loc:presentities>
<loc:attributes></loc:attributes>
<loc:application>NULL</loc:application>
<loc:reference>
<endpoint>NULL</endpoint>
<interfaceName>NULL</interfaceName>
<correlator>NULL</correlator>
</loc:reference>
</loc:subscribePresence>
</soapenv:Body>
</soapenv:Envelope>
JohnMacAuley2
Joined: Nov 11, 2010
Messages: 0
Offline
Hello Naik,

First issue is you have specified the element "<loc:attributes></loc:attributes>" but did not put in a valid enumeration for the type. If you don't want to specify a attribute then do not include an empty element.

The next problem is the "<endpoint>NULL</endpoint>" element. the string "NULL" is not a valid URI.

John
Go to:   
Mobile view