on 05-20-2008 11:07 AM
Hi ,
I have a scenario where I am downloading the reasposne file to a local file through a receiver file adapter.
Here I need to populate the foldername based on sender_service.
1.When I use the folder name statically it is working.
like --->
Target Directory: /XI/IP_COMPASS/RESPONSE
My resulting structure look like this...
<?xml version="1.0" encoding="utf-8" ?>
- <nr1:FIDOC_XI_MSG xmlns:nr1="urn:xi:liberty:fi:interface">
<PROCESSID>0001</PROCESSID>
<SENDER_SERVICE>IP_COMPASS</SENDER_SERVICE>
- <MESSAGES>
- <ITEM>
<MSGTYP>E</MSGTYP>
<MESSTXT>Account invalid 71143 S LLAL</MESSTXT>
</ITEM>
</MESSAGES>
</nr1:FIDOC_XI_MSG>
2.For the above structure I wanted use the variable subtitution like this
Target Directory: /XI/%folder%/RESPONSE
folder....> payload:FIDOC_XI_MSG,1,SENDER_SERVICE,1
or
folder....> message:sender_service
I tried both the options but no file i sdownloaded.
How can I verify what is going wrong with this?
Thanks in advance...
Edited by: raju sdn on May 20, 2008 12:12 PM
Hi,
Follow this links it really help to you
/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi have entered %folder%.xml as the filename in the filename Scheme field.
regards
chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,,
Your message:sender_service will return only SID of that
please check it (X20, X30) etc.
under variable substitution
*****************************
var1=message:sender_service
File access parameter
**************************
target dir=/XI/%var1%/RESPONSE/
hence your target dir would be
/xi/x30/RESPONSE/
/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
Hi,
Have a look into this blog.
It will help you with what you want exactly.
/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
Regards
Aashish Sinha
PS : reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.