<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IWsDBSiteservice" 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:WsCustomEditIntf" xmlns:ns2="urn:OtnSysUtils">
  <types>
    <xs:schema targetNamespace="urn:WsCustomEditIntf" xmlns="urn:WsCustomEditIntf">
      <xs:simpleType name="TWsEditTransType">
        <xs:restriction base="xs:string">
          <xs:enumeration value="ottOneTrans"/>
          <xs:enumeration value="ottOneForEach"/>
          <xs:enumeration value="ottMockTransaction"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:schema>
    <xs:schema targetNamespace="urn:OtnSysUtils" xmlns="urn:OtnSysUtils">
      <xs:complexType name="TArrayOfVariant">
        <xs:complexContent>
          <xs:restriction base="soapenc:Array">
            <sequence xmlns="http://www.w3.org/2001/XMLSchema"/>
            <xs:attribute ref="soapenc:arrayType" n1:arrayType="xs:anyType[]" xmlns:n1="http://schemas.xmlsoap.org/wsdl/"/>
          </xs:restriction>
        </xs:complexContent>
      </xs:complexType>
    </xs:schema>
  </types>
  <message name="GetDataById0Request">
    <part name="aId" type="xs:string"/>
  </message>
  <message name="GetDataById0Response">
    <part name="aXmlData" type="xs:string"/>
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="GetDataByIds1Request">
    <part name="aIds" type="xs:string"/>
  </message>
  <message name="GetDataByIds1Response">
    <part name="aXmlData" type="xs:string"/>
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="GetDataByParams2Request">
    <part name="aParams" type="xs:string"/>
  </message>
  <message name="GetDataByParams2Response">
    <part name="aXmlData" type="xs:string"/>
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="GetNewObjectDefault3Request"/>
  <message name="GetNewObjectDefault3Response">
    <part name="aXmlData" type="xs:string"/>
  </message>
  <message name="ApplyChanges4Request">
    <part name="aTransactionType" type="ns1:TWsEditTransType"/>
    <part name="aXmlData" type="xs:string"/>
  </message>
  <message name="ApplyChanges4Response">
    <part name="aXmlData" type="xs:string"/>
    <part name="return" type="xs:int"/>
  </message>
  <message name="ApplyChanges25Request">
    <part name="AXMLData" type="xs:string"/>
  </message>
  <message name="ApplyChanges25Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="GetRootWithSchema6Request">
    <part name="AId" type="xs:string"/>
  </message>
  <message name="GetRootWithSchema6Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="GetDataAll7Request"/>
  <message name="GetDataAll7Response">
    <part name="aXmlData" type="xs:string"/>
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="Validate8Request">
    <part name="aXmlData" type="xs:string"/>
  </message>
  <message name="Validate8Response">
    <part name="aErrorId" type="xs:int"/>
    <part name="aErrorMessage" type="xs:string"/>
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="ApplyChangesExt9Request">
    <part name="ASiteXML" type="xs:string"/>
    <part name="ARightXML" type="xs:string"/>
    <part name="APaymRightXML" type="xs:string"/>
    <part name="ADmgDataXML" type="xs:string"/>
  </message>
  <message name="ApplyChangesExt9Response">
    <part name="ASiteXML" type="xs:string"/>
    <part name="ARightXML" type="xs:string"/>
    <part name="APaymRightXML" type="xs:string"/>
    <part name="ADmgDataXML" type="xs:string"/>
  </message>
  <message name="GetSystemCurrencyId10Request">
    <part name="ASystemId" type="xs:int"/>
  </message>
  <message name="GetSystemCurrencyId10Response">
    <part name="return" type="xs:int"/>
  </message>
  <message name="GetSiteCodeById11Request">
    <part name="ASiteId" type="xs:int"/>
  </message>
  <message name="GetSiteCodeById11Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="GetSiteIdByAK12Request">
    <part name="ASiteAK" type="xs:string"/>
  </message>
  <message name="GetSiteIdByAK12Response">
    <part name="return" type="xs:int"/>
  </message>
  <message name="GetSiteIdByCode13Request">
    <part name="ACode" type="xs:string"/>
  </message>
  <message name="GetSiteIdByCode13Response">
    <part name="return" type="xs:int"/>
  </message>
  <message name="CountActiveSites14Request"/>
  <message name="CountActiveSites14Response">
    <part name="return" type="xs:int"/>
  </message>
  <message name="GetSiteExternalCodeById15Request">
    <part name="ASiteId" type="xs:int"/>
  </message>
  <message name="GetSiteExternalCodeById15Response">
    <part name="return" type="xs:string"/>
  </message>
  <message name="GetSiteIsStaging16Request">
    <part name="ASiteId" type="xs:int"/>
  </message>
  <message name="GetSiteIsStaging16Response">
    <part name="return" type="xs:boolean"/>
  </message>
  <message name="GetCDS17Request">
    <part name="ASql" type="xs:string"/>
  </message>
  <message name="GetCDS17Response">
    <part name="return" type="xs:base64Binary"/>
  </message>
  <message name="GetCDSWithParams18Request">
    <part name="ASql" type="xs:string"/>
    <part name="AParams" type="ns2:TArrayOfVariant"/>
  </message>
  <message name="GetCDSWithParams18Response">
    <part name="return" type="xs:base64Binary"/>
  </message>
  <portType name="IWsDBSite">
    <operation name="GetDataById">
      <input message="tns:GetDataById0Request"/>
      <output message="tns:GetDataById0Response"/>
    </operation>
    <operation name="GetDataByIds">
      <input message="tns:GetDataByIds1Request"/>
      <output message="tns:GetDataByIds1Response"/>
    </operation>
    <operation name="GetDataByParams">
      <input message="tns:GetDataByParams2Request"/>
      <output message="tns:GetDataByParams2Response"/>
    </operation>
    <operation name="GetNewObjectDefault">
      <input message="tns:GetNewObjectDefault3Request"/>
      <output message="tns:GetNewObjectDefault3Response"/>
    </operation>
    <operation name="ApplyChanges">
      <input message="tns:ApplyChanges4Request"/>
      <output message="tns:ApplyChanges4Response"/>
    </operation>
    <operation name="ApplyChanges2">
      <input message="tns:ApplyChanges25Request"/>
      <output message="tns:ApplyChanges25Response"/>
    </operation>
    <operation name="GetRootWithSchema">
      <input message="tns:GetRootWithSchema6Request"/>
      <output message="tns:GetRootWithSchema6Response"/>
    </operation>
    <operation name="GetDataAll">
      <input message="tns:GetDataAll7Request"/>
      <output message="tns:GetDataAll7Response"/>
    </operation>
    <operation name="Validate">
      <input message="tns:Validate8Request"/>
      <output message="tns:Validate8Response"/>
    </operation>
    <operation name="ApplyChangesExt">
      <input message="tns:ApplyChangesExt9Request"/>
      <output message="tns:ApplyChangesExt9Response"/>
    </operation>
    <operation name="GetSystemCurrencyId">
      <input message="tns:GetSystemCurrencyId10Request"/>
      <output message="tns:GetSystemCurrencyId10Response"/>
    </operation>
    <operation name="GetSiteCodeById">
      <input message="tns:GetSiteCodeById11Request"/>
      <output message="tns:GetSiteCodeById11Response"/>
    </operation>
    <operation name="GetSiteIdByAK">
      <input message="tns:GetSiteIdByAK12Request"/>
      <output message="tns:GetSiteIdByAK12Response"/>
    </operation>
    <operation name="GetSiteIdByCode">
      <input message="tns:GetSiteIdByCode13Request"/>
      <output message="tns:GetSiteIdByCode13Response"/>
    </operation>
    <operation name="CountActiveSites">
      <input message="tns:CountActiveSites14Request"/>
      <output message="tns:CountActiveSites14Response"/>
    </operation>
    <operation name="GetSiteExternalCodeById">
      <input message="tns:GetSiteExternalCodeById15Request"/>
      <output message="tns:GetSiteExternalCodeById15Response"/>
    </operation>
    <operation name="GetSiteIsStaging">
      <input message="tns:GetSiteIsStaging16Request"/>
      <output message="tns:GetSiteIsStaging16Response"/>
    </operation>
    <operation name="GetCDS">
      <input message="tns:GetCDS17Request"/>
      <output message="tns:GetCDS17Response"/>
    </operation>
    <operation name="GetCDSWithParams">
      <input message="tns:GetCDSWithParams18Request"/>
      <output message="tns:GetCDSWithParams18Response"/>
    </operation>
  </portType>
  <binding name="IWsDBSitebinding" type="tns:IWsDBSite">
    <binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/" style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetDataById">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetDataById" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetDataByIds">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetDataByIds" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetDataByParams">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetDataByParams" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetNewObjectDefault">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetNewObjectDefault" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="ApplyChanges">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#ApplyChanges" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="ApplyChanges2">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#ApplyChanges2" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetRootWithSchema">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetRootWithSchema" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetDataAll">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetDataAll" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="Validate">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#Validate" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="ApplyChangesExt">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#ApplyChangesExt" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetSystemCurrencyId">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetSystemCurrencyId" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetSiteCodeById">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetSiteCodeById" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetSiteIdByAK">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetSiteIdByAK" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetSiteIdByCode">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetSiteIdByCode" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="CountActiveSites">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#CountActiveSites" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetSiteExternalCodeById">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetSiteExternalCodeById" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetSiteIsStaging">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetSiteIsStaging" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetCDS">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetCDS" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
    <operation name="GetCDSWithParams">
      <operation xmlns="http://schemas.xmlsoap.org/wsdl/soap/" soapAction="urn:WsDBSiteIntf-IWsDBSite#GetCDSWithParams" style="rpc"/>
      <input>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </input>
      <output>
        <body xmlns="http://schemas.xmlsoap.org/wsdl/soap/" use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:WsDBSiteIntf-IWsDBSite"/>
      </output>
    </operation>
  </binding>
  <service name="IWsDBSiteservice">
    <port name="IWsDBSitePort" binding="tns:IWsDBSitebinding">
      <address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://skc-isapi-b2b.vivaticket.com/BosServices.dll/soap/IWsDBSite"/>
    </port>
  </service>
</definitions>

