on 01-29-2010 8:06 PM
Hi Guys,
I have File -> AS2 scenario. I want to have the file name on the AS2 receiver same as sender File adapter.
1. I have checked the ASMA on the sender side with the File name option checked
2. I have checked the dynamic attributes in the AS2 receiver with the file name option checked. I have also checked the option Fail the message if ASMA is missing.
Currently I dont have any IR objects so i can't do a UDF. The message is failing with the below error
Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: com.seeburger.xi.connector.queue.TaskBuildException: Mandatory attribute dtAS2FileName is not present in XI message., Mandatory attribute dtAS2FileName is not present in XI message
How can i get the same file name from the file sender to the AS2 receiver? any help or suggestions would be appreciated
Thanks,
Srini
Hi
You can not use ASMA for third party adapters, better way is by java mapping.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivas,
It is not a direct mapping between the File Adapter file name and AS2 adapter file name. You have to do it manually. This is because the attributes are from different contexts. In general scenarios, you normally do the mapping using IR either Mesage mapping UDF or Java Mapping, etc... But in case you do not want to use IR objects, then you will have to write an adapter module for changing the attributes. It is very simple.
Cheers,
Sarath.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
Thanks for the quick reply. Seeburger has different modules to extarct the values dynamically. They have a Attributemapper module with the help of which you can retreive the file name dynamically but somehow it is not getting mapped to the target file name.
I am able to see clearly in the Audit Log File that the received file name is same as sender file name but it is not getting mapped to the AS2 file name.
any links to the Java mapping to rereive the file name would be appreciated
Thanks,
Srini
Hi Hari,
You need to use the attribute mapper module to map the sender file name.
1. set the ASMA in the sender channel
2. check dynamic attributes in the receiver AS2 adapter and check the file name
3. use Attribute Mapper in the module tab
4. Map the received file name to the dtAS2 file name is the configuration
Please let me know if anything is not clear so that i can explain you more briefly.
Thanks,
Srini
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.