HTTP XML Request from URL

Home Page Forums BizTalk 2004 – BizTalk 2010 HTTP XML Request from URL

Viewing 1 reply thread
  • Author
    Posts
    • #25640

      Hi,

      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).

      Thanks.

    • #25645

      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?

      Any response appreciated.

      • #25650

        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.

        There are a number of scheduling patterns available: http://geekswithblogs.net/michaelstephenson/archive/2008/05/16/122203.aspx
        I use the Scheduled Task Adapter here: http://biztalkscheduledtask.codeplex.com/

        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.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.