SOA 11g: BPEL Process using Ora:readBinaryfromFile Function Always Returns Content Type as text/plain Instead of Actual Content Type
Last updated on OCTOBER 28, 2013
Applies to:Oracle SOA Suite - Version 188.8.131.52.0 to 184.108.40.206.0 [Release 11gR1]
Information in this document applies to any platform.
BPEL Process using Ora:readBinaryfromFile Function always returns content type as text/plain instead of actual content type.
For example : Composite has a BPEL process which reads a pdf from a physical location by using Ora:readBinaryfromFile Function and later assigns it to an output variable in the BPEL response.
In the SOAP response we will get the content type as text/plain instead of application/pdf.
using Xpath function Ora:readBinaryfromFile
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