6.1 WSDL Schema

This section contains the contents of the MS-OXWSPHOTO.wsdl file.

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="https://schemas.xmlsoap.org/wsdl/soap/"
      xmlns:tns="https://schemas.microsoft.com/exchange/services/2006/messages"
      xmlns:wsdl="https://schemas.xmlsoap.org/wsdl/"
      xmlns:t="https://schemas.microsoft.com/exchange/services/2006/types"
      targetNamespace=
            "https://schemas.microsoft.com/exchange/services/2006/messages">
  <wsdl:types>
    <xs:schema id="messages" elementFormDefault="qualified" version="Exchange2013"
          xmlns:xs="http://www.w3.org/2001/XMLSchema"
          targetNamespace=
                "https://schemas.microsoft.com/exchange/services/2006/messages">
      <xs:include schemaLocation="MS-OXWSPHOTO-messages.xsd"/>
    </xs:schema>
  </wsdl:types>
  <wsdl:message name="GetUserPhotoSoapIn">
    <wsdl:part name="request" element="tns:GetUserPhoto"/>
    <wsdl:part name="RequestVersion" element="t:RequestServerVersion"/>
  </wsdl:message>
  <wsdl:message name="GetUserPhotoSoapOut">
    <wsdl:part name="GetUserPhotoResult" element="tns:GetUserPhotoResponse"/>
    <wsdl:part name="ServerVersion" element="t:ServerVersionInfo"/>
  </wsdl:message>
  <wsdl:portType name="ExchangeServicePortType">
    <wsdl:operation name="GetUserPhoto">
      <wsdl:input message="tns:GetUserPhotoSoapIn"/>
      <wsdl:output message="tns:GetUserPhotoSoapOut"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="ExchangeServiceBinding" type="tns:ExchangeServicePortType">
    <soap:binding style="document"
          transport="https://schemas.xmlsoap.org/soap/http"/>
    <wsdl:documentation>
      <wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0"
            xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/"/>
    </wsdl:documentation>
    <wsdl:operation name="GetUserPhoto">
      <soap:operation soapAction=
    "https://schemas.microsoft.com/exchange/services/2006/messages/GetUserPhoto"/>
      <wsdl:input>
        <soap:body parts="request" use="literal"/>
        <soap:header message="tns:GetUserPhotoSoapIn"
              part="RequestVersion" use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body parts="GetUserPhotoResult" use="literal"/>
        <soap:header message="tns:GetUserPhotoSoapOut" 
              part="ServerVersion" use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
</wsdl:definitions>