on 02-02-2016 4:37 PM
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?
Hi,
That is because the system is going to execute the receiver determination to figure out where it should go before any operation mapping is executed as the operation mapping can differ per receiver. You would have to setup your mapping to transform the message into some form of XML or you might be able to use the dummy ESR interface concept to get it to trigger your mapping as well.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The one thing that should work is creating a dummy ESR interface as XI 3.0 compatible and setting that up as the source for your java mapping with whatever target you require. Then in your configuration set the dummy interface as your source and in the operation mapping.
Regards,
Ryan Crosby
Thanks Ryan,
You are correct. I have made the out bound interface under the operation mapping as NONEXIST and it was worked as expected. I mean no need to create any service interface with NONEXIST. Just simply mention NONEXIST under outboun service interface at operation mapping and it worked.
Thanks for the hint
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.