Hi All,
We have a scenario IDOC --> XML file on a file share. I created a free style data type for the XML message and the mapping objects. When I test the message mapping, every XML element gets the ns0 namespace before the tagname. The namespace prefix is ok to be mentioned on a root level, but not with every element. Can we configure something that this behavior is not occuring anymore?
Example current result:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:OrderCreateNotification xmlns:ns0="urn:mc-nl:procurement:boras:boras">
<ns0:OrderNumber>4550000037</ns0:OrderNumber>
<ns0:DocumentDate>20140722</ns0:DocumentDate>
<ns0:OrderItem>
<ns0:ItemNumber>00001</ns0:ItemNumber>
<ns0:Unit>ST</ns0:Unit>
<ns0:Quantity>100.000</ns0:Quantity>
<ns0:NettPrice>10000</ns0:NettPrice>
<ns0:PurchaseRequisitionItemNumber>00000</ns0:PurchaseRequisitionItemNumber>
<ns0:TaxRate>21.00</ns0:TaxRate>
</ns0:OrderItem>
</ns0:OrderCreateNotification>
I expected to have it like this:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:OrderCreateNotification xmlns:ns0="urn:mc-nl:procurement:boras:boras">
<OrderNumber>4550000037</OrderNumber>
<DocumentDate>20140722</DocumentDate>
<OrderItem>
<ItemNumber>00001</ItemNumber>
<Unit>ST</Unit>
<Quantity>100.000</Quantity>
<NettPrice>10000</NettPrice>
<PurchaseRequisitionItemNumber>00000</PurchaseRequisitionItemNumber>
<TaxRate>21.00</TaxRate>
</OrderItem>
</ns0:OrderCreateNotification>
With the data type it is possible to define the property "qualify schema", but it doesn't seem to do anything.
I know of the possibility to use the XML Anonimizer module, but I was hoping that we can configure this in a standard way.
kind regards,
Mark