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).
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.
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
- Right-click your receive location, and then click
- 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.
Article ID: 873232 - Last Review: Mar 24, 2009 - Revision: 1