File fetch from external souce... http adapter, file adapter, or...
Hi - Hopefully this is a straight-forward question. I need to fetch a file from an external source (vendor) using a url that they provided us. Secondly, the url and file change each run. Here is the scenario:
- our side (PI 7.11) calls their webservice A to tell them to generate a report, and a report handle id is passed back to us (this part works)
- our side (PI 7.11) calls their webservice B with that report id to get a https url string (this part works). E.g. return url is https://pvab70barp.companyb.com/reports/ODbsPPSBIQxPs/u1/u1_1307128013471215.csv
- our side (PI 7.11) then needs to go fetch the contents of that file... again, the file is over at their site
The next time we run this we would get an entirely different url string
So to solve #1, it seems to me that the HTTP adapter can be used (can it be used though given the url is https?). I don't think FILE adapter can be used as I believe it needs the file to reside on the local file system.
To solve #2, it appears some dynamic configuration of the url is needed. Is their an easy way?
If anyone has thoughts on these then I would appreciate hearing back from you with your comments. I have not worked with either of these adapters yet.