DTD/XSD NamespaceConversion Is Not Converting To DTD XML

(Doc ID 2383805.1)

Last updated on APRIL 13, 2018

Applies to:

Oracle SOA Suite - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 version, B2B Engine

Can B2B 12c add the following DocType tag in the syncResponse ?

<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd">

Here is the flow

a. Trading Partner sends a custom document (cXML) to B2B via syncReceiver.
b. The inbound message is successfully processed and sent to backend composite.
c. BPEL Process receives the XML and adds payload Id in the response.
d. The response is sent to B2B in the outbound.
e. B2B receives the XML and sends the payload to Trading Partner successfully (SyncResponse)
f. The issue is the outbound XML payload that is sent to trading partner does not contain the following tag.

<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd">


Expected
---------------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd">
<cXML payloadID="{YourPayloadId Here}" timestamp="{CurrentTimestamp}" version="1.2.007">
<Response>
<Status code="200" text="OK" />
</Response>
</cXML>

Current
------------
<?xml version="1.0" encoding="UTF-8"?>

<cXML payloadID="{YourPayloadId Here}" timestamp="{CurrentTimestamp}" version="1.2.007">
<Response>
<Status code="200" text="OK" />
</Response>
</cXML>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms