We have a situation where we have to use Biztalk to request a batch XML file from a partners URL. We do not have to pass any XML but request the XML from a given URL with our static parameters included in the string. Eg. http://domain.com?param1=ourID
Can someone please give me an insight into the best practices to achieve this (adapter, port type, config etc).
I need to poll the URL at regular intervals to receive XML docs that will contain multiple messages.
Would the best solution be to create a long running orchestration looping at a set time interval, and receiving the XML documents for processing by another orchestration? Probably with a solicit-response port by passing a dummy XML document to the URL, enabling me to receive the partners XML?
I wouldn’t use a long running orchestration. You would need to implement some message at an interval to start this orchestration, you never know when it may stop. You might as well use this trigger to initiate a short running orchestration to down load the file.
Another consideration is the Http method being used. Are you using a GET or a POST? If you can browse to the file using a browser then it is probably a GET. The HTTP adapter does not support Http GET only Http POST. The scheduled task adapter has an HttpDownload task that will perform an Http GET to download a file.