on 10-07-2008 5:34 PM
Hi experts,
I have the following scenario and I don't know if the File Adapter allows me to do.
- We have a system that execute Webservices.
- On the other hand, we have a file system that manages a files to consult.
We need to call the Webservice, and the response of this, has to be the data that contain the file.
I know that the File Adapter in mode Receiver is for writing files. How can I make it for reading?
¿Any ideas for implement the scenario? ¿BPM? ¿File Adapter in mode Sender with file name variable?...
Thanks,
Jose.
Thank you all for the help,
It's essentially a synchronous scenario.
Webservice Client -
>(SOAP Sender Adapter) XI (File Receiver Adapter) -
> FileSystem
But, I know that the goal of the File Adapter in Receiver mode is to write files and not return a response.
We need is that the File Adapter return the contents of this file and mapping with the response to Webservice Client.
Thanks,
Jose.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Based upon what i understand of your requirement
>>How can I make it for reading?
This can be done by a File lookup.
Please explain your scenario a bit more so that we can be of more help.
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jose
File adapter in sender mode can read a file
BPM will allow 1. get data from webservice. 2. deliver file to a system 3. read this file and deliver file to another system.
We need to call the Webservice, and the response of this, has to be the data that contain the file.
My understanding is you want to do
1. Invoke the webservice call to get data from source system
2. Deliver the file to a system which need file to consult
with this you also need a file to be generated based on the webservice call right ?
Thanks
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jose,
Yes this can be possible to use file adapter as sender. But for that you need to map the data in particular XML format so that it could be understandable by the message mapping when you want to use it for target message.
For example if the data is EDI, then you need to pass this data in X12 format to the XI and use the same format in the message mapping. So when it is picked by the PI, it knows how to treat that data.
Thanks
-Kulwant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your description does not make up a complete end to end scenario.
However, it look like this is a part of complete scenario:
You will need a sender system that send request message.
You will need a BPM to receive above message.
BPM will call webserive to get the response.
Out of the BPM: BPM will forward the response to integration engine
Integration engine will execute another mapping program: it will have UDF to open your file and read the file.
Comparing the result with your response from webservice.
If your file is located in the system other than application server, you will code your UDF like ftp client.
Check Java API for that type of use.
Based on the comparation, you can do whatever you want, or forward message to another system...
Regards !
Liang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.