<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ILoginSRVservice" 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:LoginClasses">
  <types>
    <xs:schema targetNamespace="urn:LoginClasses">
      <xs:complexType name="TAuthorisationData">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="Login" type="xs:string"/>
          <xs:element name="Password" type="xs:string"/>
          <xs:element name="IDApplication" type="xs:string"/>
          <xs:element name="ApplicationVersion" type="xs:string"/>
        </sequence>
      </xs:complexType>
      <xs:complexType name="TAuthorizedUserData">
        <sequence xmlns="http://www.w3.org/2001/XMLSchema">
          <xs:element name="SessionKey" type="xs:string"/>
          <xs:element name="IDTrader" type="xs:int"/>
          <xs:element name="IDFirm" type="xs:int"/>
          <xs:element name="IDRole" type="xs:int"/>
          <xs:element name="ErrorCode" type="xs:int"/>
          <xs:element name="WarningMessage" type="xs:string"/>
          <xs:element name="IDLanguage" type="xs:string"/>
          <xs:element name="IsConsentedGDPR" type="xs:boolean"/>
        </sequence>
      </xs:complexType>
    </xs:schema>
  </types>
  <message name="GetServerDateTime0Request"/>
  <message name="GetServerDateTime0Response">
    <part name="return" type="xs:double"/>
  </message>
  <message name="GetLoginTicket1Request">
    <part name="Request" type="xs:string"/>
    <part name="Response" type="xs:string"/>
  </message>
  <message name="GetLoginTicket1Response">
    <part name="Response" type="xs:string"/>
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="LoginByPassword2Request">
    <part name="AuthorisationData" type="ns1:TAuthorisationData"/>
    <part name="AuthorizedUserData" type="ns1:TAuthorizedUserData"/>
  </message>
  <message name="LoginByPassword2Response">
    <part name="AuthorizedUserData" type="ns1:TAuthorizedUserData"/>
  </message>
  <portType name="ILoginSRV">
    <operation name="GetServerDateTime">
      <input message="tns:GetServerDateTime0Request"/>
      <output message="tns:GetServerDateTime0Response"/>
    </operation>
    <operation name="GetLoginTicket">
      <input message="tns:GetLoginTicket1Request"/>
      <output message="tns:GetLoginTicket1Response"/>
    </operation>
    <operation name="LoginByPassword">
      <input message="tns:LoginByPassword2Request"/>
      <output message="tns:LoginByPassword2Response"/>
    </operation>
  </portType>
  <binding name="ILoginSRVbinding" type="tns:ILoginSRV">
    <binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/" style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetServerDateTime">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:uLoginSrvIntf-ILoginSrv#GetServerDateTime" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uLoginSrvIntf-ILoginSrv"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uLoginSrvIntf-ILoginSrv"/>
      </output>
    </operation>
    <operation name="GetLoginTicket">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:uLoginSrvIntf-ILoginSrv#GetLoginTicket" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uLoginSrvIntf-ILoginSrv"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uLoginSrvIntf-ILoginSrv"/>
      </output>
    </operation>
    <operation name="LoginByPassword">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:uLoginSrvIntf-ILoginSrv#LoginByPassword" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uLoginSrvIntf-ILoginSrv"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:uLoginSrvIntf-ILoginSrv"/>
      </output>
    </operation>
  </binding>
  <service name="ILoginSRVservice">
    <port name="ILoginSrvPort" binding="tns:ILoginSRVbinding">
      <address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://ts.butb.by/scripts/LoginSrv.dll/soap/ILoginSrv"/>
    </port>
  </service>
</definitions>

