Change XML encoding of the serializated iDoc (camel-sap)
Hello.
I'm using JBoss Fuse (6.3.0.redhat-187) with the camel-sap component (6.3.0.redhat-310 ). I have some camel routes to send and receive iDocs to a SAP system. To do that, I'm following the Redhat documentation about SAP Component
I am able to send and receive iDocs serializated to XML.
The problem is the prolog of the generated XML is always ASCII
<?xml version="1.0" encoding="ASCII"?>
and I don't know how to change it.
¿How I can change the encoding? ¿It is this a problem related to the camel-sap component or I should edit something in the SAP System?
Responses
I forwarded this question to one of our engineering experts on the Fuse team at Red Hat and this was his response: "The serialization format for an RFC message and IDoc document is internal and not modifiable. If the customer changes it there is no guarantee that the component’s data layer can process the modified serialized form."
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
