|
Home > Archive > BizTalk Server General > January 2005 > HTTP Locations in BizTalk 2004
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
HTTP Locations in BizTalk 2004
|
|
| SriSamp 2005-01-24, 7:47 am |
| I've been trying a simple HTTP Adapter example, but am getting nowhere :-(
Here is what I want to achieve:
I need to have a simple .NET client application (not web based) that will
make a POST to a HTTP receive location. The orchestration will pick up the
XML document posted and then process it and finally return it back to the
same HTTP location so that the .NET client can pick up the response.
Given the above, here is what I tried:
(1) Configure a virtual path for the HTTPRECEIVE directory in the BizTalk
2004 folder where the BTSHTTPReceive.DLL is present.
(2) Developed a simple orchestration that listens to the above virtual path
and then returns back the XML to the same path.
(3) Wrote a .NET client to post a simple XML to the above virtual path.
(4) Started the orchestration and the .NET client
I keep constantly getting an "Internal Server Error" when the program runs.
Not sure why, since I configured the HTTP receive location based on the
steps given in the online help (note that this sample is based on the
HTTPRequestReceive SDK sample).
Also, if I need to configure multiple HTTP receive locations, I can define
other virtual directories, right? Should I also need to copy the
BTSHTTPReceive.DLL file into these folders are well? The online help says
not to do it and I'm not able to configure multiple applications to have the
same HTTP receive port. What should be done here? How does one go about
doing this?
--
HTH,
SriSamp
Please reply to the whole group only!
http://www32.brinkster.com/srisamp
| |
| WenJun Zhang[msft] 2005-01-25, 7:48 am |
| Hi SriSamp,
The 500 "Internal Server Error" is probably the most common error
message we may receive when using the HTTP adapter. There are various
of approaches to start out the troubleshooting, but I'd recommend the
most direct and effective way is to check the system event -
application log. Biztalk should write the detailed info of HTTP
receive adapter and Messaging Engine failures in it. If you got some
messages like:
Best regards,
WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! - www.microsoft.com/security
| |
| SriSamp 2005-01-25, 7:48 am |
| Were you intending to paste some sample messages? I cannot see the message
after the line "If you got some messages like:....."
Do you mean the event viewer? If so, I checked it, but it had no errors
logged.
--
HTH,
SriSamp
Please reply to the whole group only!
http://www32.brinkster.com/srisamp
""WenJun Zhang[msft]"" <v-wzhang@online.microsoft.com> wrote in message
news:eIbVCItAFHA.768@cpmsftngxa10.phx.gbl...
> Hi SriSamp,
>
> The 500 "Internal Server Error" is probably the most common error
> message we may receive when using the HTTP adapter. There are various
> of approaches to start out the troubleshooting, but I'd recommend the
> most direct and effective way is to check the system event -
> application log. Biztalk should write the detailed info of HTTP
> receive adapter and Messaging Engine failures in it. If you got some
> messages like:
>
>
>
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Support
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Get Secure! - www.microsoft.com/security
>
| |
| WenJun Zhang[msft] 2005-01-25, 7:48 am |
| Hi SriSamp,
The 500 "Internal Server Error" is probably the most common error
message we may receive when using the HTTP adapter. There are various
of approaches to start out the troubleshooting, but I'd recommend the
most direct and effective way is to check the system event -
application log. Biztalk should write the detailed info of HTTP
receive adapter and Messaging Engine failures in it. If you got some
messages like:
"Please verify that the receive location is valid, and that the
isolated adapter runs under an account that has access to the BizTalk
databases."
Then please make sure the BTSHTTPReceive.dll's virtual directory is
in an application pool whose identity has permission to access
BizTalkMgmtDb database. You can use local administrator account as
the AppPool's identity and make sure it's in the IIS_WPG, BizTalk
Isolated Host Users and BizTalk Application Users groups.
"Also, if I need to configure multiple HTTP receive locations, I can
defineother virtual directories, right? Should I also need to copy the
BTSHTTPReceive.DLL file into these folders are well? The online help
says not to do it and I'm not able to configure multiple applications
to have the same HTTP receive port. What should be done here? How
does one go about doing this?"
Well, it's correct, we do not need to copy the BTSHTTPReceive.dll in
each web directory. Simply create different virtual directories in
IIS and point all of them to \Program Files\Microsoft BizTalk Server
2004\HttpReceive\BTSHTTPReceive.dll. Then we can use the different
URIs (i.e. /<virtualdiretoryname>/BTSHTTPReceive.dll) in different
receive locations to separate the messages to ports( all of the vdirs
have the same physical ). This is because bascially a http receive
vdir needn't contain any other files other than the
BTSHTTPReceive.dll, right? Detailed steps are documented in the
online help.
Configuring an HTTP Receive Location By Using BizTalk Explorer
http://msdn.microsoft.com/library/d...ary/en-us/opera
tions/htm/ebiz_ops_adapt_file_waop.asp
Please update here if you get any detailed error info.
Thanks.
Best regards,
WenJun Zhang
Microsoft Online Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
Get Secure! - www.microsoft.com/security
| |
| SriSamp 2005-01-25, 5:50 pm |
| Thanks WenJun. Am using IIS 5.0 and so followed the steps outlined for the
IIS 5.0 section.
Let me try it out again and see if any errors are posted and then get back.
--
HTH,
SriSamp
Please reply to the whole group only!
http://www32.brinkster.com/srisamp
""WenJun Zhang[msft]"" <v-wzhang@online.microsoft.com> wrote in message
news:wrnWiWtAFHA.1384@cpmsftngxa10.phx.gbl...
> Hi SriSamp,
>
> The 500 "Internal Server Error" is probably the most common error
> message we may receive when using the HTTP adapter. There are various
> of approaches to start out the troubleshooting, but I'd recommend the
> most direct and effective way is to check the system event -
> application log. Biztalk should write the detailed info of HTTP
> receive adapter and Messaging Engine failures in it. If you got some
> messages like:
>
> "Please verify that the receive location is valid, and that the
> isolated adapter runs under an account that has access to the BizTalk
> databases."
>
> Then please make sure the BTSHTTPReceive.dll's virtual directory is
> in an application pool whose identity has permission to access
> BizTalkMgmtDb database. You can use local administrator account as
> the AppPool's identity and make sure it's in the IIS_WPG, BizTalk
> Isolated Host Users and BizTalk Application Users groups.
>
> "Also, if I need to configure multiple HTTP receive locations, I can
> defineother virtual directories, right? Should I also need to copy the
> BTSHTTPReceive.DLL file into these folders are well? The online help
> says not to do it and I'm not able to configure multiple applications
> to have the same HTTP receive port. What should be done here? How
> does one go about doing this?"
>
> Well, it's correct, we do not need to copy the BTSHTTPReceive.dll in
> each web directory. Simply create different virtual directories in
> IIS and point all of them to \Program Files\Microsoft BizTalk Server
> 2004\HttpReceive\BTSHTTPReceive.dll. Then we can use the different
> URIs (i.e. /<virtualdiretoryname>/BTSHTTPReceive.dll) in different
> receive locations to separate the messages to ports( all of the vdirs
> have the same physical ). This is because bascially a http receive
> vdir needn't contain any other files other than the
> BTSHTTPReceive.dll, right? Detailed steps are documented in the
> online help.
>
> Configuring an HTTP Receive Location By Using BizTalk Explorer
> http://msdn.microsoft.com/library/d...ary/en-us/opera
> tions/htm/ebiz_ops_adapt_file_waop.asp
>
> Please update here if you get any detailed error info.
> Thanks.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Support
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> Get Secure! - www.microsoft.com/security
>
| |
| WenJun Zhang[msft] 2005-01-26, 7:47 am |
| That's ok. :-)
Best regards,
WenJun Zhang
Microsoft Online Partner Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
|
|
|
|
|