In this scenario, one or more messages may be suspended in BizTalk Server 2006. Additionally, you may receive an error message that resembles the following:
Underlying connection was closed
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
View products that this article applies to.
File name | File version | File size | Date | Time |
---|---|---|---|---|
Microsoft.biztalk.httptransport.dll | 3.5.1621.0 | 72,512 | 01-Sep-2006 | 18:46 |
HttpWebRequest HttpWRequest =
(HttpWebRequest)WebRequest.Create("<http://ApacheServer/WritePostedDocument.asp>");
HttpWRequest.Method = "POST";
HttpWRequest.ContentType = "application/x-www-form-urlencoded";
HttpWRequest.KeepAlive =false;
byte[] PostData = Request.BinaryRead(Request.TotalBytes);
HttpWRequest.ContentLength = PostData.Length;
Stream tempStream = HttpWRequest.GetRequestStream();
tempStream.Write(PostData,0,PostData.Length);
tempStream.Close();
HttpWebResponse HttpWResponse;
HttpWResponse = (HttpWebResponse)HttpWRequest.GetResponse();
Response.Write (HttpWResponse.StatusCode);
HttpWResponse.Close();
}
public Microsoft.BizTalk.Message.Interop.IBaseMessage Execute(Microsoft.BizTalk.Component.Interop.IPipelineContext pc, Microsoft.BizTalk.Message.Interop.IBaseMessage inmsg)
{
inmsg.Context.Write("KeepAlive","http://schemas.microsoft.com/BizTalk/2003/http-properties", false);
return inmsg;
}
Keywords: kbbtsadapters, kbbiztalk2006presp1fix, kbbts, kbbug, kbfix, kbqfe, kbautohotfix, KB924638