on 12-22-2015 10:21 AM
Hi team,
I am trying to do a Synchronous Scenario, where the Proxy calls my PI Interface and I pick the file from FTP load it and send data in the response of Proxy.
Here while Creating it, The Proxy channel needs to be an Sender channel and also the File Channel needs to be an Sender channel to pick the file.
How do I implement this Scenario?
Thank you.
Hi Pranay,
You have two options:
1. File lookup:
2. Sync/Async brigge
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pranay,
The best solution more standard is to use the bridges, but there are available from PI 7.0, , however i haven't so clear if you can use an ABAP adapter (proxy adapter) in PI 7.1 version to work with bridges, may be another SCN member can help with this specific question.
The first option (file lookup) needs java development, and this question can be problematic in further upgrades of the PI, in this case you are using a non standard solution.
Also you can think to do the the next, if you don't need to know the name of the file:
1. To have a file to proxy scenario.
2. From abap code start the scenario to pick up the files
Another question that it can do easy or hard your scenario:
1. Is the file in XML?
2. Do you have to send the file proxy via attachment, base64 or you want to transform to an XML?
3. Does The abap sender side the name of the file or it can search all the available files?
Regards.
Hi Inaki,
Thank you for the response,
1. Is the file in XML? - No I am using Standard File Conversion available in the File adapter
2. Do you have to send the file proxy via attachment, base64 or you want to transform to an XML? - Transform to XML and send the date in the Proxy Output table
3. Does The abap sender side the name of the file or it can search all the available files? - There will be only two files available in the folder at any point of time and I need to process both the files in two Similar scenarios.
The Switch option sounds intresting, will look into that one.
Hi Pranay,
One other option if you are on a high enough level is to try using the REST adapter to read the files as resources. However, you have to have the same FTP system capable of answering the REST requests and then triggering the reading of the files. I have done this in one other prototype where I needed to be able to ready proxy to file (create mode) synchronously.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.