3.1.4.1.1.2 tns:CreateAttachmentSoapOut Message

The CreateAttachmentSoapOut WSDL message specifies the server response to the CreateAttachment operation request to create an attachment.

 <wsdl:message name="CreateAttachmentSoapOut">
     <wsdl:part name="CreateAttachmentResult" element="tns:CreateAttachmentResponse" />
     <wsdl:part name="ServerVersion" element="t:ServerVersionInfo"/>
 </wsdl:message>

The CreateAttachmentSoapOut WSDL message is the output message for the SOAP action http://schemas.microsoft.com/exchange/services/2006/messages/CreateAttachment.

The two parts of the CreateAttachmentSoapOut WSDL message are described in the following table.

Part

Element/type

Description

CreateAttachmentResult

tns:CreateAttachmentResponse (section 3.1.4.1.2.2)

Specifies the SOAP body of the response to a CreateAttachment operation request.

ServerVersion

t:ServerVersionInfo ([MS-OXWSCDATA] section 2.2.3.10)

Specifies a SOAP header that identifies the server version for the response.

If the request is successful, the CreateAttachment operation returns a CreateAttachmentResponse element with the ResponseClass attribute of the CreateAttachmentResponseMessage element set to "Success". The ResponseCode element of the CreateAttachmentResponse element is set to "NoError".

If the request is unsuccessful, the CreateAttachment operation returns a CreateAttachmentResponse element with the ResponseClass attribute of the CreateAttachmentResponseMessage element set to "Error". The ResponseCode element of the CreateAttachmentResponseMessage element is set to a value of the ResponseCodeType simple type, as specified in [MS-OXWSCDATA] section 2.2.5.24.