<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s0="http://ptu.unimed.coop.br/schemas/V1_0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://ptu.unimed.coop.br/schemas/V1_0">
      <s:element name="ptuA100_Pos_UB">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="cabecalho">
              <s:complexType>
                <s:complexContent mixed="false">
                  <s:extension base="s0:ct_CabecalhoPTU">
                    <s:sequence>
                      <s:element minOccurs="0" maxOccurs="1" name="nr_transacao" type="s:integer" />
                    </s:sequence>
                  </s:extension>
                </s:complexContent>
              </s:complexType>
            </s:element>
            <s:element minOccurs="0" maxOccurs="1" name="arquivoA100" type="s0:ct_pos3" />
            <s:element minOccurs="0" maxOccurs="1" name="hash" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="ct_CabecalhoPTU">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="nrVerTra_PTU" type="s:integer" />
          <s:element minOccurs="0" maxOccurs="1" name="unimed" type="s0:ct_codUnimed" />
          <s:element minOccurs="0" maxOccurs="1" name="dt_geracao" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ct_codUnimed">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="cd_Uni_Destino" type="s:integer" />
          <s:element minOccurs="0" maxOccurs="1" name="cd_Uni_Origem" type="s:integer" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ct_pos3">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="Compart_Pos">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="unbounded" name="Beneficiarios_Proprios" type="s0:ct_dadosdoenvioA100_simp2" />
                <s:element minOccurs="0" maxOccurs="unbounded" name="Beneficiarios_Outros" type="s0:ct_dadosdoenvioA100_simp3" />
              </s:sequence>
            </s:complexType>
          </s:element>
        </s:sequence>
      </s:complexType>
      <s:complexType name="ct_dadosdoenvioA100_simp2">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="cd_Uni_Destino" type="s:integer" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="beneficiario" type="s0:ct_benef_simp_UB" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ct_benef_simp_UB">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="identificacaoBenef" type="s0:ct_identificacaoBenef" />
          <s:element minOccurs="0" maxOccurs="1" name="cd_cpf" type="s:integer" />
          <s:element minOccurs="0" maxOccurs="1" name="nm_compl_benef" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="dt_Nasc" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="tp_contr_local" type="s0:st_tp_contr_local" />
          <s:element minOccurs="0" maxOccurs="1" name="dt_ini_comp_risco" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="dt_fim_comp_risco" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ct_identificacaoBenef">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="cd_Unimed" type="s:integer" />
          <s:element minOccurs="0" maxOccurs="1" name="id_Benef" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:simpleType name="st_tp_contr_local">
        <s:restriction base="s:string">
          <s:enumeration value="1" />
          <s:enumeration value="2" />
        </s:restriction>
      </s:simpleType>
      <s:complexType name="ct_dadosdoenvioA100_simp3">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="cd_Uni_Origem" type="s:integer" />
          <s:element minOccurs="0" maxOccurs="unbounded" name="beneficiario" type="s0:ct_benef_simp_UB" />
        </s:sequence>
      </s:complexType>
      <s:element name="ptuA100OperationResult">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="cabecalho">
              <s:complexType>
                <s:complexContent mixed="false">
                  <s:extension base="s0:ct_CabecalhoPTU">
                    <s:sequence>
                      <s:element minOccurs="0" maxOccurs="1" name="nr_transacao" type="s:integer" />
                    </s:sequence>
                  </s:extension>
                </s:complexContent>
              </s:complexType>
            </s:element>
            <s:element minOccurs="0" maxOccurs="1" name="hash" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
      <s:element name="username" type="s:string" />
      <s:element name="password" type="s:string" />
    </s:schema>
  </wsdl:types>
  <wsdl:message name="ptuA100OperationSoapIn">
    <wsdl:part name="ptuA100_Pos_UB" element="s0:ptuA100_Pos_UB" />
    <wsdl:part name="username" element="tns:username" />
    <wsdl:part name="password" element="tns:password" />
  </wsdl:message>
  <wsdl:message name="ptuA100OperationSoapOut">
    <wsdl:part name="ptuA100OperationResult" element="s0:ptuA100OperationResult" />
  </wsdl:message>
  <wsdl:portType name="ptuA100Soap">
    <wsdl:operation name="ptuA100Operation">
      <wsdl:input message="tns:ptuA100OperationSoapIn" />
      <wsdl:output message="tns:ptuA100OperationSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="ptuA100Soap" type="tns:ptuA100Soap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="ptuA100Operation">
      <soap:operation soapAction="" 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="ptuA100Soap12" type="tns:ptuA100Soap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="ptuA100Operation">
      <soap12:operation soapAction="" 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="ptuA100">
    <wsdl:port name="ptuA100Soap" binding="tns:ptuA100Soap">
      <soap:address location="http://unimed-online.net/ptuA100.asmx" />
    </wsdl:port>
    <wsdl:port name="ptuA100Soap12" binding="tns:ptuA100Soap12">
      <soap12:address location="http://unimed-online.net/ptuA100.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>