Microsoft KB Archive/873232

= Messages that are sent to the receive location are not suspended when the receive location is disabled in BizTalk Server 2004 =

Article ID: 873232

Article Last Modified on 4/4/2007

-

APPLIES TO


 * Microsoft BizTalk Server 2004 Enterprise Edition
 * Microsoft BizTalk Server 2004 Developer Edition
 * Microsoft BizTalk Server 2004 Partner Edition
 * Microsoft BizTalk Server 2004 Standard Edition

-





SYMPTOMS
After you publish an orchestration as a Web service in Microsoft BizTalk Server 2004 and the receive location is disabled, the messages that are sent to the receive location are not suspended. The Web service client receives a successful HTTP status code 202 (Accepted).



CAUSE
This problem occurs because the Web Service Publishing Wizard always sets the OneWay attribute to TRUE. This behavior is designed to decouple the ultimate processing of the message. If this behavior did not occur, the client would have to wait synchronously for a response from the service.



RESOLUTION
To resolve this issue, modify the Web Services Description Language (WSDL) code to set the OneWay attribute to FALSE.



Steps to reproduce the problem
 In BizTalk Server 20004, create an orchestration that uses a one-way request/response port, and then publish the orchestration as a Web service. Disable the receive location. To do this, follow these steps:  Click Start, point to All Programs, point to Microsoft BizTalk Server 2004, and then click BizTalk Server Administration. In the BizTalk Administration console, expand the Microsoft BizTalk Server 2004 (local) node, and then click Receive Locations. Right-click your receive location, and then click Disable.</ol> </li> Send a message from the Web service client to the Web service.

The messages that are sent to the receive location are not suspended. The Web Service client receives a successful HTTP status code.</li></ol>

<div class="references_section">