<?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://charter.com/enterprise/orderservices/customerorders" xmlns:s1="http://microsoft.com/wsdl/types/" 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://charter.com/enterprise/orderservices/customerorders" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://charter.com/enterprise/orderservices/customerorders">
      <s:import namespace="http://microsoft.com/wsdl/types/" />
      <s:element name="GetCustomerOrderCriteriaRequest">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Criteria" type="tns:CustomerOrderCriteria" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="CustomerOrderCriteria">
        <s:sequence>
          <s:choice minOccurs="1" maxOccurs="1">
            <s:element minOccurs="0" maxOccurs="1" name="NameAndPhone">
              <s:complexType>
                <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="LastName" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="FirstName" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="PhoneNumber" type="s:string" />
                </s:sequence>
              </s:complexType>
            </s:element>
            <s:element minOccurs="0" maxOccurs="1" name="House">
              <s:complexType>
                <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="HouseRef" type="s:string" />
                  <s:element minOccurs="1" maxOccurs="1" name="OccupantStatus">
                    <s:simpleType>
                      <s:restriction base="s:string">
                        <s:enumeration value="All" />
                        <s:enumeration value="Current" />
                        <s:enumeration value="Previous" />
                      </s:restriction>
                    </s:simpleType>
                  </s:element>
                  <s:element minOccurs="0" maxOccurs="1" name="AccountID" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="EntityID" type="s:string" />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:choice>
        </s:sequence>
      </s:complexType>
      <s:element name="GetCustomerOrderCriteriaResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="Result" type="tns:Result" />
            <s:element minOccurs="0" maxOccurs="unbounded" name="House">
              <s:complexType>
                <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="HouseRef" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="AddressLine1" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="AddressLine2" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="State" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="Zip" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="Zip4" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="BillingSystem" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="EntityID" />
                  <s:element minOccurs="0" maxOccurs="1" name="Site" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="Company" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="Division" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="System" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="Principle" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="1" name="Agent" type="s:string" />
                  <s:element minOccurs="0" maxOccurs="unbounded" name="Resident">
                    <s:complexType>
                      <s:sequence>
                        <s:element minOccurs="0" maxOccurs="1" name="CustomerID" type="s:string" />
                        <s:element minOccurs="0" maxOccurs="1" name="AccountID" type="s:string" />
                        <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="PhoneNumber" type="s:string" />
                        <s:element minOccurs="0" maxOccurs="1" name="SSN" type="s:string" />
                        <s:element minOccurs="0" maxOccurs="1" name="TypeCode" type="s:string" />
                        <s:element minOccurs="0" maxOccurs="1" name="CurrentResident" type="s:string" />
                        <s:element minOccurs="0" maxOccurs="1" name="SubStatus" type="s:string" />
                        <s:element minOccurs="0" maxOccurs="unbounded" name="Order">
                          <s:complexType>
                            <s:sequence>
                              <s:element minOccurs="0" maxOccurs="1" name="ID" type="s:string" />
                              <s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string" />
                              <s:element minOccurs="1" maxOccurs="1" name="Type" type="s:int" />
                              <s:element minOccurs="0" maxOccurs="1" name="TypeDescription" type="s:string" />
                            </s:sequence>
                          </s:complexType>
                        </s:element>
                        <s:element minOccurs="0" maxOccurs="unbounded" name="AccountsRecievable">
                          <s:complexType>
                            <s:sequence>
                              <s:element minOccurs="1" maxOccurs="1" name="Statement" type="s:int" />
                              <s:element minOccurs="1" maxOccurs="1" name="CurrentBalance" type="s:decimal" />
                              <s:element minOccurs="0" maxOccurs="1" name="Delinquency">
                                <s:complexType>
                                  <s:sequence>
                                    <s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string" />
                                    <s:element minOccurs="0" maxOccurs="1" name="StartDate" type="s:string" />
                                    <s:element minOccurs="1" maxOccurs="1" name="Amount" type="s:decimal" />
                                    <s:element minOccurs="0" maxOccurs="1" name="WriteOffBalance" type="s:decimal" />
                                    <s:element minOccurs="0" maxOccurs="1" name="ThirtyDays" type="s:decimal" />
                                    <s:element minOccurs="0" maxOccurs="1" name="SixtyDays" type="s:decimal" />
                                    <s:element minOccurs="0" maxOccurs="1" name="NinetyDays" type="s:decimal" />
                                    <s:element minOccurs="0" maxOccurs="1" name="OneHundredTwentyDays" type="s:decimal" />
                                    <s:element minOccurs="0" maxOccurs="1" name="OneHundredFiftyDays" type="s:decimal" />
                                  </s:sequence>
                                </s:complexType>
                              </s:element>
                            </s:sequence>
                          </s:complexType>
                        </s:element>
                      </s:sequence>
                    </s:complexType>
                  </s:element>
                  <s:element minOccurs="0" maxOccurs="unbounded" name="LOB">
                    <s:complexType>
                      <s:sequence>
                        <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
                        <s:element minOccurs="0" maxOccurs="1" name="Status" type="s:string" />
                        <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
                      </s:sequence>
                    </s:complexType>
                  </s:element>
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="Result">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="ReturnCode" type="tns:ResultReturnCode" />
          <s:element minOccurs="0" maxOccurs="1" name="ReferenceCode" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="Type" type="tns:ResultType" />
          <s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="DateTime" type="s:dateTime" />
          <s:element minOccurs="0" maxOccurs="1" name="Source" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Server" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ExceptionInfo" type="tns:ResultExceptionInfo" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="StatusMessages" type="tns:CsgStatusMessage" />
        </s:sequence>
      </s:complexType>
      <s:simpleType name="ResultReturnCode">
        <s:restriction base="s:string">
          <s:enumeration value="Success" />
          <s:enumeration value="NoDataFound" />
          <s:enumeration value="InvalidXml" />
          <s:enumeration value="BusinessRuleNotMet" />
          <s:enumeration value="Exception" />
          <s:enumeration value="DatabaseError" />
        </s:restriction>
      </s:simpleType>
      <s:simpleType name="ResultType">
        <s:restriction base="s:string">
          <s:enumeration value="Informational" />
          <s:enumeration value="Error" />
        </s:restriction>
      </s:simpleType>
      <s:complexType name="ResultExceptionInfo">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Type" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="StackTrace" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="CsgStatusMessage">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Code" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="CharterHeaderInfo" type="tns:CharterHeaderInfo" />
      <s:complexType name="CharterHeaderInfo">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="TranId" type="s1:guid" />
          <s:element minOccurs="1" maxOccurs="1" name="LogOnly" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="DataSourceOverride" type="tns:DataSourceOverrideType" />
        </s:sequence>
        <s:anyAttribute />
      </s:complexType>
      <s:simpleType name="DataSourceOverrideType">
        <s:restriction base="s:string">
          <s:enumeration value="NoOverride" />
          <s:enumeration value="OverrideToDatabase" />
          <s:enumeration value="OverrideToRemoteSystem" />
        </s:restriction>
      </s:simpleType>
    </s:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/wsdl/types/">
      <s:simpleType name="guid">
        <s:restriction base="s:string">
          <s:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" />
        </s:restriction>
      </s:simpleType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetCustomerOrderCriteriaSoapIn">
    <wsdl:part name="getCustomerOrderCriteriaRequest" element="tns:GetCustomerOrderCriteriaRequest" />
  </wsdl:message>
  <wsdl:message name="GetCustomerOrderCriteriaSoapOut">
    <wsdl:part name="GetCustomerOrderCriteriaResult" element="tns:GetCustomerOrderCriteriaResponse" />
  </wsdl:message>
  <wsdl:message name="GetCustomerOrderCriteriaCharterHeaderInfo">
    <wsdl:part name="CharterHeaderInfo" element="tns:CharterHeaderInfo" />
  </wsdl:message>
  <wsdl:portType name="CustomerOrderService">
    <wsdl:operation name="GetCustomerOrderCriteria">
      <wsdl:input message="tns:GetCustomerOrderCriteriaSoapIn" />
      <wsdl:output message="tns:GetCustomerOrderCriteriaSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="CustomerOrderService" type="tns:CustomerOrderService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetCustomerOrderCriteria">
      <soap:operation soapAction="http://charter.com/enterprise/orderservices/customerorders:getCustomerOrderCriteriaIn" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:GetCustomerOrderCriteriaCharterHeaderInfo" part="CharterHeaderInfo" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="CustomerOrderService1" type="tns:CustomerOrderService">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetCustomerOrderCriteria">
      <soap12:operation soapAction="http://charter.com/enterprise/orderservices/customerorders:getCustomerOrderCriteriaIn" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:GetCustomerOrderCriteriaCharterHeaderInfo" part="CharterHeaderInfo" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="CustomerOrderServicePort">
    <wsdl:port name="CustomerOrderService" binding="tns:CustomerOrderService">
      <soap:address location="http://ebs-test/orderservices/customerorderservice.asmx" />
    </wsdl:port>
    <wsdl:port name="CustomerOrderService1" binding="tns:CustomerOrderService1">
      <soap12:address location="http://ebs-test/orderservices/customerorderservice.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>