Skip to Content
0
Former Member
May 20, 2008 at 10:07 AM

Variable Substitution

28 Views

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