Export (0) Print
Expand All

6 Appendix A: Full WSDL

The XML files that are listed in the following table are required in order to implement the functionality described in this document.

File name

Description

Section

MS-OXWSRULES.wsdl

Contains the WSDL for the implementation of this protocol.

6

MS-OXWSRULES-messages.xsd

Contains the XML schema message definitions that are used in this protocol.

7.1

MS-OXWSRULES-types.xsd

Contains the XML schema type definitions that are used in this protocol.

7.2

These files have to be placed in a common folder for the WSDL to validate and operate. Also, any schema files that are included in or imported into the MS-OXWSRULES-types.xsd or MS-OXWSRULES-messages.xsd schemas have to be placed in the common folder with these files.

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

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                  xmlns:tns="http://schemas.microsoft.com/exchange/services/2006/messages"
                  xmlns:s="http://www.w3.org/2001/XMLSchema"
                  targetNamespace="http://schemas.microsoft.com/exchange/services/2006/messages"
                  xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                  xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <wsdl:types>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import namespace="http://schemas.microsoft.com/exchange/services/2006/messages" schemaLocation="MS-OXWSRULES-messages.xsd"/>
    </xs:schema>
  </wsdl:types>

  <!-- Inbox Rules Messages -->
  <wsdl:message name="GetInboxRulesSoapIn">
    <wsdl:part name="request" element="tns:GetInboxRules" />
    <wsdl:part name="Impersonation" element="t:ExchangeImpersonation" />
    <wsdl:part name="MailboxCulture" element="t:MailboxCulture" />
    <wsdl:part name="RequestVersion" element="t:RequestServerVersion" />
    <wsdl:part name="TimeZoneContext" element="t:TimeZoneContext" />
  </wsdl:message>
  <wsdl:message name="GetInboxRulesSoapOut">
    <wsdl:part name="GetInboxRulesResult" element="tns:GetInboxRulesResponse" />
    <wsdl:part name="ServerVersion" element="t:ServerVersionInfo" />
  </wsdl:message>

  <wsdl:message name="UpdateInboxRulesSoapIn">
    <wsdl:part name="request" element="tns:UpdateInboxRules" />
    <wsdl:part name="Impersonation" element="t:ExchangeImpersonation" />
    <wsdl:part name="MailboxCulture" element="t:MailboxCulture" />
    <wsdl:part name="RequestVersion" element="t:RequestServerVersion" />
    <wsdl:part name="TimeZoneContext" element="t:TimeZoneContext" />
  </wsdl:message>
  <wsdl:message name="UpdateInboxRulesSoapOut">
    <wsdl:part name="UpdateInboxRulesResult" element="tns:UpdateInboxRulesResponse" />
    <wsdl:part name="ServerVersion" element="t:ServerVersionInfo" />
  </wsdl:message>

  <wsdl:portType name="ExchangeServicePortType">
    <!-- Inbox Rules -->
    <wsdl:operation name="GetInboxRules">
      <wsdl:input message="tns:GetInboxRulesSoapIn" />
      <wsdl:output message="tns:GetInboxRulesSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="UpdateInboxRules">
      <wsdl:input message="tns:UpdateInboxRulesSoapIn" />
      <wsdl:output message="tns:UpdateInboxRulesSoapOut" />
    </wsdl:operation>

  </wsdl:portType>

  <wsdl:binding name="ExchangeServiceBinding" type="tns:ExchangeServicePortType">
    <wsdl:documentation>
      <wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" />
    </wsdl:documentation>
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />

    <!-- Inbox Rules Operations -->

    <!-- GetInboxRules -->
    <wsdl:operation name="GetInboxRules">
      <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/GetInboxRules" />
      <wsdl:input>
        <soap:header message="tns:GetInboxRulesSoapIn" part="Impersonation" use="literal" />
        <soap:header message="tns:GetInboxRulesSoapIn" part="MailboxCulture" use="literal" />
        <soap:header message="tns:GetInboxRulesSoapIn" part="RequestVersion" use="literal" />
        <soap:header message="tns:GetInboxRulesSoapIn" part="TimeZoneContext" use="literal" />
        <soap:body parts="request" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body parts="GetInboxRulesResult" use="literal" />
        <soap:header message="tns:GetInboxRulesSoapOut" part="ServerVersion" use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <!-- UpdateInboxRules -->
    <wsdl:operation name="UpdateInboxRules">
      <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/UpdateInboxRules" />
      <wsdl:input>
        <soap:header message="tns:UpdateInboxRulesSoapIn" part="Impersonation" use="literal" />
        <soap:header message="tns:UpdateInboxRulesSoapIn" part="MailboxCulture" use="literal" />
        <soap:header message="tns:UpdateInboxRulesSoapIn" part="RequestVersion" use="literal" />
        <soap:header message="tns:UpdateInboxRulesSoapIn" part="TimeZoneContext" use="literal" />
        <soap:body parts="request" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body parts="UpdateInboxRulesResult" use="literal" />
        <soap:header message="tns:UpdateInboxRulesSoapOut" part="ServerVersion" use="literal" />
      </wsdl:output>
    </wsdl:operation>

  </wsdl:binding>
</wsdl:definitions>
Show:
© 2014 Microsoft