FIX: You cannot access the headers and the body of an HTTP failure response in a SOAPException exception

Article translations Article translations
Article ID: 840008 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

When you use the HTTP/SOAP transport in Microsoft BizTalk Server 2004 and the transmission is not successful, you may catch a System.Web.Services.Protocols.SOAPException exception. This exception contains some error information, but it does not contain the headers or the body of the HTTP failure response.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft BizTalk Server 2004. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
888751 How to obtain the latest BizTalk Server 2004 service pack

Hotfix information

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date         Time   Version            Size    File name
---------------------------------------------------------------------------------------------
19-Apr-2004  21:26  3.0.5283.0        144,896  Btshttpreceive.dll  
19-Apr-2004  21:26  3.0.5283.0      1,021,440  Btsmsgcore.dll   
19-Apr-2004  20:50  3.0.5283.0         32,768  Microsoft.biztalk.cachingservice.dll  
19-Apr-2004  20:50  3.0.5283.0        720,896  Microsoft.biztalk.globalpropertyschemas.dll  
19-Apr-2004  21:26  3.0.5283.0         65,536  Microsoft.biztalk.httptransport.dll  
19-Apr-2004  20:57  3.0.5283.0         49,152  Microsoft.biztalk.messaging.dll  
19-Apr-2004  20:50  3.0.5283.0        217,088  Microsoft.biztalk.pipeline.dl
Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was corrected in BizTalk Server 2004 Service Pack 1.

MORE INFORMATION

Before you install this hotfix, you may catch a SOAPException exception that is similar to the following:
<?xml version="1.0" ?> 
<string>
  <ns0:NACK Type="NACK" xmlns:ns0="http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd">
    <NAckID>{F12C6727-BE31-4AE2-A3B2-B15503D09982}</NAckID>
    <ErrorCode>0x80131600</ErrorCode>
    <ErrorCategory>0</ErrorCategory>
    <ErrorDescription>The remote server returned an error: (404) Not Found.</ErrorDescription>
  </ns0:NACK>
</string>
After you install this hotfix, you may catch a SOAPException error that is similar to the following. This SOAPException exception contains the Headers element and the Body element.
<?xml version="1.0" ?> 
<string>
  <ns0:NACK Type="NACK" xmlns:ns0="http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd">
    <NAckID>{4E646707-03AA-4493-95C7-A64B09E2987D}</NAckID>
    <ErrorCode>0x80131600</ErrorCode>
    <ErrorCategory>0</ErrorCategory>
    <ErrorDescription>The remote server returned an error: (404) Not Found.</ErrorDescription>
    <ErrorDetail>
      <HttpErrorDetail xmlns="http://schema.microsoft.com/BizTalk/2004/HttpErrorDetails.xsd">
        <Headers>Server: Microsoft-IIS/5.0 Date: Wed, 21 Apr 2004 00:27:47 GMT X-Powered-By: ASP.NET Connection: close Content-Type: text/html Content-Length: 67 </Headers>
        <Body>We could not locate the page you requested. Please check on your URL.</Body>
      </HttpErrorDetail>
    </ErrorDetail>
  </ns0:NACK>
</string> 
Note The Headers element and the Body element are limited to 48 KB. The Headers element is rounded to the nearest complete header value pair without exceeding the limit. The Body element is truncated to 48 KB.
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 840008 - Last Review: May 15, 2006 - Revision: 3.0
APPLIES TO
  • Microsoft BizTalk Server 2004 Developer Edition
  • Microsoft BizTalk Server 2004 Enterprise Edition
  • Microsoft BizTalk Server 2004 Partner Edition
  • Microsoft BizTalk Server 2004 Standard Edition
Keywords: 
kbbug kbfix kbqfe kbbiztalk2004sp1fix kbhotfixserver KB840008

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com