Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

WDM21 - Deserialize Show Stopper (4 replies)

$
0
0
Hi All

I am needing some advice on deserialization with mobile apps. These apps collect data from a web service [also written in WX]. The data is serialized on server side and de-serialized on the app when received. If there is no data to send from the server side then a message is received and no de-serialisation is triggered. If data is send then the de-serialisation is triggered. And here is the problem. Not often but sometimes there is data but the de-serialization fails. And here is the rub - the same device when collecting the data again straight after the failure will successfully get the data and de-serialize it. I have absolutely no idea if the serialisation is failing on the server or the packet is somehow broken before being received by the device. What I am looking for are checks to make sure that the data can be de-serialised before actually attempting to de-serialize it. The error that de-serialisation has failed is traumatic to the end user. Is there anyway to supress the error message on the device or do an integrity test to see if the data can be de-serialised. The format is always xml. The error is Wrong serialization format. There is always only one format used. I am guessing that something has gone wrong when collecting the data.

Any ideas?

Cheers
André


Cheers
André

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>