<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IZafiro_Validaciones_WSservice" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns1="urn:uZafiro_Validaciones_WSIntf">
  <types>
    <xs:schema targetNamespace="urn:uZafiro_Validaciones_WSIntf" xmlns="urn:uZafiro_Validaciones_WSIntf">
      <xs:complexType name="TUsuario">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="Id_Usuario" type="xs:int"/>
          <xs:element name="Nombre_Usuario" type="xs:string"/>
          <xs:element name="Jwt" type="xs:string"/>
          <xs:element name="Mensaje" type="xs:string"/>
        </sequence>
      </xs:complexType>
      <xs:complexType name="TCliente_Zafiro">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="Id_Cliente" type="xs:int"/>
          <xs:element name="Secret_Key" type="xs:string"/>
        </sequence>
      </xs:complexType>
      <xs:complexType name="TListaRecetas">
        <xs:complexContent>
          <xs:restriction base="soapenc:Array">
            <sequence xmlns="http://www.w3.org/2001/XMLSchema"/>
            <xs:attribute ref="soapenc:arrayType" n1:arrayType="ns1:TReceta[]" xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
          </xs:restriction>
        </xs:complexContent>
      </xs:complexType>
      <xs:complexType name="TReceta">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="Nro_Receta" type="xs:string"/>
          <xs:element name="Fecha_Receta" type="xs:string"/>
          <xs:element name="Financiador_Plan" type="xs:string"/>
          <xs:element name="Profesional" type="ns1:TProfesional"/>
          <xs:element name="Lista_Articulos" type="ns1:TLista_Articulos_Receta"/>
        </sequence>
      </xs:complexType>
      <xs:complexType name="TProfesional">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="Tipo_Matricula" type="xs:string"/>
          <xs:element name="Nro_Matricula" type="xs:string"/>
          <xs:element name="Tipo_Prescriptor" type="xs:string"/>
        </sequence>
      </xs:complexType>
      <xs:complexType name="TLista_Articulos_Receta">
        <xs:complexContent>
          <xs:restriction base="soapenc:Array">
            <sequence xmlns="http://www.w3.org/2001/XMLSchema"/>
            <xs:attribute ref="soapenc:arrayType" n1:arrayType="ns1:TArticulo_Receta[]" xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
          </xs:restriction>
        </xs:complexContent>
      </xs:complexType>
      <xs:complexType name="TArticulo_Receta">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="Cod_Barra" type="xs:string"/>
          <xs:element name="Cantidad" type="xs:int"/>
          <xs:element name="Importe_Uni" type="xs:decimal"/>
        </sequence>
      </xs:complexType>
    </xs:schema>
  </types>
  <message name="GetToken0Request">
    <part name="pUser" type="xs:string"/>
    <part name="pPassword" type="xs:string"/>
  </message>
  <message name="GetToken0Response">
    <part name="return" type="ns1:TUsuario"/>
  </message>
  <message name="Consulta_OS_Disponibles1Request">
    <part name="pCliente_Zafiro" type="ns1:TCliente_Zafiro"/>
    <part name="pUsuario" type="ns1:TUsuario"/>
    <part name="pSk_Usuario" type="xs:string"/>
  </message>
  <message name="Consulta_OS_Disponibles1Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="Recetas_Por_Beneficiario2Request">
    <part name="pOS" type="xs:string"/>
    <part name="pNro_Afiliado" type="xs:string"/>
    <part name="pCliente_Zafiro" type="ns1:TCliente_Zafiro"/>
    <part name="pUsuario" type="ns1:TUsuario"/>
    <part name="pSk_Usuario" type="xs:string"/>
  </message>
  <message name="Recetas_Por_Beneficiario2Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="Consulta_RecetasE3Request">
    <part name="pOS" type="xs:string"/>
    <part name="pNro_Afiliado" type="xs:string"/>
    <part name="pListaRecetas" type="ns1:TListaRecetas"/>
    <part name="pCliente_Zafiro" type="ns1:TCliente_Zafiro"/>
    <part name="pUsuario" type="ns1:TUsuario"/>
    <part name="pSk_Usuario" type="xs:string"/>
  </message>
  <message name="Consulta_RecetasE3Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="Consulta_Cobertura_Receta4Request">
    <part name="pOS" type="xs:string"/>
    <part name="pNro_Afiliado" type="xs:string"/>
    <part name="pListaRecetas" type="ns1:TListaRecetas"/>
    <part name="pCliente_Zafiro" type="ns1:TCliente_Zafiro"/>
    <part name="pUsuario" type="ns1:TUsuario"/>
    <part name="pSk_Usuario" type="xs:string"/>
  </message>
  <message name="Consulta_Cobertura_Receta4Response">
    <part name="return" type="xs:string"/>
  </message>
  <portType name="IZafiro_Validaciones_WS">
    <operation name="GetToken">
      <input message="tns:GetToken0Request"/>
      <output message="tns:GetToken0Response"/>
    </operation>
    <operation name="Consulta_OS_Disponibles">
      <input message="tns:Consulta_OS_Disponibles1Request"/>
      <output message="tns:Consulta_OS_Disponibles1Response"/>
    </operation>
    <operation name="Recetas_Por_Beneficiario">
      <input message="tns:Recetas_Por_Beneficiario2Request"/>
      <output message="tns:Recetas_Por_Beneficiario2Response"/>
    </operation>
    <operation name="Consulta_RecetasE">
      <input message="tns:Consulta_RecetasE3Request"/>
      <output message="tns:Consulta_RecetasE3Response"/>
    </operation>
    <operation name="Consulta_Cobertura_Receta">
      <input message="tns:Consulta_Cobertura_Receta4Request"/>
      <output message="tns:Consulta_Cobertura_Receta4Response"/>
    </operation>
  </portType>
  <binding name="IZafiro_Validaciones_WSbinding" type="tns:IZafiro_Validaciones_WS">
    <binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/" style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetToken">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS#GetToken" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS"/>
      </output>
    </operation>
    <operation name="Consulta_OS_Disponibles">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS#Consulta_OS_Disponibles" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS"/>
      </output>
    </operation>
    <operation name="Recetas_Por_Beneficiario">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS#Recetas_Por_Beneficiario" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS"/>
      </output>
    </operation>
    <operation name="Consulta_RecetasE">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS#Consulta_RecetasE" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS"/>
      </output>
    </operation>
    <operation name="Consulta_Cobertura_Receta">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS#Consulta_Cobertura_Receta" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uZafiro_Validaciones_WSIntf-IZafiro_Validaciones_WS"/>
      </output>
    </operation>
  </binding>
  <service name="IZafiro_Validaciones_WSservice">
    <port name="IZafiro_Validaciones_WSPort" binding="tns:IZafiro_Validaciones_WSbinding">
      <address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://api.zafirows.com.ar:8090/soap/IZafiro_Validaciones_WS"/>
    </port>
  </service>
</definitions>

