<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.fapcofinance.com/webservices/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.fapcofinance.com/webservices/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.fapcofinance.com/webservices/">
      <s:element name="GetTopGainersData">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="local" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTopGainersDataResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetTopGainersDataResult">
              <s:complexType mixed="true">
                <s:sequence>
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="AuthHeader" type="tns:AuthHeader" />
      <s:complexType name="AuthHeader">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="1" name="LicenseKey" type="s:string" />
        </s:sequence>
      </s:complexType>
      <s:element name="GetTopGainersDataByDomain">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="local" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTopGainersDataByDomainResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetTopGainersDataByDomainResult">
              <s:complexType mixed="true">
                <s:sequence>
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="GetTopGainersDataSoapIn">
    <wsdl:part name="parameters" element="tns:GetTopGainersData" />
  </wsdl:message>
  <wsdl:message name="GetTopGainersDataSoapOut">
    <wsdl:part name="parameters" element="tns:GetTopGainersDataResponse" />
  </wsdl:message>
  <wsdl:message name="GetTopGainersDataAuthHeader">
    <wsdl:part name="AuthHeader" element="tns:AuthHeader" />
  </wsdl:message>
  <wsdl:message name="GetTopGainersDataByDomainSoapIn">
    <wsdl:part name="parameters" element="tns:GetTopGainersDataByDomain" />
  </wsdl:message>
  <wsdl:message name="GetTopGainersDataByDomainSoapOut">
    <wsdl:part name="parameters" element="tns:GetTopGainersDataByDomainResponse" />
  </wsdl:message>
  <wsdl:portType name="KSETopGainerSoap">
    <wsdl:operation name="GetTopGainersData">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">This Function get the token and language preference and  Return the top Gainer Stocks in the market</documentation>
      <wsdl:input message="tns:GetTopGainersDataSoapIn" />
      <wsdl:output message="tns:GetTopGainersDataSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetTopGainersDataByDomain">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">This Function get the language preference and  Return the top Gainer Stocks in the market and it checks the requesting domain IP  if it is registered in our database</documentation>
      <wsdl:input message="tns:GetTopGainersDataByDomainSoapIn" />
      <wsdl:output message="tns:GetTopGainersDataByDomainSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="KSETopGainerSoap" type="tns:KSETopGainerSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <wsdl:operation name="GetTopGainersData">
      <soap:operation soapAction="http://www.fapcofinance.com/webservices/GetTopGainersData" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:GetTopGainersDataAuthHeader" part="AuthHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetTopGainersDataByDomain">
      <soap:operation soapAction="http://www.fapcofinance.com/webservices/GetTopGainersDataByDomain" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="KSETopGainer">
    <wsdl:port name="KSETopGainerSoap" binding="tns:KSETopGainerSoap">
      <soap:address location="http://www.fapcofinance.com/webservices/KSETopGainer.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>