3.1.4.7.1.2 GetUserPhotoSoapOut

The GetUserPhotoSoapOut WSDL message specifies the response to a GetUserPhotoSoapIn request WSDL message.

The following is the GetUserPhotoSoapOut WSDL message specification.

   <wsdl:message name="GetUserPhotoSoapOut">
     <wsdl:part name="GetUserPhotoResult" element="tns:GetUserPhotoResponse"/>
     <wsdl:part name="ServerVersion" element="t:ServerVersionInfo"/>
   </wsdl:message>

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

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

Part name

Element/type

Description

GetUserPhotoResult

tns:GetUserPhotoResponse (section 3.1.4.7.2.2)

Specifies the SOAP body of the response to a GetUserPhoto WSDL operation request.

ServerVersion

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

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

A successful GetUserPhoto WSDL operation request returns a GetUserPhotoResponse element with the ResponseClass attribute set to "Success". The ResponseCode element of the GetUserPhotoResponse element is set to "No Error".

If the GetUserPhoto WSDL operation is not successful, it returns a GetUserPhotoResponse element with the ResponseClass attribute set to "Error". The ResponseCode element of the GetUserPhotoResponse element is set to one of the common errors defined in [MS-OXWSCDATA] section 2.2.5.24.