<?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.notequalsoft.com/web/services/captcha/" 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.notequalsoft.com/web/services/captcha/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Notequalsoft CAPTCHA Service.&lt;br/&gt;&amp;copy; Notequalsoft, 2008. &lt;a href="http://www.notequalsoft.com/web/services/captcha/index.html#usage"&gt;Terms of Use&lt;/a&gt;.</wsdl:documentation>
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.notequalsoft.com/web/services/captcha/">
      <s:element name="Generate">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="Width" type="s:int" />
            <s:element minOccurs="1" maxOccurs="1" name="Height" type="s:int" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GenerateResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GenerateResult" type="tns:GenerateResult" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="GenerateResult">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="ImageUri" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="ImageWidth" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="ImageHeight" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="PublicKey" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="Validate">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="PublicKey" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="Response" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ValidateResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="ValidateResult" type="tns:ValidateResult" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ValidateResult">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="Valid" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="Success" type="s:boolean" />
        </s:sequence>
      </s:complexType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GenerateSoapIn">
    <wsdl:part name="parameters" element="tns:Generate" />
  </wsdl:message>
  <wsdl:message name="GenerateSoapOut">
    <wsdl:part name="parameters" element="tns:GenerateResponse" />
  </wsdl:message>
  <wsdl:message name="ValidateSoapIn">
    <wsdl:part name="parameters" element="tns:Validate" />
  </wsdl:message>
  <wsdl:message name="ValidateSoapOut">
    <wsdl:part name="parameters" element="tns:ValidateResponse" />
  </wsdl:message>
  <wsdl:portType name="CAPTCHASoap">
    <wsdl:operation name="Generate">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Generates a CAPTCHA image of specific size and corresponding public key for validation.</wsdl:documentation>
      <wsdl:input message="tns:GenerateSoapIn" />
      <wsdl:output message="tns:GenerateSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="Validate">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Validates a CAPTCHA response for the specified public key.</wsdl:documentation>
      <wsdl:input message="tns:ValidateSoapIn" />
      <wsdl:output message="tns:ValidateSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="CAPTCHASoap" type="tns:CAPTCHASoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="Generate">
      <soap:operation soapAction="http://www.notequalsoft.com/web/services/captcha/Generate" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Validate">
      <soap:operation soapAction="http://www.notequalsoft.com/web/services/captcha/Validate" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="CAPTCHASoap12" type="tns:CAPTCHASoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="Generate">
      <soap12:operation soapAction="http://www.notequalsoft.com/web/services/captcha/Generate" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="Validate">
      <soap12:operation soapAction="http://www.notequalsoft.com/web/services/captcha/Validate" 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="CAPTCHA">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Notequalsoft CAPTCHA Service.&lt;br/&gt;&amp;copy; Notequalsoft, 2008. &lt;a href="http://www.notequalsoft.com/web/services/captcha/index.html#usage"&gt;Terms of Use&lt;/a&gt;.</wsdl:documentation>
    <wsdl:port name="CAPTCHASoap" binding="tns:CAPTCHASoap">
      <soap:address location="http://www.notequalsoft.com/web/services/captcha/Captcha.asmx" />
    </wsdl:port>
    <wsdl:port name="CAPTCHASoap12" binding="tns:CAPTCHASoap12">
      <soap12:address location="http://www.notequalsoft.com/web/services/captcha/Captcha.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>