Using Http Receive Adapter

Home Page Forums BizTalk 2004 – BizTalk 2010 Using Http Receive Adapter

Viewing 1 reply thread
  • Author
    Posts
    • #17447

      hi everybody,

      can anyone please point me (or maybe provide) to a sample of how to post an xml message into a receive adapter. I have already configured IIS and created my virtual directory…the remaining step which i do not know is how to actually issue an http post which holds my xml document into my virtual directory.

      thanks in advance 

    • #17448

      You can do this using HttpWebRequest. There are lots of samples around the net for that (here's one, though not the best: http://www.netomatix.com/Development/XmlWebRequest.aspx).

      • #17449

        thanks for your reply. the sample was helpful.

        i was wonder though if there is a possibility to create a simple html page, insert my xml inside the form tag, set  form action url to my virtual directory, and then post the page via html submit button? Is that possible?

        thanks again…

        • #17451

          Yes it is possible.

          BUT.

          The message your receive is not the xml message. You will receive an application/www-form-urlencoded message which is basically a flat file of name/value pairs.

          I have a generic project with schemas, maps and pipelines that will convert application/www-form-urlencoded messages into Xml, if you would like a copy email me.

          You could also create a custom pipeline component to decode/disassemble this message

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