I have a BPEL process that receives an XML fro Oracle Transportation Management and then forwards it onto a Tibco engine. The problem is it formats the XML with carriage returns and indenting (pretty-print)thus drastically increasing the size of the XML. We are not doing anything to manipulate the data just routing to the appropriate engine. Any settings that might be causing this?
Not sure but looks like some encoding issue.
- Are you able to see proper XML file before BPEL processes it?
- Are you able to transfer some dummy manually created XML file properly? This will diagnose if this is an issue with Transport Management system.
- Are you reading the file as Attachment or Opaque element or through Schema? If using attachment, are you using any character-set and encoding? I'd suggest using Attachment option for simple file move without any encoding or character-set options.
Please update on the above to look into this.