<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions name="SearchHelperService" targetNamespace="urn:ard-search-helper" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:ard-search-helper" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
  <wsdl:types>
    <xs:schema elementFormDefault="qualified" targetNamespace="urn:ard-search-helper" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:import namespace="http://schemas.datacontract.org/2004/07/Ard.Contracts"/>
      <xs:element name="Find">
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" name="query" nillable="true" type="tns:QueryParameters"/>
            <xs:element minOccurs="0" name="userName" nillable="true" type="xs:string"/>
            <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:complexType name="QueryParameters">
        <xs:sequence>
          <xs:element minOccurs="0" name="JurpersCode" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="JurpersCodeOms" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="MoCodeOms" nillable="true" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
      <xs:element name="QueryParameters" nillable="true" type="tns:QueryParameters"/>
      <xs:element name="FindResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element minOccurs="0" name="FindResult" nillable="true" type="tns:ArrayOfQueryResults"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:complexType name="ArrayOfQueryResults">
        <xs:sequence>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="QueryResults" nillable="true" type="tns:QueryResults"/>
        </xs:sequence>
      </xs:complexType>
      <xs:element name="ArrayOfQueryResults" nillable="true" type="tns:ArrayOfQueryResults"/>
      <xs:complexType name="QueryResults">
        <xs:sequence>
          <xs:element minOccurs="0" name="Accounts" nillable="true" type="q1:ArrayOfAccountDTO" xmlns:q1="http://schemas.datacontract.org/2004/07/Ard.Contracts"/>
          <xs:element minOccurs="0" name="DateBirth" nillable="true" type="xs:dateTime"/>
          <xs:element minOccurs="0" name="DismissDate" nillable="true" type="xs:dateTime"/>
          <xs:element minOccurs="0" name="JobBeginDate" nillable="true" type="xs:dateTime"/>
          <xs:element minOccurs="0" name="JurpersCode" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="MiddleName" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="MoCodeOms" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="Sex" type="xs:int"/>
          <xs:element minOccurs="0" name="Snils" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="Surname" nillable="true" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
      <xs:element name="QueryResults" nillable="true" type="tns:QueryResults"/>
    </xs:schema>
    <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/">
      <xs:element name="anyType" nillable="true" type="xs:anyType"/>
      <xs:element name="anyURI" nillable="true" type="xs:anyURI"/>
      <xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/>
      <xs:element name="boolean" nillable="true" type="xs:boolean"/>
      <xs:element name="byte" nillable="true" type="xs:byte"/>
      <xs:element name="dateTime" nillable="true" type="xs:dateTime"/>
      <xs:element name="decimal" nillable="true" type="xs:decimal"/>
      <xs:element name="double" nillable="true" type="xs:double"/>
      <xs:element name="float" nillable="true" type="xs:float"/>
      <xs:element name="int" nillable="true" type="xs:int"/>
      <xs:element name="long" nillable="true" type="xs:long"/>
      <xs:element name="QName" nillable="true" type="xs:QName"/>
      <xs:element name="short" nillable="true" type="xs:short"/>
      <xs:element name="string" nillable="true" type="xs:string"/>
      <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/>
      <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/>
      <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/>
      <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/>
      <xs:element name="char" nillable="true" type="tns:char"/>
      <xs:simpleType name="char">
        <xs:restriction base="xs:int"/>
      </xs:simpleType>
      <xs:element name="duration" nillable="true" type="tns:duration"/>
      <xs:simpleType name="duration">
        <xs:restriction base="xs:duration">
          <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/>
          <xs:minInclusive value="-P10675199DT2H48M5.4775808S"/>
          <xs:maxInclusive value="P10675199DT2H48M5.4775807S"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:element name="guid" nillable="true" type="tns:guid"/>
      <xs:simpleType name="guid">
        <xs:restriction base="xs:string">
          <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:attribute name="FactoryType" type="xs:QName"/>
      <xs:attribute name="Id" type="xs:ID"/>
      <xs:attribute name="Ref" type="xs:IDREF"/>
    </xs:schema>
    <xs:schema elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Ard.Contracts" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.datacontract.org/2004/07/Ard.Contracts">
      <xs:complexType name="ArrayOfAccountDTO">
        <xs:sequence>
          <xs:element minOccurs="0" maxOccurs="unbounded" name="AccountDTO" nillable="true" type="tns:AccountDTO"/>
        </xs:sequence>
      </xs:complexType>
      <xs:element name="ArrayOfAccountDTO" nillable="true" type="tns:ArrayOfAccountDTO"/>
      <xs:complexType name="AccountDTO">
        <xs:sequence>
          <xs:element minOccurs="0" name="DateBegin" nillable="true" type="xs:dateTime"/>
          <xs:element minOccurs="0" name="DateEnd" nillable="true" type="xs:dateTime"/>
          <xs:element minOccurs="0" name="FunctionalGroup" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="Position" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="Post" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="PostRrmr" nillable="true" type="xs:string"/>
		  <xs:element minOccurs="0" name="PostRrmrId" nillable="true" type="xs:string"/>
          <xs:element minOccurs="0" name="SubdivisionCodeOms" nillable="true" type="xs:string"/>
        </xs:sequence>
      </xs:complexType>
      <xs:element name="AccountDTO" nillable="true" type="tns:AccountDTO"/>
    </xs:schema>
  </wsdl:types>
  <wsdl:message name="ISearchHelperService_Find_InputMessage">
    <wsdl:part name="parameters" element="tns:Find"/>
  </wsdl:message>
  <wsdl:message name="ISearchHelperService_Find_OutputMessage">
    <wsdl:part name="parameters" element="tns:FindResponse"/>
  </wsdl:message>
  <wsdl:portType name="ISearchHelperService">
    <wsdl:operation name="Find">
      <wsdl:input wsaw:Action="urn:ard-search-helper/ISearchHelperService/Find" message="tns:ISearchHelperService_Find_InputMessage"/>
      <wsdl:output wsaw:Action="urn:ard-search-helper/ISearchHelperService/FindResponse" message="tns:ISearchHelperService_Find_OutputMessage"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="WSHttpBinding_ISearchHelperService" type="tns:ISearchHelperService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="Find">
      <soap:operation soapAction="urn:ard-search-helper/ISearchHelperService/Find" style="document" />
      <wsdl:input>
        <soap12:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="SearchHelperService">
   <!-- <wsdl:port name="WSHttpBinding_ISearchHelperService" binding="binding">
      <soap:address location="http://10.0.1.61:3845/ard" />
    </wsdl:port>-->
    <wsdl:port binding="tns:WSHttpBinding_ISearchHelperService" name="WSHttpBinding_ISearchHelperService">
      <soap:address
         location="http://10.0.1.61:3845/ard" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>