<?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://www.spargo.ru/es" xmlns:s1="http://microsoft.com/wsdl/types/" 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://www.spargo.ru/es" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.spargo.ru/es">
      <s:import namespace="http://microsoft.com/wsdl/types/" />
      <s:element name="SpargoInfo">
        <s:complexType />
      </s:element>
      <s:element name="SpargoInfoResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="SpargoInfoResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="LoginByInstance">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="wsUser" type="tns:WsUser" />
            <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="WsUser">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="IdInstance" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="IsReliable" type="s:boolean" />
          <s:element minOccurs="0" maxOccurs="1" name="ComputerInfoHashV2" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="LicenseNumber" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="SessionId" type="s1:guid" />
          <s:element minOccurs="1" maxOccurs="1" name="GuidDrugstore" type="s1:guid" />
          <s:element minOccurs="1" maxOccurs="1" name="KodDrugstore" type="s:long" />
          <s:element minOccurs="0" maxOccurs="1" name="Login" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PasswordHash" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Version" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="Comment" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ComputerInfoHash" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ComputerInfo" type="tns:SystemInfo" />
          <s:element minOccurs="0" maxOccurs="1" name="DownloadedUpdateVersion" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="HashData" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="SystemInfo">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="ProcessorName" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="ClockSpeedHz" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="NumberOfCores" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="NumberOfProcessors" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="MemoryMb" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="HardDriveTotalSizeGb" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="ScreenResolutionX" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="ScreenResolutionY" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="OsName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="OsArchitecture" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="OsServicePack" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="OsInstallDate" type="s:dateTime" />
          <s:element minOccurs="0" maxOccurs="1" name="OsDigitalProductId" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="OsVersionInfoEx" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ComputerName" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="PhysicalAddress" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="LoginByInstanceResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="LoginByInstanceResult" type="tns:WsSession" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="WsSession">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="IdInstance" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="KodDrugstore" type="s:int" />
          <s:element minOccurs="0" maxOccurs="1" name="ComputerInfoHash" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="IsReliable" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="SessionId" type="s1:guid" />
          <s:element minOccurs="0" maxOccurs="1" name="LoginMsg" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="AccessCodeNew" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ContentServiceUrl" type="s:string" />
          <s:element minOccurs="0" maxOccurs="1" name="ProAptekaNewsUrl" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="PackSize" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="MobOrderCheckIntervalSec" type="s:int" />
          <s:element minOccurs="1" maxOccurs="1" name="IsMobOrderDisabled" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="HasMobOrder" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="LastLogSave" type="s:dateTime" />
        </s:sequence>
      </s:complexType>
      <s:element name="LoginEx">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="wsUser" type="tns:WsUser" />
            <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="LoginExResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="LoginExResult" type="tns:WsSession" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ChangePassword">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="guidSession" type="s1:guid" />
            <s:element minOccurs="0" maxOccurs="1" name="newPassword" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ChangePasswordResponse">
        <s:complexType />
      </s:element>
      <s:element name="GetUpdateServiceUrl">
        <s:complexType />
      </s:element>
      <s:element name="GetUpdateServiceUrlResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetUpdateServiceUrlResult" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetUpdateSettings">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="guidSession" type="s1:guid" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetUpdateSettingsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetUpdateSettingsResult" type="tns:UpdateSettings" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:complexType name="UpdateSettings">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="UpdateServiceUrl" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="IsDbBackupRequired" type="s:boolean" />
          <s:element minOccurs="1" maxOccurs="1" name="ForceUpdateDate" type="s:dateTime" />
        </s:sequence>
      </s:complexType>
      <s:element name="string" nillable="true" type="s:string" />
    </s:schema>
    <s:schema elementFormDefault="qualified" targetNamespace="http://microsoft.com/wsdl/types/">
      <s:simpleType name="guid">
        <s:restriction base="s:string">
          <s:pattern value="[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}" />
        </s:restriction>
      </s:simpleType>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="SpargoInfoSoapIn">
    <wsdl:part name="parameters" element="tns:SpargoInfo" />
  </wsdl:message>
  <wsdl:message name="SpargoInfoSoapOut">
    <wsdl:part name="parameters" element="tns:SpargoInfoResponse" />
  </wsdl:message>
  <wsdl:message name="LoginByInstanceSoapIn">
    <wsdl:part name="parameters" element="tns:LoginByInstance" />
  </wsdl:message>
  <wsdl:message name="LoginByInstanceSoapOut">
    <wsdl:part name="parameters" element="tns:LoginByInstanceResponse" />
  </wsdl:message>
  <wsdl:message name="LoginExSoapIn">
    <wsdl:part name="parameters" element="tns:LoginEx" />
  </wsdl:message>
  <wsdl:message name="LoginExSoapOut">
    <wsdl:part name="parameters" element="tns:LoginExResponse" />
  </wsdl:message>
  <wsdl:message name="ChangePasswordSoapIn">
    <wsdl:part name="parameters" element="tns:ChangePassword" />
  </wsdl:message>
  <wsdl:message name="ChangePasswordSoapOut">
    <wsdl:part name="parameters" element="tns:ChangePasswordResponse" />
  </wsdl:message>
  <wsdl:message name="GetUpdateServiceUrlSoapIn">
    <wsdl:part name="parameters" element="tns:GetUpdateServiceUrl" />
  </wsdl:message>
  <wsdl:message name="GetUpdateServiceUrlSoapOut">
    <wsdl:part name="parameters" element="tns:GetUpdateServiceUrlResponse" />
  </wsdl:message>
  <wsdl:message name="GetUpdateSettingsSoapIn">
    <wsdl:part name="parameters" element="tns:GetUpdateSettings" />
  </wsdl:message>
  <wsdl:message name="GetUpdateSettingsSoapOut">
    <wsdl:part name="parameters" element="tns:GetUpdateSettingsResponse" />
  </wsdl:message>
  <wsdl:message name="SpargoInfoHttpGetIn" />
  <wsdl:message name="SpargoInfoHttpGetOut">
    <wsdl:part name="Body" element="tns:string" />
  </wsdl:message>
  <wsdl:message name="GetUpdateServiceUrlHttpGetIn" />
  <wsdl:message name="GetUpdateServiceUrlHttpGetOut">
    <wsdl:part name="Body" element="tns:string" />
  </wsdl:message>
  <wsdl:message name="SpargoInfoHttpPostIn" />
  <wsdl:message name="SpargoInfoHttpPostOut">
    <wsdl:part name="Body" element="tns:string" />
  </wsdl:message>
  <wsdl:message name="GetUpdateServiceUrlHttpPostIn" />
  <wsdl:message name="GetUpdateServiceUrlHttpPostOut">
    <wsdl:part name="Body" element="tns:string" />
  </wsdl:message>
  <wsdl:portType name="InfoServiceSoap">
    <wsdl:operation name="SpargoInfo">
      <wsdl:input message="tns:SpargoInfoSoapIn" />
      <wsdl:output message="tns:SpargoInfoSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="LoginByInstance">
      <wsdl:input message="tns:LoginByInstanceSoapIn" />
      <wsdl:output message="tns:LoginByInstanceSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="LoginEx">
      <wsdl:input message="tns:LoginExSoapIn" />
      <wsdl:output message="tns:LoginExSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="ChangePassword">
      <wsdl:input message="tns:ChangePasswordSoapIn" />
      <wsdl:output message="tns:ChangePasswordSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetUpdateServiceUrl">
      <wsdl:input message="tns:GetUpdateServiceUrlSoapIn" />
      <wsdl:output message="tns:GetUpdateServiceUrlSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetUpdateSettings">
      <wsdl:input message="tns:GetUpdateSettingsSoapIn" />
      <wsdl:output message="tns:GetUpdateSettingsSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="InfoServiceHttpGet">
    <wsdl:operation name="SpargoInfo">
      <wsdl:input message="tns:SpargoInfoHttpGetIn" />
      <wsdl:output message="tns:SpargoInfoHttpGetOut" />
    </wsdl:operation>
    <wsdl:operation name="GetUpdateServiceUrl">
      <wsdl:input message="tns:GetUpdateServiceUrlHttpGetIn" />
      <wsdl:output message="tns:GetUpdateServiceUrlHttpGetOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:portType name="InfoServiceHttpPost">
    <wsdl:operation name="SpargoInfo">
      <wsdl:input message="tns:SpargoInfoHttpPostIn" />
      <wsdl:output message="tns:SpargoInfoHttpPostOut" />
    </wsdl:operation>
    <wsdl:operation name="GetUpdateServiceUrl">
      <wsdl:input message="tns:GetUpdateServiceUrlHttpPostIn" />
      <wsdl:output message="tns:GetUpdateServiceUrlHttpPostOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="InfoServiceSoap" type="tns:InfoServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="SpargoInfo">
      <soap:operation soapAction="http://www.spargo.ru/es/SpargoInfo" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="LoginByInstance">
      <soap:operation soapAction="http://www.spargo.ru/es/LoginByInstance" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="LoginEx">
      <soap:operation soapAction="http://www.spargo.ru/es/LoginEx" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ChangePassword">
      <soap:operation soapAction="http://www.spargo.ru/es/ChangePassword" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetUpdateServiceUrl">
      <soap:operation soapAction="http://www.spargo.ru/es/GetUpdateServiceUrl" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetUpdateSettings">
      <soap:operation soapAction="http://www.spargo.ru/es/GetUpdateSettings" 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="InfoServiceSoap12" type="tns:InfoServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="SpargoInfo">
      <soap12:operation soapAction="http://www.spargo.ru/es/SpargoInfo" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="LoginByInstance">
      <soap12:operation soapAction="http://www.spargo.ru/es/LoginByInstance" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="LoginEx">
      <soap12:operation soapAction="http://www.spargo.ru/es/LoginEx" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ChangePassword">
      <soap12:operation soapAction="http://www.spargo.ru/es/ChangePassword" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetUpdateServiceUrl">
      <soap12:operation soapAction="http://www.spargo.ru/es/GetUpdateServiceUrl" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetUpdateSettings">
      <soap12:operation soapAction="http://www.spargo.ru/es/GetUpdateSettings" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="InfoServiceHttpGet" type="tns:InfoServiceHttpGet">
    <http:binding verb="GET" />
    <wsdl:operation name="SpargoInfo">
      <http:operation location="/SpargoInfo" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetUpdateServiceUrl">
      <http:operation location="/GetUpdateServiceUrl" />
      <wsdl:input>
        <http:urlEncoded />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="InfoServiceHttpPost" type="tns:InfoServiceHttpPost">
    <http:binding verb="POST" />
    <wsdl:operation name="SpargoInfo">
      <http:operation location="/SpargoInfo" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetUpdateServiceUrl">
      <http:operation location="/GetUpdateServiceUrl" />
      <wsdl:input>
        <mime:content type="application/x-www-form-urlencoded" />
      </wsdl:input>
      <wsdl:output>
        <mime:mimeXml part="Body" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="InfoService">
    <wsdl:port name="InfoServiceSoap" binding="tns:InfoServiceSoap">
      <soap:address location="http://ws.eprica.ru/app/InfoService.asmx" />
    </wsdl:port>
    <wsdl:port name="InfoServiceSoap12" binding="tns:InfoServiceSoap12">
      <soap12:address location="http://ws.eprica.ru/app/InfoService.asmx" />
    </wsdl:port>
    <wsdl:port name="InfoServiceHttpGet" binding="tns:InfoServiceHttpGet">
      <http:address location="http://ws.eprica.ru/app/InfoService.asmx" />
    </wsdl:port>
    <wsdl:port name="InfoServiceHttpPost" binding="tns:InfoServiceHttpPost">
      <http:address location="http://ws.eprica.ru/app/InfoService.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>