BizTalk XML to JSON Pipeline - Force JSON array even without a schema target namespace

379 Views Asked by At

Coming from this question: Conversion of XML Schema to JSON array list in Biztalk

We have the same situation: Our XML needs to be converted to JSON and we have child objects which can occur one or multiple times which must always result in a JSON array.

The problem is that we are not able to set a target namespace because our schema is generated by SAP (IDoc).

Are there other options to do the serialization? I would like to avoid a custom implementation for JSON serialization.

1

There are 1 best solutions below

0
On BEST ANSWER

Create an internal BizTalk schema with a target namespace and map the SAP payload to that.