Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Request message with MIME boundary rejected by pipeline | OSB 12c

User_PAY4OFeb 2 2023

I am using Oracle OSB and Weblogic 12c. XML version is 1.0.

I have an interface (proxy service + pipeline) that can recieve incoming request messages from backend party.The first pipeline has a route to a business service that eventually routes the message to a JMS queue. From this point the message should be picked up by the next pipeline, but instead the pipeline throws an error with the following message:

Caused by: org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA ................Caused by: org.xml.sax.SAXParseException; systemId: file:; lineNumber: 1; columnNumber: 1; Illegal XML character: 0x10

The message on the queue looks like this:

MIME-Version: 1.0
Content-Type: multipart/related; boundary=MIME_Boundary; 
	start="<a208a13.N345f2f7.N5d.1860841228b.N7ffe>"; type="text/xml"

--MIME_Boundary
Content-ID: <a208a13.N345f2f7.N5d.1860841228b.N7ffe>
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: 8bit

<?xml version="1.0" encoding="UTF-8"?>
<ns0:Invoice xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:ns0="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2">

dummy text
dummy text
dummy text
dummy text
dummy text
dummy text

--MIME_Boundary--

Due to privacy reasons I have left out the middle of the message. The pipeline rejects the message due to the MIME boundary. Why is that? And how can I make this work?

Comments
Post Details
Added on Feb 2 2023
1 comment
356 views