3.1.4.3.1.2 tns:GetAttachmentSoapOut Message

The GetAttachmentSoapOut WSDL message specifies the server response to the GetAttachment operation request to get an attachment.

 <wsdl:message name="GetAttachmentSoapOut">
     <wsdl:part name="GetAttachmentResult" element="tns:GetAttachmentResponse" />
     <wsdl:part name="ServerVersion" element="t:ServerVersionInfo"/>
 </wsdl:message>

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

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

Part

Element/type

Description

GetAttachmentResult

tns:GetAttachmentResponse (section 3.1.4.3.2.2)

Specifies the SOAP body of the response to a GetAttachment 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 GetAttachment operation returns a GetAttachmentResponse element with the ResponseClass attribute of the GetAttachmentResponseMessage element set to "Success". The ResponseCode element of the GetAttachmentResponse element is set to "NoError".

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