<?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="urn:captcha" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:captcha">
<types><xsd:schema targetNamespace="urn:captcha"
>
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
 <xsd:complexType name="CaptchaReq">
  <xsd:all>
   <xsd:element name="Code" type="xsd:string"/>
   <xsd:element name="Mode" type="xsd:string"/>
   <xsd:element name="Language" type="xsd:string"/>
   <xsd:element name="Obfuscate" type="xsd:boolean"/>
   <xsd:element name="Prefix" type="xsd:boolean"/>
   <xsd:element name="Extend" type="xsd:boolean"/>
   <xsd:element name="Count" type="xsd:boolean"/>
  </xsd:all>
 </xsd:complexType>
</xsd:schema>
</types>
<message name="captchaRequest"><part name="captcha_data" type="tns:CaptchaReq" /></message>
<message name="captchaResponse"><part name="mp3url" type="xsd:string" /></message>
<portType name="captchaPortType"><operation name="captcha"><documentation>Generates an mp3 rendition of a captcha code and returns its url. The captcha Code string is case-insensitive, must be alphanumeric and between 2 and 20 characters long. Extend increases retention of the mp3 from 3 to 30 minutes. Obfuscate adds effects to the audio to mitigate speech recognition abuse. Prefix prepends a random phrase to the audio. Count prepends an announcement of the captcha length to the audio. Mode is one of simple, phonetic, both or animal and selects the style of captcha reading.</documentation><input message="tns:captchaRequest"/><output message="tns:captchaResponse"/></operation></portType>
<binding name="captchaBinding" type="tns:captchaPortType"><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="captcha"><soap:operation soapAction="urn:captcha#makeaudio" style="rpc"/><input><soap:body use="encoded" namespace="urn:captcha" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:captcha" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation></binding>
<service name="captcha"><port name="captchaPort" binding="tns:captchaBinding"><soap:address location="http://captcha.cognable.com/index.php"/></port></service>
</definitions>


