Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

XML/JSON Array problem since new builder version

working with external xml resource now, but not with echo mode..

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

XML/JSON Array problem since new builder version

here is my echo example, with other data it works fine, also THIS xml is working from external url, but NOT from echo. any ideas? Image

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

XML/JSON Array problem since new builder version

I now cleaned up everything and started from blank. still not working with echo

Image

what am I doing wrong?

The mapped Labels still remain with "Label" not using XML Data.

this is public app link:
http://appery.io/app/mobile-frame?src...

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

XML/JSON Array problem since new builder version

UPDATE: it really seems to be a problem with ECHO mode and ARRAY which can be reproduced.

I used this XML

code
<?xml version="1&#46;0" encoding="ISO-8859-1"?>
<froot>
<knot>
<felge>
<fhersteller>
Artform
</fhersteller>
<fname>
AF-301 black
</fname>
<fbild>
files/views/assets/image/appdata/felgen/artform/af301black_front&#46;png
</fbild>
<fbild2>
files/views/assets/image/appdata/felgen/artform/af301black_seite&#46;png
</fbild2>
<fshop>
http:&#47;&#47;shop&#46;xxx-performance&#46;de/index&#46;php/felgen/artform/artform-af301&#46;html
</fshop>
</felge>
<felge>
<fhersteller>
Artform
</fhersteller>
<fname>
AF-301 black front polished
</fname>
<fbild>
files/views/assets/image/appdata/felgen/artform/af301polish_front&#46;png
</fbild>
<fbild2>
files/views/assets/image/appdata/felgen/artform/af301polish_seite&#46;png
</fbild2>
<fshop>
http:&#47;&#47;shop&#46;xxx-performance&#46;de/index&#46;php/felgen/artform/artform-af301&#46;html
</fshop>
</felge>
<felge>
<fhersteller>
Artform
</fhersteller>
<fname>
AF-302 gunmetal
</fname>
<fbild>
files/views/assets/image/appdata/felgen/artform/af302silver_front&#46;png
</fbild>
<fbild2>
files/views/assets/image/appdata/felgen/artform/af302silver_seite&#46;png
</fbild2>
<fshop>
http:&#47;&#47;shop&#46;xxx-performance&#46;de/index&#46;php/felgen/artform/artform-af302&#46;html
</fshop>
</felge>
</knot>
</froot>
/code

USING the array of "felge" (see screenshot, ex 1) it returns nothing. NOT using the array (same xml, just changed mapping) gives me the first entry of the xml. (ex 2) Image

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

XML/JSON Array problem since new builder version

how come that the array returns nothing? I dont see an error from my side here.

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

XML/JSON Array problem since new builder version

would pretty much appreciate urgent fix here. thank you

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

XML/JSON Array problem since new builder version

Timo, have you created response structure with echo mode data? Please press "Import as response" and try again.
Notice: you need recreate mappings after that

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

XML/JSON Array problem since new builder version

Hello Sergiy, i did, and remapped afterwards, didn't change a thing.

Although i get "Service response created successfully." message

Timo Sehrbruch
Posts: 0
Joined: Thu May 09, 2013 7:41 pm

XML/JSON Array problem since new builder version

I just tried something. Using the same datasource, I did the following (as shown in the screenshot).

I mapped the array to a grid, and the object to a label, this returns, as the last times, nothing (red).

BUT, just selecting the Object inside the array and mapping it to the header caption returns the first object (orange) Image

Return to “Issues”