O'Reilly logo

Inside Microsoft® Exchange Server 2007 Web Services by Huw Upshall, Mark Taylor, Ben Spain, Michael Mainer, David Sterling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Normal Mechanism

So how does Exchange Web Services report errors back to you, the ever vigilant developer? Exchange Web Services uses response messages to marry the results of a given batched operation with the status of that operation. Figure 18-1 shows the general structure of a response message.[245]

Response message makeup

Figure 18-1. Response message makeup

Before we dig in too far, take a look at an example. Let’s successfully create an item by using the CreateItem Web method and see what comes back. Example 18-1 shows the response.

Example 18-1. Successful CreateItem response

<CreateItemResponse xmlns:m=".../messages" xmlns:t=".../types" xmlns=".../messages"> <m:ResponseMessages> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required