Skip to Content
0
Feb 02, 2016 at 04:37 PM

Extended Receiver Determination with Raw text file as source

67 Views

Hi All,

We are working on flow, SFTP to JDBC,FTP (Extended Receiver Determination), during the extended receiver determination, I have called the java mapping under operation mapping, under the java map, it has to check the JDBC lookup for that file validation if every thing is fine it has to send the file to both receivers and the respective interface determinations.

But when I execute end to end, my interface is failing at receiver determination error as below:

"Error when determining the receiver: Problem while determining receivers using interface mapping: Error while determining root tag of XML: ORDA/charset detection failed Problem while determining receivers using interface mapping: Error while determining root tag of XML:



But when I check my operation mapping stand alone test, it is successfully working fine. As I took the outbound service interface as raw text file and inbound interface as the standard BASIS component. I am working this on PI 7.3 dual stack.


About my java mapping, I simply getting the raw text content as input stream and reading the first line for the JDBC lookup. If my JDBC lookup is success then it will goes to the predefined xml structure which is same as standard Receivers service interface.



So here my doubt is, extended receiver determination with operational mapping (under it has java mapping) only works for XML file (XPATH)? or it suppose to work for raw text files at source?