Process Iflows in SAP PI with Non XML payloads

Facebooktwittergoogle_pluslinkedintumblr

From time to time, you will need to be processing messages that do not correspond to the XML that the Service Interface in SAP PI/PO wants. You may get an “Interface determination error” with the following text.

“Transmitting the message to endpoint   using connection REST_http://sap.com/xi/XI/System failed, due to: com.sap.aii.adapter.xi.routing.RoutingException: Unable to parse XML message payload to extract operation for receiver determinationorg.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.”

It could be JSON or a  plain binary file. In the ICO you could remove the Software Component. In Iflows you can select a dummy interface, but on it is not possible if you want to run a mapping. The solution is fairly simple, as always if you know it.

Just change the Service Interface to use the XI30 Compatible mode. Then it will not be parsed and the routing will work.


If this helped you please share the post. 

 

 

 

Facebooktwittergoogle_pluslinkedintumblr

Comments are closed.