Share via


6 Appendix A: Full WSDL

For ease of implementation, the full WSDL and schema are provided in this appendix.

 <?xml version="1.0" encoding="utf-8"?>
 <wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://schemas.microsoft.com/windows/management/2012/01/enrollment" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" targetNamespace="http://schemas.microsoft.com/windows/management/2012/01/enrollment" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:types>
     <xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/windows/management/2012/01/enrollment">
       <xsd:element name="Discover" nillable="true">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element minOccurs="1" maxOccurs="1" name="request" nillable="true" type="tns:DiscoveryRequest"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:complexType name="DiscoveryRequest">
         <xsd:sequence>
           <xsd:element minOccurs="0" maxOccurs="1" name="EmailAddress" nillable="true" type="xsd:string"/>
           <xsd:element minOccurs="0" maxOccurs="1" name="RequestVersion" nillable="true" type="xsd:string"/>
         </xsd:sequence>
       </xsd:complexType>
       <xsd:element name="DiscoverResponse" nillable="true">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element minOccurs="1" maxOccurs="1" name="DiscoverResult" nillable="true" type="tns:DiscoveryResponse"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
       <xsd:complexType name="DiscoveryResponse">
         <xsd:sequence>
           <xsd:element minOccurs="0" maxOccurs="1" name="AuthPolicy" nillable="true" type="xsd:string"/>
           <xsd:element minOccurs="0" maxOccurs="1" name="AuthenticationServiceUrl" nillable="true" type="xsd:string"/>
           <xsd:element minOccurs="0" maxOccurs="1" name="EnrollmentPolicyServiceUrl" nillable="true" type="xsd:string"/>
           <xsd:element minOccurs="0" maxOccurs="1" name="EnrollmentServiceUrl" nillable="true" type="xsd:string"/>
         </xsd:sequence>
       </xsd:complexType>
     </xsd:schema>
   </wsdl:types>
   <wsdl:portType name="IDiscoveryService">
     <wsdl:operation name="Discover">
       <wsdl:input wsaw:Action="http://schemas.microsoft.com/windows/management/2012/01/enrollment/IDiscoveryService/Discover" name="IDiscoveryService_Discover_InputMessage" message="tns:IDiscoveryService_Discover_InputMessage"/>
       <wsdl:output wsaw:Action="http://schemas.microsoft.com/windows/management/2012/01/enrollment/IDiscoveryService/DiscoverResponse" name="IDiscoveryService_Discover_OutputMessage" message="tns:IDiscoveryService_Discover_OutputMessage"/>
     </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="IDiscoveryServiceSoap12" type="tns:IDiscoveryService">
     <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
     <wsdl:operation name="Discover">
       <soap12:operation soapAction="http://schemas.microsoft.com/windows/management/2012/01/enrollment/IDiscoveryService/Discover" style="document"/>
       <wsdl:input name="IDiscoveryService_Discover_InputMessage">
         <soap12:body use="literal"/>
       </wsdl:input>
       <wsdl:output name="IDiscoveryService_Discover_OutputMessage">
         <soap12:body use="literal"/>
       </wsdl:output>
     </wsdl:operation>
   </wsdl:binding>
   <wsdl:message name="IDiscoveryService_Discover_InputMessage">
     <wsdl:part name="Discover" element="tns:Discover"/>
   </wsdl:message>
   <wsdl:message name="IDiscoveryService_Discover_OutputMessage">
     <wsdl:part name="DiscoverResponse" element="tns:DiscoverResponse"/>
   </wsdl:message>
 </wsdl:definitions>