Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
BlackBerry Development Advisor
RSperanza
Posts: 141
Registered: ‎03-08-2012
My Device: Z10
My Carrier: Bell

Re: Interminitent web response when making HTTPS REST call

From looking at the docs, I suspect it doesn't expect the metadata to be there.  The safest way to extract is to look for the characters "?>" and remove everything before it in the buffer. before using XMDataAccess to load it.

 

I would also check that the QVariant returned is actually a list.  It might not be depending on the tag structure in the data.

Please use plain text.
Contributor
ios_developer
Posts: 21
Registered: ‎05-28-2013
My Device: Z10
My Carrier: Telus

Re: Interminitent web response when making HTTPS REST call

Ya, I stripped out the <? ?> and the xmlns="" and use the pure xml in the code, XmlDataAccess serialize perfectly.

 

Now, i have to code to removing the extra stuff.

 

Tedious!!!

Please use plain text.