Hi, we’ve been developing an Android app for Xibo, and now we’re stuck trying to update the statistics. Here’s the following xml we’re sending to the server:
<tns:SubmitStats>
<type:hardwareKey xmlns:type="xsd:string">hardware_key_here</type:hardwareKey>
<type:serverKey xmlns:type="xsd:string">server_key_here</type:serverKey>
<type:statXml xmlns:type="xsd:string">
<stats>
<stat type="media" fromdt="2017-07-11T15:50:00+08:00" todt="2017-07-11T15:55:00+08:00" scheduleid="277" layoutid="28" mediaid="404"/>
</stats>
</type:statXml>
</tns:SubmitStats>
And here’s the response we’re getting:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>SOAP-ERROR: Encoding: Violation of encoding rules</faultstring>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
What are we doing wrong? Thanks in advance for the help!