<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
  xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
      <s:element name="GetPersonTypeLibs">
        <s:complexType />
      </s:element>
      <s:element name="GetPersonTypeLibsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetPersonTypeLibsResult" type="tns:PersonTypeLibResult" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="PersonTypeLibResult">
        <s:complexContent mixed="false">
          <s:extension base="tns:Result">
            <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="Items" type="tns:ArrayOfPersonTypeLibItem" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:complexType name="Result">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="Code" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfPersonTypeLibItem">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="PersonTypeLibItem" nillable="true" type="tns:PersonTypeLibItem" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="PersonTypeLibItem">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="CredentialHeader" type="tns:CredentialHeader" />
      <s:complexType name="CredentialHeader">
        <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:sequence>
        <s:anyAttribute />
      </s:complexType>
      <s:element name="Recognise">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="photo" type="s:base64Binary" />
            <s:element minOccurs="1" maxOccurs="1" name="suspectedCount" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="minSimilarity" type="s:float" />
            <s:element minOccurs="1" maxOccurs="1" name="personLibTypeId" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="sex" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="angln" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="agesType" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="imageFormatWidth" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="imageFormatHeight" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="RecogniseResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="RecogniseResult" type="tns:RecogniseResult" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="RecogniseResult">
        <s:complexContent mixed="false">
          <s:extension base="tns:Result">
            <s:sequence>
              <s:element minOccurs="0" maxOccurs="1" name="PhotoFace" type="s:base64Binary" />
              <s:element minOccurs="0" maxOccurs="1" name="Items" type="tns:ArrayOfPersonItem" />
            </s:sequence>
          </s:extension>
        </s:complexContent>
      </s:complexType>
      <s:complexType name="ArrayOfPersonItem">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="PersonItem" nillable="true" type="tns:PersonItem" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="PersonItem">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="PersonID" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="FacePhoto" type="s:base64Binary" />
          <s:element minOccurs="1" maxOccurs="1" name="Similarity" type="s:float" />
          <s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="Sex" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="IDCard" type="s:string" />
        </s:sequence>
      </s:complexType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetPersonTypeLibsSoapIn">
    <wsdl:part name="parameters" element="tns:GetPersonTypeLibs" />
  </wsdl:message>
  <wsdl:message name="GetPersonTypeLibsSoapOut">
    <wsdl:part name="parameters" element="tns:GetPersonTypeLibsResponse" />
  </wsdl:message>
  <wsdl:message name="GetPersonTypeLibsCredentialHeader">
    <wsdl:part name="CredentialHeader" element="tns:CredentialHeader" />
  </wsdl:message>
  <wsdl:message name="RecogniseSoapIn">
    <wsdl:part name="parameters" element="tns:Recognise" />
  </wsdl:message>
  <wsdl:message name="RecogniseSoapOut">
    <wsdl:part name="parameters" element="tns:RecogniseResponse" />
  </wsdl:message>
  <wsdl:message name="RecogniseCredentialHeader">
    <wsdl:part name="CredentialHeader" element="tns:CredentialHeader" />
  </wsdl:message>
  <wsdl:portType name="WsForAndroidSoap">
    <wsdl:operation name="GetPersonTypeLibs">
      <wsdl:input message="tns:GetPersonTypeLibsSoapIn" />
      <wsdl:output message="tns:GetPersonTypeLibsSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="Recognise">
      <wsdl:input message="tns:RecogniseSoapIn" />
      <wsdl:output message="tns:RecogniseSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="WsForAndroidSoap" type="tns:WsForAndroidSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetPersonTypeLibs">
      <soap:operation soapAction="http://tempuri.org/GetPersonTypeLibs" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:GetPersonTypeLibsCredentialHeader" part="CredentialHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Recognise">
      <soap:operation soapAction="http://tempuri.org/Recognise" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:RecogniseCredentialHeader" part="CredentialHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="WsForAndroidSoap12" type="tns:WsForAndroidSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="GetPersonTypeLibs">
      <soap12:operation soapAction="http://tempuri.org/GetPersonTypeLibs" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:GetPersonTypeLibsCredentialHeader" part="CredentialHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Recognise">
      <soap12:operation soapAction="http://tempuri.org/Recognise" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
        <soap12:header message="tns:RecogniseCredentialHeader" part="CredentialHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="WsForAndroid">
    <wsdl:port name="WsForAndroidSoap" binding="tns:WsForAndroidSoap">
      <soap:address location="http://localhost/bc/service/wsforandroid.asmx" />
    </wsdl:port>
    <wsdl:port name="WsForAndroidSoap12" binding="tns:WsForAndroidSoap12">
      <soap12:address location="http://localhost/bc/service/wsforandroid.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>