Biztalk 2004 HTTP adapter

Home Page Forums BizTalk 2004 – BizTalk 2010 Biztalk 2004 HTTP adapter

Viewing 1 reply thread
  • Author
    Posts
    • #17396
      Is it possible to connect to a web page that uses domain authentication + forms authentication, using biztalk http adapter? Biztalk server is 2004. When you configure the HTTP send port, you can specify only one set of credentials for Basic Authentication. I assume this would be domain user id/pwd. Where would one specify forms credentials or vice versa. Thx in advance.
    • #17426

      Not really.

      The HTTP adapter is not capable on maintaining a session for multiple sends. You would have to determine the session mechanism of the web site (cookies, hidden form field?)

      You will need an orchestration to send a login on message (a Form Post, effectively a flat file) that you would have to create. Then retrieve the session token from the resultant HMTL (you will have to write the code to parse the HTML). Once you have the session token you would be able to send another message.

      All this becomes very cumbersome in an orchestration. You could write a custom adapter that would perform the logon and send in one send.

      What is the purpose of logging on to the web site, are you sending or retrieving data? 

      • #17429

        Thanks for replying Greg. This will both send data & receive response from website. Do you know an example / sample somewhere that I can look.

        • #17430

          Sorry, I am not aware of any example.

          I tried to do this once but gave up. I found it was easier to convince the web site owner to provide a web service instead.

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