on 09-24-2009 6:40 PM
Hi,
My interface has to send data to a third party system through the Seeburger AS2 adapter.
The AS2 subject has to be dynamic and depends on a particular node in the incoming message
I kknow I can use dynamic configuration for setting the subject but my mapping is 1 to N mapping and hence cant use dynamic configuration
Any suggestions on how the AS2 subject can be set dyanmically from the payload itself in stead of setting the dynamic configuratio parameters??
Thanks
Bharath
Use the AttribMapper which comes with your AS2 delivery (see the modules manual). If you add the AttribMapper to your communication channel (receiver) right before your AS2 adapter, you can set the subject dynamically by using
key: http://seeburger.com/xi/AS2/dtSubject
value: "MySubject"
-> for a fixed value
or take it from another dynamic attribute:
value: http://sap.com/xi/XI/System/File/FileName
(as an example)
If you are using the SEEBURGER BIC module to map from XML<->EDI you may use this module to extract the desired value and add it to the XI Message as dynamic configuration property using the mapping output parameter.
Edited by: Frederic Bitsch on Sep 25, 2009 1:47 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Frederic,
Many thanks for your help.
However I have a small constraint here.. I will not be in a position to use dynamic configuraiton parameters since my mapping is 1 to N
I have the same problem as this []
So is there any way to set the AS2 subject dynamically without using dynamic configuration parameters
(like say take the value from a contxt object or from one of the nodes in the outgoing payload ..)
Thanks
Bharath
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.