Originally posted by: Bottle1234
In our project, we have a scenario in which we will be receiving client files in a specific
folder.
We have a webservice which requires the filename as input to it and it provides us a response.
This service provides us different responses based on the filename.
So we have a scenario in which we need to feed-in the filename by reading it from the specific folder and
provide it to the webservice.
For this we have created a map which has one input card and 2 outputcards.
The input card should get the filename from the specified folder and pass it on to the first output card which creates the Request xml, which in turn is passed on to the 2nd output card which calls the webservice and generates a response.
The problem i am facing as of now is,i have hardcoded the filename value and passing it to the 1st output card, but my i/p card needs to fetch the filename every time a new file comes into the folder(i.e the filename will be changing dynamically).
How can i acheive this using wtx ????
If yes, can you please provide us some samples or provide a soln. for this.
Thanks in advance.
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender