<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.theschedulecenter.com/ScheduleWS" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.theschedulecenter.com/ScheduleWS" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.theschedulecenter.com/ScheduleWS">
      <s:element name="GetInspections">
        <s:complexType />
      </s:element>
      <s:element name="GetInspectionsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetInspectionsResult" type="tns:ArrayOfInspection" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ArrayOfInspection">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Inspection" nillable="true" type="tns:Inspection" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Inspection">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="PaidInFull" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="Gated" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="Occupied" type="s:boolean" />
          <s:element minOccurs="0" maxOccurs="1" name="AccountingTransactions" type="tns:ArrayOfAccountingTransaction" />
          <s:element minOccurs="0" maxOccurs="1" name="AdditionalInformation" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="CrossStreet" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="EscrowNumber" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="EscrowDateString" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="GateCode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="AccessProvidedBy" type="tns:ArrayOfAccessProvidedBy" />
          <s:element minOccurs="0" maxOccurs="1" name="Attending" type="tns:ArrayOfAttending" />
          <s:element minOccurs="0" maxOccurs="1" name="CallBeforeShowingCode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="InternalNotes" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="AppointmentTitle" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="AppointmentStatus" type="tns:AppointmentStatus" />
          <s:element minOccurs="0" maxOccurs="1" name="AppointmentID" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="AppointmentStartDateTimeString" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="AppointmentEndDateTimeString" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="AppointmentType" type="tns:AppointmentType" />
          <s:element minOccurs="1" maxOccurs="1" name="SquareFootage" type="s:decimal" />
          <s:element minOccurs="1" maxOccurs="1" name="YearBuilt" type="s:short" />
          <s:element minOccurs="1" maxOccurs="1" name="FeeAmount" type="s:decimal" />
          <s:element minOccurs="1" maxOccurs="1" name="AppointmentDuration" type="tns:TimeSpan" />
          <s:element minOccurs="0" maxOccurs="1" name="Address" type="tns:Address" />
          <s:element minOccurs="0" maxOccurs="1" name="Actors" type="tns:ArrayOfPerson" />
          <s:element minOccurs="0" maxOccurs="1" name="Access" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="PropertyType" type="tns:PropertyType" />
          <s:element minOccurs="1" maxOccurs="1" name="FoundationType" type="tns:FoundationType" />
          <s:element minOccurs="1" maxOccurs="1" name="NumBathrooms" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="NumBedrooms" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="NumCarGarage" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="NumStories" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="Roofage" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Terms" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="PaymentType" type="tns:PaymentType" />
          <s:element minOccurs="1" maxOccurs="1" name="ElectricityType" type="tns:ElectricityType" />
          <s:element minOccurs="1" maxOccurs="1" name="GasType" type="tns:GasType" />
          <s:element minOccurs="1" maxOccurs="1" name="WaterType" type="tns:WaterType" />
          <s:element minOccurs="1" maxOccurs="1" name="ElectricityStatus" type="tns:OnOff" />
          <s:element minOccurs="1" maxOccurs="1" name="GasStatus" type="tns:OnOff" />
          <s:element minOccurs="1" maxOccurs="1" name="WaterStatus" type="tns:OnOff" />
          <s:element minOccurs="0" maxOccurs="1" name="AdditionalServices" type="tns:ArrayOfString" />
          <s:element minOccurs="0" maxOccurs="1" name="LineItems" type="tns:ArrayOfLineItem" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfAccountingTransaction">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="AccountingTransaction" nillable="true" type="tns:AccountingTransaction" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="AccountingTransaction">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="TransactionCode" type="tns:TransactionCode" />
          <s:element minOccurs="1" maxOccurs="1" name="EffectiveDate" type="s:dateTime" />
          <s:element minOccurs="1" maxOccurs="1" name="Amount" type="s:decimal" />
          <s:element minOccurs="0" maxOccurs="1" name="DocNum" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Notes" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="PaymentMethod" type="tns:PaymentMethod" />
          <s:element minOccurs="0" maxOccurs="1" name="Street1" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Street2" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="StateCode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="AccountingTransactionID" type="s:int" />
        </s:sequence>
      </s:complexType>
      <s:simpleType name="TransactionCode">
        <s:restriction base="s:string">
          <s:enumeration value="None" />
          <s:enumeration value="ServicePayment" />
          <s:enumeration value="ServiceCredit" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="PaymentMethod">
        <s:restriction base="s:string">
          <s:enumeration value="Cash" />
          <s:enumeration value="Check" />
          <s:enumeration value="Credit" />
          <s:enumeration value="Escrow" />
          <s:enumeration value="NotAPayment" />
          <s:enumeration value="Other" />
        </s:restriction>
      </s:simpleType>
      <s:complexType name="ArrayOfAccessProvidedBy">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="AccessProvidedBy" type="tns:AccessProvidedBy" />
        </s:sequence>
      </s:complexType>
      <s:simpleType name="AccessProvidedBy">
        <s:restriction base="s:string">
          <s:enumeration value="Unknown" />
          <s:enumeration value="Buyer" />
          <s:enumeration value="Seller" />
          <s:enumeration value="BuyerAgent" />
          <s:enumeration value="SellerAgent" />
          <s:enumeration value="Tenant" />
          <s:enumeration value="Other" />
        </s:restriction>
      </s:simpleType>
      <s:complexType name="ArrayOfAttending">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Attending" type="tns:Attending" />
        </s:sequence>
      </s:complexType>
      <s:simpleType name="Attending">
        <s:restriction base="s:string">
          <s:enumeration value="Unknown" />
          <s:enumeration value="Buyer" />
          <s:enumeration value="Seller" />
          <s:enumeration value="BuyerAgent" />
          <s:enumeration value="SellerAgent" />
          <s:enumeration value="Tenant" />
          <s:enumeration value="Other" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="AppointmentStatus">
        <s:restriction base="s:string">
          <s:enumeration value="Scheduled" />
          <s:enumeration value="Cancelled" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="AppointmentType">
        <s:restriction base="s:string">
          <s:enumeration value="Inspection" />
          <s:enumeration value="Personal" />
          <s:enumeration value="Unknown" />
        </s:restriction>
      </s:simpleType>
      <s:complexType name="TimeSpan" />
      <s:complexType name="Address">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Subdivision" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Street1" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Street2" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="StateCode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="State" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="County" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfPerson">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="Person" nillable="true" type="tns:Person" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="Person">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="PersonInspectionRole" type="tns:PersonInspectionRole" />
          <s:element minOccurs="1" maxOccurs="1" name="PersonID" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Honorific" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Company" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Address" type="tns:Address" />
          <s:element minOccurs="0" maxOccurs="1" name="WorkPhone" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Extension" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="WorkFax" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="HomePhone" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="MobilePhone" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Pager" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Salutation" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="MiscA" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="MiscB" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Email" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Email2" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:simpleType name="PersonInspectionRole">
        <s:restriction base="s:string">
          <s:enumeration value="Inspector" />
          <s:enumeration value="BuyersAgent" />
          <s:enumeration value="SellersAgent" />
          <s:enumeration value="SellersLawyer" />
          <s:enumeration value="BuyersLawyer" />
          <s:enumeration value="Seller" />
          <s:enumeration value="Buyer" />
          <s:enumeration value="TransactionCoordinator" />
          <s:enumeration value="RelocationCoordinator" />
          <s:enumeration value="InspectionCompanyStaff" />
          <s:enumeration value="EscrowOfficer" />
          <s:enumeration value="Creator" />
          <s:enumeration value="Referrer" />
          <s:enumeration value="RequestedProfessional" />
          <s:enumeration value="Owner" />
          <s:enumeration value="Tenant" />
          <s:enumeration value="RequestedBy" />
          <s:enumeration value="BillTo" />
          <s:enumeration value="Lender" />
          <s:enumeration value="Unknown" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="PropertyType">
        <s:restriction base="s:string">
          <s:enumeration value="SingleFamilyResidence" />
          <s:enumeration value="HalfPlex" />
          <s:enumeration value="Condo" />
          <s:enumeration value="TownHouse" />
          <s:enumeration value="BothSidesOfDuplex" />
          <s:enumeration value="MobileHome" />
          <s:enumeration value="FourPlex" />
          <s:enumeration value="Apartment" />
          <s:enumeration value="Commercial" />
          <s:enumeration value="Other" />
          <s:enumeration value="MultiUnit" />
          <s:enumeration value="TwoFamily" />
          <s:enumeration value="ThreeFamily" />
          <s:enumeration value="FourFamily" />
          <s:enumeration value="TriPlex" />
          <s:enumeration value="LogCabin" />
          <s:enumeration value="MobileHomeDoubleWide" />
          <s:enumeration value="MobileHomeSingleWide" />
          <s:enumeration value="MobileHomeTripleWide" />
          <s:enumeration value="ROW" />
          <s:enumeration value="Twin" />
          <s:enumeration value="Quad" />
          <s:enumeration value="Manufactured" />
          <s:enumeration value="Unknown" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="FoundationType">
        <s:restriction base="s:string">
          <s:enumeration value="Slab" />
          <s:enumeration value="FinishedBasement" />
          <s:enumeration value="ComboSlabAndCrawl" />
          <s:enumeration value="Crawl" />
          <s:enumeration value="Other" />
          <s:enumeration value="BasementCrawlCombo" />
          <s:enumeration value="BlockAndBeam" />
          <s:enumeration value="Elevated" />
          <s:enumeration value="InsulatedConcreteForm" />
          <s:enumeration value="MobileRaised" />
          <s:enumeration value="PierAndBeam" />
          <s:enumeration value="UnfinishedBasement" />
          <s:enumeration value="RaisedFoundation" />
          <s:enumeration value="Crawl2" />
          <s:enumeration value="PouredConcrete" />
          <s:enumeration value="Unknown" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="PaymentType">
        <s:restriction base="s:string">
          <s:enumeration value="CheckCash" />
          <s:enumeration value="CreditCard" />
          <s:enumeration value="Escrow" />
          <s:enumeration value="None" />
          <s:enumeration value="CreditCardOnSite" />
          <s:enumeration value="Unknown" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="ElectricityType">
        <s:restriction base="s:string">
          <s:enumeration value="Public" />
          <s:enumeration value="Private" />
          <s:enumeration value="Other" />
          <s:enumeration value="Unknown" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="GasType">
        <s:restriction base="s:string">
          <s:enumeration value="NaturalGas" />
          <s:enumeration value="Propane" />
          <s:enumeration value="Other" />
          <s:enumeration value="Unknown" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="WaterType">
        <s:restriction base="s:string">
          <s:enumeration value="Public" />
          <s:enumeration value="Private" />
          <s:enumeration value="Other" />
          <s:enumeration value="Unknown" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="OnOff">
        <s:restriction base="s:string">
          <s:enumeration value="Off" />
          <s:enumeration value="On" />
          <s:enumeration value="Unknown" />
        </s:restriction>
      </s:simpleType>
      <s:complexType name="ArrayOfString">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfLineItem">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="LineItem" nillable="true" type="tns:LineItem" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="LineItem">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="TxnID" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Desc" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Amount" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="RequestHeader" type="tns:RequestHeader" />
      <s:complexType name="RequestHeader">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Username" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Password" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="RequestID" type="s:string" />
        </s:sequence>
        <s:anyAttribute />
      </s:complexType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetInspectionsSoapIn">
    <wsdl:part name="parameters" element="tns:GetInspections" />
  </wsdl:message>
  <wsdl:message name="GetInspectionsSoapOut">
    <wsdl:part name="parameters" element="tns:GetInspectionsResponse" />
  </wsdl:message>
  <wsdl:message name="GetInspectionsRequestHeader">
    <wsdl:part name="RequestHeader" element="tns:RequestHeader" />
  </wsdl:message>
  <wsdl:portType name="ScheduleSoap">
    <wsdl:operation name="GetInspections">
      <wsdl:input message="tns:GetInspectionsSoapIn" />
      <wsdl:output message="tns:GetInspectionsSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="ScheduleSoap" type="tns:ScheduleSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetInspections">
      <soap:operation soapAction="http://www.theschedulecenter.com/ScheduleWS/GetInspections" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:GetInspectionsRequestHeader" part="RequestHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="ScheduleSoap12" type="tns:ScheduleSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetInspections">
      <soap12:operation soapAction="http://www.theschedulecenter.com/ScheduleWS/GetInspections" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:GetInspectionsRequestHeader" part="RequestHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="Schedule">
    <wsdl:port name="ScheduleSoap" binding="tns:ScheduleSoap">
      <soap:address location="http://services.theschedulecenter.com/173/schedulews/schedule.asmx" />
    </wsdl:port>
    <wsdl:port name="ScheduleSoap12" binding="tns:ScheduleSoap12">
      <soap12:address location="http://services.theschedulecenter.com/173/schedulews/schedule.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>