on 10-27-2017 12:09 PM
Hi community,
ich have an issue with REST Receiver Adapter and XML to JSON conversion. I have the following XML:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:MT_ExportQueues xmlns:ns1="XXX">
<export>
<entry>
<type>Article</type>
<identifier>000000000010101041</identifier>
</entry>
</export>
<export>
<entry>
<type>Article</type>
<identifier>000000000010083175</identifier>
</entry>
</export>
</ns1:MT_ExportQueues>
No i want convert this with REST Adapter to following JSON:
[{
"entry": {
"type": "Article",
"identifier": "000000000010101041"
}
}, {
"entry": {
"type": "Article",
"identifier": "000000000010083175"
}
}
]
Have you an idea how i can make this. Or what i have to change so it works.
At the moment i have following result:
{
"export": [{
"entry": {
"type": "Article",
"identifier": "000000000010101041"
}
}, {
"entry": {
"type": "Article",
"identifier": "000000000010083175"
}
}
]
}
Regards,
Marcus
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.