3.1.4.3 GetAttachment Operation

The GetAttachment operation gets attachments from an item in the server store.

The following is the WSDL port type specification of the operation.

 <wsdl:operation name="GetAttachment">
     <wsdl:input message="tns:GetAttachmentSoapIn" />
     <wsdl:output message="tns:GetAttachmentSoapOut" />
 </wsdl:operation>

The following is the WSDL binding specification of the operation.

 <wsdl:operation name="GetAttachment">
     <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment" />
     <wsdl:input>
         <soap:header message="tns:GetAttachmentSoapIn" part="Impersonation" use="literal"/>
         <soap:header message="tns:GetAttachmentSoapIn" part="MailboxCulture" use="literal"/>
         <soap:header message="tns:GetAttachmentSoapIn" part="RequestVersion" use="literal"/>
         <soap:header message="tns:GetAttachmentSoapIn" part="TimeZoneContext" use="literal"/>
         <soap:body parts="request" use="literal" />
     </wsdl:input>
     <wsdl:output>
         <soap:body parts="GetAttachmentResult" use="literal" />
         <soap:header message="tns:GetAttachmentSoapOut" part="ServerVersion" use="literal"/>
     </wsdl:output>
 </wsdl:operation>

The protocol client sends a GetAttachmentSoapIn request WSDL message, and the protocol server responds with a GetAttachmentSoapOut response WSDL message.