<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions name="Soap12" 
    targetNamespace="http://schemas.nosis.com/sac/ws01/types" 
    xmlns:svc="http://schemas.nosis.com/sac/ws01/types" 
    xmlns:tns="http://schemas.nosis.com/sac/ws01/types" 
    
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" 
    xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" 
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
    xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" 
    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" 
    xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
    xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" 
    xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" 
    xmlns:wsa10="http://www.w3.org/2005/08/addressing" 
    xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex">

	<wsdl:types>
		<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.nosis.com/sac/ws01/types" elementFormDefault="qualified" targetNamespace="http://schemas.nosis.com/sac/ws01/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="Informes">
    <xs:sequence>
      <xs:element minOccurs="0" name="Usuario" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Token" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Ticket" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Informes" nillable="true" type="tns:Informes" />
  <xs:complexType name="Variables">
    <xs:sequence>
      <xs:element minOccurs="0" name="Usuario" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Token" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Documento" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RazonSocial" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Sexo" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="VR" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CDA" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FEX" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Informe" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RespuestaReducida" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Timeout" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Variables" nillable="true" type="tns:Variables" />
  <xs:complexType name="InformesResponse">
    <xs:sequence>
      <xs:element name="Contenido" nillable="true" type="tns:DtoInformesContenido" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="InformesResponse" nillable="true" type="tns:InformesResponse" />
  <xs:complexType name="DtoInformesContenido">
    <xs:sequence>
      <xs:element name="Pedido" nillable="true" type="tns:DtoInformesPedido" />
      <xs:element name="Resultado" nillable="true" type="tns:DtoInformesResultado" />
      <xs:element minOccurs="0" name="Datos" nillable="true" type="tns:DtoInformesDatos">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoInformesContenido" nillable="true" type="tns:DtoInformesContenido" />
  <xs:complexType name="DtoInformesPedido">
    <xs:sequence>
      <xs:element minOccurs="0" name="Usuario" type="xs:int" />
      <xs:element minOccurs="0" name="Ticket" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoInformesPedido" nillable="true" type="tns:DtoInformesPedido" />
  <xs:complexType name="DtoInformesResultado">
    <xs:sequence>
      <xs:element name="Estado" type="xs:int" />
      <xs:element name="Novedad" nillable="true" type="xs:string" />
      <xs:element name="Tiempo" type="xs:int" />
      <xs:element name="FechaRecepcion" nillable="true" type="xs:string" />
      <xs:element name="Transaccion" nillable="true" type="xs:string" />
      <xs:element name="Referencia" nillable="true" type="xs:string" />
      <xs:element name="Servidor" nillable="true" type="xs:string" />
      <xs:element name="Version" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoInformesResultado" nillable="true" type="tns:DtoInformesResultado" />
  <xs:complexType name="DtoInformesDatos">
    <xs:sequence>
      <xs:element name="Documento" nillable="true" type="xs:string" />
      <xs:element name="Informe" nillable="true" type="xs:base64Binary" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoInformesDatos" nillable="true" type="tns:DtoInformesDatos" />
  <xs:complexType name="VariablesResponse">
    <xs:sequence>
      <xs:element name="Contenido" nillable="true" type="tns:DtoVariablesContenido" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="VariablesResponse" nillable="true" type="tns:VariablesResponse" />
  <xs:complexType name="DtoVariablesContenido">
    <xs:sequence>
      <xs:element name="Pedido" nillable="true" type="tns:DtoVariablesPedido" />
      <xs:element name="Resultado" nillable="true" type="tns:DtoVariablesResultado" />
      <xs:element minOccurs="0" name="Datos" nillable="true" type="tns:DtoVariablesDatos">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoVariablesContenido" nillable="true" type="tns:DtoVariablesContenido" />
  <xs:complexType name="DtoVariablesPedido">
    <xs:sequence>
      <xs:element name="Usuario" type="xs:int" />
      <xs:element name="Documento" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RazonSocial" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Sexo" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="VR" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CDA" type="xs:int">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="FEX" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Informe" type="xs:int">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="RespuestaReducida" type="xs:boolean">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Timeout" type="xs:int">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoVariablesPedido" nillable="true" type="tns:DtoVariablesPedido" />
  <xs:complexType name="DtoVariablesResultado">
    <xs:sequence>
      <xs:element name="Estado" type="xs:int" />
      <xs:element name="Novedad" nillable="true" type="xs:string" />
      <xs:element name="Tiempo" type="xs:int" />
      <xs:element name="FechaRecepcion" nillable="true" type="xs:string" />
      <xs:element name="Transaccion" nillable="true" type="xs:string" />
      <xs:element name="Referencia" nillable="true" type="xs:string" />
      <xs:element name="Servidor" nillable="true" type="xs:string" />
      <xs:element name="Version" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoVariablesResultado" nillable="true" type="tns:DtoVariablesResultado" />
  <xs:complexType name="DtoVariablesDatos">
    <xs:sequence>
      <xs:element minOccurs="0" name="Fuentes" nillable="true" type="tns:ColVariablesDatosFuente">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Informe" nillable="true" type="tns:DtoVariablesDatosInforme">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Variables" nillable="true" type="tns:ColVariablesDatosVariables">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Coincidencias" nillable="true" type="tns:ColVariablesDatosCoincidencia">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoVariablesDatos" nillable="true" type="tns:DtoVariablesDatos" />
  <xs:complexType name="ColVariablesDatosFuente">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Fuente" nillable="true" type="tns:DtoVariablesDatosFuente" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ColVariablesDatosFuente" nillable="true" type="tns:ColVariablesDatosFuente" />
  <xs:complexType name="DtoVariablesDatosFuente">
    <xs:sequence>
      <xs:element name="Nombre" nillable="true" type="xs:string" />
      <xs:element name="Estado" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoVariablesDatosFuente" nillable="true" type="tns:DtoVariablesDatosFuente" />
  <xs:complexType name="DtoVariablesDatosInforme">
    <xs:sequence>
      <xs:element name="Status" nillable="true" type="xs:string" />
      <xs:element name="Ticket" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoVariablesDatosInforme" nillable="true" type="tns:DtoVariablesDatosInforme" />
  <xs:complexType name="ColVariablesDatosVariables">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Variable" nillable="true" type="tns:DtoVariablesDatosVariable" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ColVariablesDatosVariables" nillable="true" type="tns:ColVariablesDatosVariables" />
  <xs:complexType name="DtoVariablesDatosVariable">
    <xs:sequence>
      <xs:element name="Nombre" nillable="true" type="xs:string" />
      <xs:element name="Valor" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Descripcion" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Detalle" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="Tipo" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
      <xs:element minOccurs="0" name="FechaAct" nillable="true" type="xs:string">
        <xs:annotation>
          <xs:appinfo>
            <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
          </xs:appinfo>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoVariablesDatosVariable" nillable="true" type="tns:DtoVariablesDatosVariable" />
  <xs:complexType name="ColVariablesDatosCoincidencia">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Coincidencia" nillable="true" type="tns:DtoVariablesDatosCoincidencia" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ColVariablesDatosCoincidencia" nillable="true" type="tns:ColVariablesDatosCoincidencia" />
  <xs:complexType name="DtoVariablesDatosCoincidencia">
    <xs:sequence>
      <xs:element name="Documento" nillable="true" type="xs:string" />
      <xs:element name="RazonSocial" nillable="true" type="xs:string" />
      <xs:element name="Sexo" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DtoVariablesDatosCoincidencia" nillable="true" type="tns:DtoVariablesDatosCoincidencia" />
</xs:schema>
	</wsdl:types>

	<wsdl:message name="InformesIn">
        <wsdl:part name="par" element="tns:Informes" />
    </wsdl:message>
    <wsdl:message name="InformesOut">
        <wsdl:part name="par" element="tns:InformesResponse" />
    </wsdl:message><wsdl:message name="VariablesIn">
        <wsdl:part name="par" element="tns:Variables" />
    </wsdl:message>
    <wsdl:message name="VariablesOut">
        <wsdl:part name="par" element="tns:VariablesResponse" />
    </wsdl:message>

	

	<wsdl:portType name="ISyncReply"><wsdl:operation name="Informes">
        <wsdl:input message="svc:InformesIn" />
        <wsdl:output message="svc:InformesOut" />
    </wsdl:operation><wsdl:operation name="Variables">
        <wsdl:input message="svc:VariablesIn" />
        <wsdl:output message="svc:VariablesOut" />
    </wsdl:operation></wsdl:portType>

	

	<wsdl:binding name="WSHttpBinding_ISyncReply" type="svc:ISyncReply">
		<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
		<wsdl:operation name="Informes">
      <soap12:operation soapAction="http://schemas.nosis.com/sac/ws01/types/Informes" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation><wsdl:operation name="Variables">
      <soap12:operation soapAction="http://schemas.nosis.com/sac/ws01/types/Variables" 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="SyncReply">
		<wsdl:port name="WSHttpBinding_ISyncReply" binding="svc:WSHttpBinding_ISyncReply">
			<soap12:address location="https://ws01.nosis.com/soap12" />
		</wsdl:port>
	</wsdl:service>

	
	
</wsdl:definitions>