3.2.5.1.1 Messages

The following table summarizes the set of WSDL message definitions that are specific to this operation.

Message

Description

GetUserPhotoSoapIn

Specifies a request to retrieve a photo.

GetUserPhotoSoapOut

Specifies the response to the GetUserPhotoSoapIn request WSDL message.

The following is the GetUserPhotoSoapIn WSDL message specification.

 <wsdl:message name="GetUserPhotoSoapIn">
    <wsdl:part name="request" element="tns:GetUserPhoto"/>
    <wsdl:part name="RequestVersion" element="t:RequestServerVersion"/>  </wsdl:message>

The GetUserPhotoSoapIn WSDL message is the input message for the SOAP action https://schemas.microsoft.com/exchange/services/2006/messages/GetUserPhoto.

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

Part name

Element/type

Description

request

tns:GetUserPhoto

Specifies the SOAP body of the request to retrieve a photo.

RequestVersion

t:RequestServerVersion

([MS-OXWSCDATA] section 2.2.3.9)

Specifies a SOAP header that identifies the schema version for the GetUserPhotoWSDL operation request.

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 https://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

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.23.