<?xml version="1.0" encoding="ISO-8859-1"?>
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://ws.anatoa.com/ws/?wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.anatoa.com/ws/?wsdl">
<types>
<xsd:schema targetNamespace="http://ws.anatoa.com/ws/?wsdl"
>
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
 <xsd:complexType name="ProfileType">
  <xsd:all>
   <xsd:element name="Email" type="xsd:string"/>
   <xsd:element name="EmailHash" type="xsd:string"/>
   <xsd:element name="UserName" type="xsd:string"/>
   <xsd:element name="FirstName" type="xsd:string"/>
   <xsd:element name="LastName" type="xsd:string"/>
   <xsd:element name="Country" type="xsd:string"/>
   <xsd:element name="IPAddress" type="xsd:string"/>
   <xsd:element name="ProxyIP" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="ProfilesType">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:ProfileType[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="ImageType">
  <xsd:all>
   <xsd:element name="ImageHash" type="xsd:string"/>
   <xsd:element name="Image" type="xsd:string"/>
   <xsd:element name="Email" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="ImagesType">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:ImageType[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="MessageType">
  <xsd:all>
   <xsd:element name="Message" type="xsd:string"/>
   <xsd:element name="Email" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
 <xsd:complexType name="MessagesType">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:MessageType[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="ReturnType">
  <xsd:complexContent>
   <xsd:restriction base="SOAP-ENC:Array">
    <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]"/>
   </xsd:restriction>
  </xsd:complexContent>
 </xsd:complexType>
 <xsd:complexType name="ClientInfoType">
  <xsd:all>
   <xsd:element name="APIKey" type="xsd:string"/>
   <xsd:element name="Name" type="xsd:string"/>
   <xsd:element name="Version" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
</xsd:schema>
</types>
<message name="getLatestVersionRequest">
  <part name="ClientInfo" type="tns:ClientInfoType" /></message>
<message name="getLatestVersionResponse">
  <part name="version" type="xsd:string" /></message>
<message name="verifyKeyRequest">
  <part name="ClientInfo" type="tns:ClientInfoType" /></message>
<message name="verifyKeyResponse">
  <part name="return" type="xsd:string" /></message>
<message name="checkProfileRequest">
  <part name="ClientInfo" type="tns:ClientInfoType" />
  <part name="Profiles" type="tns:ProfilesType" /></message>
<message name="checkProfileResponse">
  <part name="return" type="tns:ReturnType" /></message>
<message name="checkMessageRequest">
  <part name="ClientInfo" type="tns:ClientInfoType" />
  <part name="Messages" type="tns:MessagesType" /></message>
<message name="checkMessageResponse">
  <part name="return" type="tns:ReturnType" /></message>
<message name="checkImageRequest">
  <part name="ClientInfo" type="tns:ClientInfoType" />
  <part name="Images" type="tns:ImagesType" /></message>
<message name="checkImageResponse">
  <part name="return" type="tns:ReturnType" /></message>
<message name="reportProfileRequest">
  <part name="ClientInfo" type="tns:ClientInfoType" />
  <part name="Profiles" type="tns:ProfilesType" /></message>
<message name="reportProfileResponse">
  <part name="return" type="tns:ReturnType" /></message>
<message name="reportMessageRequest">
  <part name="ClientInfo" type="tns:ClientInfoType" />
  <part name="Messages" type="tns:MessagesType" /></message>
<message name="reportMessageResponse">
  <part name="return" type="tns:ReturnType" /></message>
<message name="reportImageRequest">
  <part name="ClientInfo" type="tns:ClientInfoType" />
  <part name="Images" type="tns:ImagesType" /></message>
<message name="reportImageResponse">
  <part name="return" type="tns:ReturnType" /></message>
<portType name="AnatoaPortType">
  <operation name="getLatestVersion">
    <documentation>Get latest version number of a given plugin</documentation>
    <input message="tns:getLatestVersionRequest"/>
    <output message="tns:getLatestVersionResponse"/>
  </operation>
  <operation name="verifyKey">
    <documentation>Verify API subscription key</documentation>
    <input message="tns:verifyKeyRequest"/>
    <output message="tns:verifyKeyResponse"/>
  </operation>
  <operation name="checkProfile">
    <documentation>Check a profile and get fraud score</documentation>
    <input message="tns:checkProfileRequest"/>
    <output message="tns:checkProfileResponse"/>
  </operation>
  <operation name="checkMessage">
    <documentation>Check a message and get fraud score</documentation>
    <input message="tns:checkMessageRequest"/>
    <output message="tns:checkMessageResponse"/>
  </operation>
  <operation name="checkImage">
    <documentation>Check an image and get fraud score</documentation>
    <input message="tns:checkImageRequest"/>
    <output message="tns:checkImageResponse"/>
  </operation>
  <operation name="reportProfile">
    <documentation>Report a fraudulent profile</documentation>
    <input message="tns:reportProfileRequest"/>
    <output message="tns:reportProfileResponse"/>
  </operation>
  <operation name="reportMessage">
    <documentation>Report a fraudulent message</documentation>
    <input message="tns:reportMessageRequest"/>
    <output message="tns:reportMessageResponse"/>
  </operation>
  <operation name="reportImage">
    <documentation>Report a fraudulent image</documentation>
    <input message="tns:reportImageRequest"/>
    <output message="tns:reportImageResponse"/>
  </operation>
</portType>
<binding name="AnatoaBinding" type="tns:AnatoaPortType">
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="getLatestVersion">
    <soap:operation soapAction="http://ws.anatoa.com/ws/?wsdl#getLatestVersion" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="verifyKey">
    <soap:operation soapAction="http://ws.anatoa.com/ws/?wsdl#verifyKey" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="checkProfile">
    <soap:operation soapAction="http://ws.anatoa.com/ws/?wsdl#checkProfile" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="checkMessage">
    <soap:operation soapAction="http://ws.anatoa.com/ws/?wsdl#checkMessage" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="checkImage">
    <soap:operation soapAction="http://ws.anatoa.com/ws/?wsdl#checkImage" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="reportProfile">
    <soap:operation soapAction="http://ws.anatoa.com/ws/?wsdl#reportProfile" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="reportMessage">
    <soap:operation soapAction="http://ws.anatoa.com/ws/?wsdl#reportMessage" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
  <operation name="reportImage">
    <soap:operation soapAction="http://ws.anatoa.com/ws/?wsdl#reportImage" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://ws.anatoa.com/ws/?wsdl" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
</binding>
<service name="Anatoa">
  <port name="AnatoaPort" binding="tns:AnatoaBinding">
    <soap:address location="http://www.anatoa.com/ws/index.php"/>
  </port>
</service>
</definitions>