Consider the following scenario:
- You use WCF-WebHTTP Two-Way Send to consume REST services in Microsoft BizTalk Server. In some cases, it responds with a message body and in other cases, it responds with an empty body (just the HTTP status code).
- A JSON decoder pipeline component is used in the response pipeline.
- Whenever the REST service responds with an empty body, the JSON decoder in the response pipeline fails and you may receive an error message that resembles the following: