I’m bit confused about how PLSQL method works for inbound messages with binary data (eg: incoming PDF)
My interpretation of the documentation is that the IFS framework will encode input binary file to base64, placed in the BIN_DATA attribute of framework generated XML; thus the input of the PLSQL method is an XML.
Both examples in the documentation were also written considering that the input is a XML
However, my experience was that input clob for the PL SQL method is actual file data instead of a XML.
Am I confused with the documentation or is is there anything I have missed?
Example Function just return the input:
Application Message with Message Response PDF
My assumption was the response would be a XML with encoded file data; instead it’s actual input file
Cheers!
Damith
Best answer by dsj
It was a NOOB mistake and found the answer.
Documentation and the functionality works as it should.
I was trying to return the input ‘thinking’ I should get the framework created XML but what happens under the hood is since the return message has the BINARY_PARAMETER/BIN_DATA element, framework extracts the binary file and send as output.
For someone who’s curious, here’s how the input XML clob looks like
Documentation and the functionality works as it should.
I was trying to return the input ‘thinking’ I should get the framework created XML but what happens under the hood is since the return message has the BINARY_PARAMETER/BIN_DATA element, framework extracts the binary file and send as output.
For someone who’s curious, here’s how the input XML clob looks like
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.