<?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="GetTopSectorData">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="local" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTopSectorDataResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetTopSectorDataResult">
              <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="GetTopSectorDataByDomain">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="local" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetTopSectorDataByDomainResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="GetTopSectorDataByDomainResult">
              <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="GetTopSectorDataSoapIn">
    <wsdl:part name="parameters" element="tns:GetTopSectorData" />
  </wsdl:message>
  <wsdl:message name="GetTopSectorDataSoapOut">
    <wsdl:part name="parameters" element="tns:GetTopSectorDataResponse" />
  </wsdl:message>
  <wsdl:message name="GetTopSectorDataAuthHeader">
    <wsdl:part name="AuthHeader" element="tns:AuthHeader" />
  </wsdl:message>
  <wsdl:message name="GetTopSectorDataByDomainSoapIn">
    <wsdl:part name="parameters" element="tns:GetTopSectorDataByDomain" />
  </wsdl:message>
  <wsdl:message name="GetTopSectorDataByDomainSoapOut">
    <wsdl:part name="parameters" element="tns:GetTopSectorDataByDomainResponse" />
  </wsdl:message>
  <wsdl:portType name="KSETopSectorsSoap">
    <wsdl:operation name="GetTopSectorData">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">This Function get the token and language preference and  Return the Most Top Losers Stocks in the market</documentation>
      <wsdl:input message="tns:GetTopSectorDataSoapIn" />
      <wsdl:output message="tns:GetTopSectorDataSoapOut" />
    </wsdl:operation>
    <wsdl:operation name="GetTopSectorDataByDomain">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">This Function get the token and language preference and  Return the Most Top Losers Stocks in the market</documentation>
      <wsdl:input message="tns:GetTopSectorDataByDomainSoapIn" />
      <wsdl:output message="tns:GetTopSectorDataByDomainSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="KSETopSectorsSoap" type="tns:KSETopSectorsSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
    <wsdl:operation name="GetTopSectorData">
      <soap:operation soapAction="http://www.fapcofinance.com/webservices/GetTopSectorData" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
        <soap:header message="tns:GetTopSectorDataAuthHeader" part="AuthHeader" use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="GetTopSectorDataByDomain">
      <soap:operation soapAction="http://www.fapcofinance.com/webservices/GetTopSectorDataByDomain" 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="KSETopSectors">
    <wsdl:port name="KSETopSectorsSoap" binding="tns:KSETopSectorsSoap">
      <soap:address location="http://www.fapcofinance.com/webservices/KSETopSectors.asmx" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>