<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:WashOut" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 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:wsdl="http://schemas.xmlsoap.org/wsdl/" name="valida_cfdi" targetNamespace="urn:WashOut">
  <types>
    <schema targetNamespace="urn:WashOut" xmlns="http://www.w3.org/2001/XMLSchema">
      <xsd:complexType name="comprobante">
        <xsd:sequence>
          <xsd:element name="Comprobante" type="tns:Comprobante" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="Comprobante">
        <xsd:sequence>
          <xsd:element name="external_id" type="xsd:string" nillable="true"/>
          <xsd:element name="sxml" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
      <xsd:complexType name="validar_cfdi_result">
        <xsd:sequence>
          <xsd:element name="resultados" type="xsd:string" nillable="true"/>
        </xsd:sequence>
      </xsd:complexType>
    </schema>
  </types>
  <message name="validar_cfdi">
    <part name="username" type="xsd:string" xsi:nillable="true"/>
    <part name="password" type="xsd:string" xsi:nillable="true"/>
    <part name="optional_param" type="xsd:string" xsi:nillable="true"/>
    <part name="validar" type="tns:comprobante" xsi:nillable="true"/>
  </message>
  <message name="validar_cfdi_response">
    <part name="validar_cfdi_result" type="tns:validar_cfdi_result" xsi:nillable="true"/>
  </message>
  <portType name="valida_cfdi_port">
    <operation name="validar_cfdi">
      <input message="tns:validar_cfdi"/>
      <output message="tns:validar_cfdi_response"/>
    </operation>
  </portType>
  <binding name="valida_cfdi_binding" type="tns:valida_cfdi_port">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="validar_cfdi">
      <soap:operation soapAction="validar_cfdi"/>
      <input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </input>
      <output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WashOut"/>
      </output>
    </operation>
  </binding>
  <service name="service">
    <port name="valida_cfdi_port" binding="tns:valida_cfdi_binding">
      <soap:address location="https://staging.ws.timbox.com.mx/valida_cfdi/action"/>
    </port>
  </service>
</definitions>
