Page 1 of 1

Array --> XML --> POST request

Posted: Tue Jan 19, 2016 1:49 am
by Henry

I have an array of objects. I am using the Appery data mapper (the visual mapper) to format these for an XML post request.

Let's say the object has three items.

When the XML is mapped. The output is:
code

<0>
<ITEM1></ITEM1>
</0>

<1>
<ITEM2></ITEM2>
</1>

<2>
<ITEM3></ITEM3>
<3>

/code
I wish to have this

code

<ITEM1>
<ITEM2>
<ITEM3>

/code
How can I alter the config to make this a reality?


Array --> XML --> POST request

Posted: Tue Jan 19, 2016 10:24 am
by Serhii Kulibaba

Hello,

Appery.io parse automatically XML to JSON, so you can proccess that data with custom JS.
What is Response Data Type in this service? Is it XML?


Array --> XML --> POST request

Posted: Wed Jan 20, 2016 4:49 am
by Henry

Hello Sergiy.

I ended up using a custom JS solution.

Thank you in any case.