Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Configuring receive location for HTTP adapter
- This topic has 3 replies, 1 voice, and was last updated 8 years, 3 months ago by
community-content.
-
AuthorPosts
-
-
May 31, 2006 at 3:09 PM #13746
Hi. This is such a simple thing, I’m sure, but I haven’t used web servers before so it’s new to me.
I want to configure a receive location on my web server for the HTTP adapter. I have set up IIS with my ISAPI extension for BTSHTTPReceive.dll. I have a little .NET app that will post an XML file to the URI I want to use.
I’m fairly certain I haven’t specified the \”Virtual directory plus ISAPI extension\” and/or the \”Public Address\” correctly in the receive location. Either that, or I haven’t got the permissions set right on the URI. I have set up a virtual directory c:/TestPost on my server. I’ve designated it on port 55. My app can hit it by specifying \”http://localhost:55\”.
So how do I configure the receive location?
I’ve tried a few things, but the most logical seemed to me to be–
[b:5092f69c07]Virtual directory plus….:[/b:5092f69c07] /MyWebSiteName/TestPost/BTSHTTPReceive.dll
[b:5092f69c07]Public Address:[/b:5092f69c07] http://localhost:55Even if I remove the \”MyWebSiteName\” from above, the BizTalk solution is not picking anything up. There are no errors in the Event Viewer. Can someone advise me as to where I’ve missed something? Thanks!
-
May 31, 2006 at 3:27 PM #13747
The best way to get this to work is to install the SDK http sample. When you install that examle the example adds a com+ applictation to the IIS and it’s needed to make the HTTP adapter to work. After installing the example you can unistall it because the com+ application is still there.
If you look at this installion guide and do exactly as that it will work:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdk/htm/ebiz_sdk_samples_yzhk.aspDon’t forget to add a new httpadapter in the iis to afflict your envierment.
-
May 31, 2006 at 11:47 PM #13748
That’s good advice–I had just been starting to try out the sample. I figured out how to configure the adapter based on the sample. So I’m now doing my HTTP Post to the URI, but now I have a new problem. I believe the BTSHTTPReceive.dll is picking up the XML file I’m posting, however, it’s not recognizing the subscription even though I know this XML file validates against the schema I’m using in my solution.
So I’m wondering if someone can explain to me a bit better as to how the message body is created from the file I post. I’ve got this from MSDN:
[quote:c8ade47b10]Selection of the content for the body part depends on the type of the HTTP request. For HTTP POST requests, the HTTP receive adapter associates the HTTP body content with the body part of the BizTalk Message object.[/quote:c8ade47b10]So do I take this to mean that I don’t need any kind of envelope or something around my message in my XML file–the adapter will take it as is and associate it directly with the message type created from the schema I used in my BTS solution?
Thanks!!! I appreciate everyone’s time on this excellent forum.
-
June 1, 2006 at 12:30 AM #13749
Whoops. I was using the PassThru pipeline instead of XMLReceive. Sorry!
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.