<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:cfdi_essistemas" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" name="ServiceController" targetNamespace="urn:cfdi_essistemas">
  <wsdl:types>
    <xsd:schema targetNamespace="urn:cfdi_essistemas">
      <xsd:complexType name="getCFDiResponse">
        <xsd:all>
          <xsd:element name="responseStatus" type="xsd:int"/>
          <xsd:element name="responseMessage" type="xsd:string"/>
          <xsd:element name="responseFile" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType>
      <xsd:complexType name="cancelaCFDiResponse">
        <xsd:all>
          <xsd:element name="responseStatus" type="xsd:int"/>
          <xsd:element name="responseMessage" type="xsd:string"/>
          <xsd:element name="responseFile" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType>
      <xsd:complexType name="folioPruebas">
        <xsd:all>
          <xsd:element name="pac_id" type="xsd:int"/>
          <xsd:element name="usuario" type="xsd:string"/>
          <xsd:element name="password" type="xsd:string"/>
          <xsd:element name="isPruebas" type="xsd:int"/>
          <xsd:element name="NoCliente" type="xsd:int"/>
          <xsd:element name="FechaAlta" type="xsd:string"/>
          <xsd:element name="FechaVence" type="xsd:string"/>
          <xsd:element name="FoliosCompradosCFDI" type="xsd:int"/>
          <xsd:element name="FoliosConsumidosCFDI" type="xsd:int"/>
          <xsd:element name="responseStatus" type="xsd:int"/>
          <xsd:element name="responseMessage" type="xsd:string"/>
          <xsd:element name="responseFile" type="xsd:string"/>
        </xsd:all>
      </xsd:complexType>
    </xsd:schema>
  </wsdl:types>
  <wsdl:message name="getCFDiAIn">
    <wsdl:part name="username" type="xsd:string"/>
    <wsdl:part name="password" type="xsd:string"/>
    <wsdl:part name="rfc" type="xsd:string"/>
    <wsdl:part name="cid" type="xsd:int"/>
    <wsdl:part name="xmlFile" type="xsd:base64Binary"/>
    <wsdl:part name="test" type="xsd:int"/>
  </wsdl:message>
  <wsdl:message name="getCFDiAOut">
    <wsdl:part name="return" type="tns:getCFDiResponse"/>
  </wsdl:message>
  <wsdl:message name="getCFDiIn">
    <wsdl:part name="username" type="xsd:string"/>
    <wsdl:part name="password" type="xsd:string"/>
    <wsdl:part name="rfc" type="xsd:string"/>
    <wsdl:part name="cid" type="xsd:int"/>
    <wsdl:part name="xmlFile" type="xsd:base64Binary"/>
    <wsdl:part name="test" type="xsd:int"/>
  </wsdl:message>
  <wsdl:message name="getCFDiOut">
    <wsdl:part name="return" type="tns:getCFDiResponse"/>
  </wsdl:message>
  <wsdl:message name="cancelaCFDiIn">
    <wsdl:part name="username" type="xsd:string"/>
    <wsdl:part name="password" type="xsd:string"/>
    <wsdl:part name="rfc" type="xsd:string"/>
    <wsdl:part name="cid" type="xsd:int"/>
    <wsdl:part name="uuid" type="xsd:string"/>
    <wsdl:part name="privateKey" type="xsd:base64Binary"/>
    <wsdl:part name="keyPwd" type="xsd:string"/>
    <wsdl:part name="cert" type="xsd:base64Binary"/>
    <wsdl:part name="test" type="xsd:int"/>
  </wsdl:message>
  <wsdl:message name="cancelaCFDiOut">
    <wsdl:part name="return" type="tns:cancelaCFDiResponse"/>
  </wsdl:message>
  <wsdl:message name="EsFolioPruebaIn">
    <wsdl:part name="username" type="xsd:string"/>
    <wsdl:part name="password" type="xsd:string"/>
    <wsdl:part name="rfc" type="xsd:string"/>
    <wsdl:part name="cid" type="xsd:int"/>
    <wsdl:part name="computadora" type="xsd:string"/>
  </wsdl:message>
  <wsdl:message name="EsFolioPruebaOut">
    <wsdl:part name="return" type="tns:folioPruebas"/>
  </wsdl:message>
  <wsdl:message name="solicitudCancelarCFDIIn">
    <wsdl:part name="username" type="xsd:string"/>
    <wsdl:part name="password" type="xsd:string"/>
    <wsdl:part name="rfc" type="xsd:string"/>
    <wsdl:part name="cid" type="xsd:int"/>
    <wsdl:part name="uuid" type="xsd:string"/>
    <wsdl:part name="privateKey" type="xsd:base64Binary"/>
    <wsdl:part name="keyPwd" type="xsd:string"/>
    <wsdl:part name="cert" type="xsd:base64Binary"/>
    <wsdl:part name="test" type="xsd:int"/>
  </wsdl:message>
  <wsdl:message name="solicitudCancelarCFDIOut">
    <wsdl:part name="return" type="tns:cancelaCFDiResponse"/>
  </wsdl:message>
  <wsdl:portType name="ServiceControllerPortType">
    <wsdl:operation name="getCFDiA">
      <wsdl:documentation/>
      <wsdl:input message="tns:getCFDiAIn"/>
      <wsdl:output message="tns:getCFDiAOut"/>
    </wsdl:operation>
    <wsdl:operation name="getCFDi">
      <wsdl:documentation/>
      <wsdl:input message="tns:getCFDiIn"/>
      <wsdl:output message="tns:getCFDiOut"/>
    </wsdl:operation>
    <wsdl:operation name="cancelaCFDi">
      <wsdl:documentation/>
      <wsdl:input message="tns:cancelaCFDiIn"/>
      <wsdl:output message="tns:cancelaCFDiOut"/>
    </wsdl:operation>
    <wsdl:operation name="EsFolioPrueba">
      <wsdl:documentation/>
      <wsdl:input message="tns:EsFolioPruebaIn"/>
      <wsdl:output message="tns:EsFolioPruebaOut"/>
    </wsdl:operation>
    <wsdl:operation name="solicitudCancelarCFDI">
      <wsdl:documentation/>
      <wsdl:input message="tns:solicitudCancelarCFDIIn"/>
      <wsdl:output message="tns:solicitudCancelarCFDIOut"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="ServiceControllerBinding" type="tns:ServiceControllerPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="getCFDiA">
      <soap:operation soapAction="urn:cfdi_essistemas#getCFDiA" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cfdi_essistemas"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cfdi_essistemas"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="getCFDi">
      <soap:operation soapAction="urn:cfdi_essistemas#getCFDi" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cfdi_essistemas"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cfdi_essistemas"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="cancelaCFDi">
      <soap:operation soapAction="urn:cfdi_essistemas#cancelaCFDi" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cfdi_essistemas"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cfdi_essistemas"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="EsFolioPrueba">
      <soap:operation soapAction="urn:cfdi_essistemas#EsFolioPrueba" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cfdi_essistemas"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cfdi_essistemas"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="solicitudCancelarCFDI">
      <soap:operation soapAction="urn:cfdi_essistemas#solicitudCancelarCFDI" style="rpc"/>
      <wsdl:input>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cfdi_essistemas"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:cfdi_essistemas"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="ServiceControllerService">
    <wsdl:port name="ServiceControllerPort" binding="tns:ServiceControllerBinding">
      <soap:address location="https://v1.timbrarxml.com/index.php?r=CfdiService/service/index&amp;ws=1"/>
    </wsdl:port>
  </wsdl:service>
</definitions>
