<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:fml.WEBSERVICE_EDI" name="SoapHandler" targetNamespace="urn:fml.WEBSERVICE_EDI">
  <types>
    <xsd:schema targetNamespace="urn:fml.WEBSERVICE_EDI"/>
  </types>
  <portType name="fml.WEBSERVICE_EDIPortType">
    <operation name="webservice.ConfirmarArquivos">
      <documentation>Confirmar recebimento de arquivo pelo cliente.</documentation>
      <input message="tns:webservice.ConfirmarArquivosRequest"/>
      <output message="tns:webservice.ConfirmarArquivosResponse"/>
    </operation>
    <operation name="webservice.ReceberArquivos">
      <documentation>Receber arquivo disponibilizado na caixa postal do cliente.</documentation>
      <input message="tns:webservice.ReceberArquivosRequest"/>
      <output message="tns:webservice.ReceberArquivosResponse"/>
    </operation>
    <operation name="webservice.ListarArquivos">
      <documentation>Listar arquivos disponiveis na caixa postal do cliente.</documentation>
      <input message="tns:webservice.ListarArquivosRequest"/>
      <output message="tns:webservice.ListarArquivosResponse"/>
    </operation>
    <operation name="webservice.RedefinirSenha">
      <documentation>Redefinir senha do usuario no FileTransfer.</documentation>
      <input message="tns:webservice.RedefinirSenhaRequest"/>
      <output message="tns:webservice.RedefinirSenhaResponse"/>
    </operation>
    <operation name="webservice.EnviarArquivos">
      <documentation>Enviar arquivo para a caixa postal de entrada. O parametro "conteudo" devera ser o conteudo do arquivo, codificado com base64. O parametro "hash" devera ser um MD5 do conteudo do arquivo.</documentation>
      <input message="tns:webservice.EnviarArquivosRequest"/>
      <output message="tns:webservice.EnviarArquivosResponse"/>
    </operation>
    <operation name="webservice.EnviarArquivosCitibank">
      <documentation>Enviar arquivo para a caixa postal de entrada (Citibank). O parametro "conteudo" devera ser o conteudo do arquivo, codificado com base64. O parametro "hash" devera ser um SHA-256 do conteudo do arquivo.</documentation>
      <input message="tns:webservice.EnviarArquivosCitibankRequest"/>
      <output message="tns:webservice.EnviarArquivosCitibankResponse"/>
    </operation>
  </portType>
  <binding name="fml.WEBSERVICE_EDIBinding" type="tns:fml.WEBSERVICE_EDIPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="webservice.ConfirmarArquivos">
      <soap:operation soapAction="urn:fml.WEBSERVICE_EDI#ConfirmarArquivos" style="rpc"/>
      <input>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    <operation name="webservice.ReceberArquivos">
      <soap:operation soapAction="urn:fml.WEBSERVICE_EDI#ReceberArquivos" style="rpc"/>
      <input>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    <operation name="webservice.ListarArquivos">
      <soap:operation soapAction="urn:fml.WEBSERVICE_EDI#ListarArquivos" style="rpc"/>
      <input>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    <operation name="webservice.RedefinirSenha">
      <soap:operation soapAction="urn:fml.WEBSERVICE_EDI#RedefinirSenha" style="rpc"/>
      <input>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    <operation name="webservice.EnviarArquivos">
      <soap:operation soapAction="urn:fml.WEBSERVICE_EDI#EnviarArquivos" style="rpc"/>
      <input>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
    <operation name="webservice.EnviarArquivosCitibank">
      <soap:operation soapAction="urn:fml.WEBSERVICE_EDI#EnviarArquivosCitibank" style="rpc"/>
      <input>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </input>
      <output>
        <soap:body use="encoded" namespace="urn:fml.WEBSERVICE_EDI" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
      </output>
    </operation>
  </binding>
  <service name="fml.WEBSERVICE_EDI">
    <port name="fml.WEBSERVICE_EDIPort" binding="tns:fml.WEBSERVICE_EDIBinding">
      <soap:address location="http://webservice-edi-homol.finnet.com.br"/>
    </port>
  </service>
  <message name="webservice.ConfirmarArquivosRequest">
    <part name="usuario" type="xsd:string"/>
    <part name="senha" type="xsd:string"/>
    <part name="caixa_postal" type="xsd:string"/>
    <part name="filename" type="xsd:string"/>
    <part name="encode" type="xsd:string"/>
  </message>
  <message name="webservice.ConfirmarArquivosResponse">
    <part name="return" type="xsd:string"/>
  </message>
  <message name="webservice.ReceberArquivosRequest">
    <part name="usuario" type="xsd:string"/>
    <part name="senha" type="xsd:string"/>
    <part name="caixa_postal" type="xsd:string"/>
    <part name="filename" type="xsd:string"/>
    <part name="encode" type="xsd:string"/>
  </message>
  <message name="webservice.ReceberArquivosResponse">
    <part name="return" type="xsd:string"/>
  </message>
  <message name="webservice.ListarArquivosRequest">
    <part name="usuario" type="xsd:string"/>
    <part name="senha" type="xsd:string"/>
    <part name="caixa_postal" type="xsd:string"/>
    <part name="encode" type="xsd:string"/>
  </message>
  <message name="webservice.ListarArquivosResponse">
    <part name="return" type="xsd:string"/>
  </message>
  <message name="webservice.RedefinirSenhaRequest">
    <part name="usuario" type="xsd:string"/>
    <part name="senha_atual" type="xsd:string"/>
    <part name="nova_senha" type="xsd:string"/>
    <part name="confirmacao_nova_senha" type="xsd:string"/>
    <part name="caixa_postal" type="xsd:string"/>
  </message>
  <message name="webservice.RedefinirSenhaResponse">
    <part name="return" type="xsd:string"/>
  </message>
  <message name="webservice.EnviarArquivosRequest">
    <part name="usuario" type="xsd:string"/>
    <part name="senha" type="xsd:string"/>
    <part name="caixa_postal" type="xsd:string"/>
    <part name="hash" type="xsd:string"/>
    <part name="filename" type="xsd:string"/>
    <part name="conteudo" type="xsd:string"/>
    <part name="encode" type="xsd:string"/>
  </message>
  <message name="webservice.EnviarArquivosResponse">
    <part name="return" type="xsd:string"/>
  </message>
  <message name="webservice.EnviarArquivosCitibankRequest">
    <part name="usuario" type="xsd:string"/>
    <part name="senha" type="xsd:string"/>
    <part name="caixa_postal" type="xsd:string"/>
    <part name="hash" type="xsd:string"/>
    <part name="filename" type="xsd:string"/>
    <part name="conteudo" type="xsd:string"/>
    <part name="encode" type="xsd:string"/>
  </message>
  <message name="webservice.EnviarArquivosCitibankResponse">
    <part name="return" type="xsd:string"/>
  </message>
</wsdl:definitions>
