Jul 20, 2012 at 12:58 PM
Edited Jul 20, 2012 at 4:20 PM
Hi Rob, thank you very much for your reply.
Following your suggestion, I tested by modifying the "info" string in my android app to include the "thing-id" tag and tried again using the one command:
PutThings (v2) // info string has thing-id
instead of the two commands:
RemoveThings // info string has thing-id
PutThings (v2) // info string doesn't have thing-id
But the server didn't like it:
The XML request format is invalid. --
The element 'thing' has invalid child element 'thing-id'. List of possible elements expected:
'thing-state, flags, eff-date, created, updated, data-xml, blob-payload, eff-permissions, tags, signature-info'.
(Everything I'm doing is based on my (possibly erroneous) understanding that android is a bit behind the curve and is unable to use the technique demonstrated
in a separate discussion topic on this forum of building up e.g. a "GetThingsRequest" object. So instead I am building up the "info" request string manually as per the "Weighter" sample android app -- apologies if my
approach is fundamentally flawed!)
Thank you again