<?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://webservices.tekever.eu/ip2pais" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://webservices.tekever.eu/ip2pais">
<types>
<xsd:schema targetNamespace="http://webservices.tekever.eu/ip2pais"
>
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
 <xsd:complexType name="paisdados">
  <xsd:all>
   <xsd:element name="isocode" type="xsd:string"/>
   <xsd:element name="pais" type="xsd:string"/>
   <xsd:element name="regiao" type="xsd:string"/>
   <xsd:element name="capital" type="xsd:string"/>
   <xsd:element name="moeda" type="xsd:string"/>
  </xsd:all>
 </xsd:complexType>
</xsd:schema>
</types>
<message name="IP2PaisRequest">
  <part name="ip" type="xsd:string" /></message>
<message name="IP2PaisResponse">
  <part name="retorna" type="tns:paisdados" /></message>
<portType name="ConversaodeIPparaPaisPortType">
  <operation name="IP2Pais">
    <documentation>Indicar IP que pretenda ser convertido em dados sobre o país de origem. Este webservice não controla se o acesso é de robots.</documentation>
    <input message="tns:IP2PaisRequest"/>
    <output message="tns:IP2PaisResponse"/>
  </operation>
</portType>
<binding name="ConversaodeIPparaPaisBinding" type="tns:ConversaodeIPparaPaisPortType">
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="IP2Pais">
    <soap:operation soapAction="http://webservices.tekever.eu/ip2pais#IP2Pais" style="rpc"/>
    <input><soap:body use="encoded" namespace="http://webservices.tekever.eu/ip2pais" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
    <output><soap:body use="encoded" namespace="http://webservices.tekever.eu/ip2pais" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
  </operation>
</binding>
<service name="ConversaodeIPparaPais">
  <port name="ConversaodeIPparaPaisPort" binding="tns:ConversaodeIPparaPaisBinding">
    <soap:address location="http://webservices.tekever.eu/ip2pais/index.php"/>
  </port>
</service>
</definitions>