Response Messages

All response messages that you encounter derive from ResponseMessageType in messages.xsd. The basic structure of ResponseMessageType is shown in Example 18-6.

Example 18-6. Basic structure of ResponseMessageType

<ResponseMessage ResponseClass="Success | Warning | Error">
  <MessageText/>
  <ResponseCode/>
  <DescriptiveLinkKey/>
  <MessageXml/>
</ResponseMessage>

ResponseClass Attribute

The ResponseClass attribute is an enumeration of type ResponseClassType and has three possible values: Success, Warning, or Error. Success means that the operation was successful. It will always be coupled with a ResponseCode of NoError. Warning is encountered in a ResolveNames Web method response only when multiple matches are found for a given ambiguous ...

Get Inside Microsoft® Exchange Server 2007 Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.