This documentation is archived and is not being maintained.


Topic Last Modified: 2007-10-15

The CreateAttachmentResponseMessage element contains the status and result of a single CreateAttachment request.

<CreateAttachmentResponseMessage ResponseClass="">


The following sections describe attributes, child elements, and parent elements.


Attribute Description


Describes the status of a CreateAttachment response. The following values are valid for this attribute:

  • Success
  • Warning
  • Error

ResponseClass Attribute Values

Value Description


Describes a request that is fulfilled.


Describes a request that was not processed. A warning may be returned if an error occurred while an item in the request was processing and subsequent items could not be processed. The following are examples of sources of warnings:

  • The Exchange store is offline during the batch.
  • The Active Directory directory service is offline.
  • Mailboxes are moved.
  • The message database (MDB) is offline.
  • A password is expired.
  • A quota is exceeded.


Describes a request that cannot be fulfilled. The following are examples of sources of errors:

  • Invalid attributes or elements
  • Attributes or elements out of range
  • Unknown tag
  • Attribute or element not valid in the context
  • Unauthorized access attempt by any client
  • Server-side failure in response to a valid client-side call.

Information about the error can be found in the ResponseCode and MessageText elements.

Child Elements

Element Description


Provides a text description of the status of the response.


Provides an error code that identifies the specific error that the request encountered.


Currently unused and is reserved for future use. It contains a value of 0.


Provides additional error response information.


Contains the items or files that are attached to an item in the Exchange store.

Parent Elements

Element Description


Contains the response messages for an Exchange Web Services request.

The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

If multiple attachments are attached to an item in a single roundtrip, the RootItemChangeKey attribute in the last response message is the one that represents the new change key of the item that has the attachments.


Schema Name

Messages schema

Validation File


Can be Empty