OIC Gen3 B2B: Need to send no-namespace XML - B2B Generate Document always injects B2B namespace
Environment:
- Oracle Integration Cloud Gen3
- B2B: Custom XML document
- Transport: SFTP (outbound)
Business requirement:
Trading partner requires an XML payload without any namespaces. Example of required payload:
<PurchaseOrders messagebatch-id="TEST1234">
<partnerID>sender</partnerID>
<messageCount>1</messageCount>
</PurchaseOrders>
What I built:
- Custom XSD for the XML payload:
- No targetNamespace
- elementFormDefault="unqualified", attributeFormDefault="unqualified"
- Created a new B2B Schema from this XSD.
- Created a new B2B Document using this schema.
- Created a new Trading Partner and Agreement (outbound via SFTP).
- In the integration, used B2B action to Generate the "Document/EDI" to create the XML and send.
Problem:
Despite the XSD having no targetNamespace, the payload generated by the B2B action “Generate Outbound Document” action still includes a document namespace/prefix:
0