<?xml version="1.0"?>
<!-- WSDL description for Flash-db's Whois -->

<definitions name="urn:Whois"
             targetNamespace="urn:Whois"
             xmlns:typens="urn:Whois"
             xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
             xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
             xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
             xmlns="http://schemas.xmlsoap.org/wsdl/">

  <message name="doWhois">
    <part name="username" type="xsd:string"/>
    <part name="password" type="xsd:string"/>
    <part name="domain" type="xsd:string"/>
  </message>

  <message name="doWhoisResponse">
  	<part name="return" type="xsd:string"/>         
  </message>



  <portType name="WhoisPort">
    <operation name="doWhois">
      <input message="typens:doWhois"/>
      <output message="typens:doWhoisResponse"/>
    </operation>

  </portType>

  <binding name="WhoisBinding" type="typens:WhoisPort">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

    <operation name="doWhois">
      <soap:operation soapAction="urn:WhoisAction"/>
      <input>
        <soap:body use="encoded"
                   namespace="urn:Whois"
                   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
        <soap:body use="encoded"
                   namespace="urn:Whois"
                   encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
  </binding>

  <!-- Endpoint -->
  <service name="WhoisService">
  <documentation>A fast and easy whois lookup for flash.</documentation>
    <port name="WhoisPort" binding="typens:WhoisBinding">
      <soap:address location="http://www.flash-db.com/services/ws/flashWhois.php"/>
    </port>
  </service>
</definitions>

