on 04-27-2010 12:05 PM
Hi experts,
I am currently testing the following scenario:
xml file -> file sender ->file receiver -> csv file
No mapping is used. Both channels are on the same PI 7.1 system.
The transformation seems to work so far. The only problem I have is that my receiver channel does not post the message to the directory because of this error:
Delivering the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException: Message Id f167e134-145e-4b2c-2d47-e431b8b34fd8(INBOUND) already exists in duplicate check table: com.sap.sql.DuplicateKeyException: [200]: Duplicate key.
Is it not possible to use file sender and file receiver in the same scenario? Thanks for any help.
Best regards.
Oliver.
Hello!
This seems to be due to the incorrect module configuration in the receiver channel.
Kindly correct the same and retry your scenario.
Regards,
Caio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
this is my module configuration.
Transform.Class - com.sap.aii.messaging.adapter.Conversion
Transform.ContentType - text/plain;charset=utf-8
xml.addHeaderLine - 0
xml.conversionType - SimpleXML2Plain
xml.endSeparator - 'nl'
xml.fieldSeparator - ;
Well, if there is an error please let me know.
Best regards.
Oliver Barnert.
HI,
I belive there is a adpater module which is avoid the same file name processed by the receiver channel. And i think there is table which is having all the filenames already processed.
If this is the case change the filename and retest flow otherwise remove the module from the channel check it whether the file getting processed or not
Regards,
Balaji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oliver,
do you have transferred the same message twice (without archiving & deletion)?
That could be the reason.
Just put a new file into you source directory and try again.
Cheers,
André
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi André,
I am using the test option so the message can be processed multiple times. Anyway, I also tried using deletion but I still get the same error. I also tried a completely new file but still no change. When I check the comm channel I see that there is always created a new message id and when I search the rwb it posts two entries. One from the sender step and one from the receiver step. Seems to be alright to me.
Regards.
Oliver.
> Is it not possible to use file sender and file receiver in the same scenario?
Sure you can. This is not the reason for your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.