<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns:s1="http://ws.strikeiron.com" 
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:s0="http://www.strikeiron.com" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
targetNamespace="http://www.strikeiron.com" 
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:Ontology0="http://lsdis.cs.uga.edu/projects/meteor-s/wsdl-s/ontologies/LSDIS_Finance.owl"
xmlns:wssem="http://www.ibm.com/xmlns/WebServices/WSSemantics">
 
  <message name="GetOneQuoteSoapIn">
    <part name="TickerSymbol" type="s:string"  wssem:modelReference="Ontology0#Stock.stockSymbol"/>
  </message>
  <message name="GetOneQuoteSoapOut">
  	<part name="Symbol" type="s:string" wssem:modelReference="Ontology0#Stock.stockSymbol"/>
 	<part name="CUSIP" type="s:string" wssem:modelReference="Ontology0#Stock.CUSIP"/>
    <part name="CIK" type="s:string" wssem:modelReference="Ontology0#Stock.CIK"/>
    <part name="Name" type="s:string" wssem:modelReference="Ontology0#Stock.shareOf"/>
    <part name="Date" type="s:string" />
    <part name="Time" type="s:string" />
    <part name="Last" type="s:double" wssem:modelReference="Ontology0#RealTimeStockQuote.price"/>
    <part name="Quantity" type="s:int" wssem:modelReference="Ontology0#RealTimeStockQuote.quantity"/>
    <part name="ChangeFromPrevious" type="s:double" />
    <part name="PercentChangeFromPrevious" type="s:double" wssem:modelReference="Ontology0#ChangeMeasure.percent"/>
    <part name="Open" type="s:double" wssem:modelReference="Ontology0#Stock.open"/>
    <part name="ChangeFromOpen" type="s:double" wssem:modelReference="Ontology0#Stock.changeInValue"/>
    <part name="PercentChangeFromOpen" type="s:double" />
    <part name="Bid" type="s:double" />
    <part name="Ask" type="s:double" />
    <part name="Spread" type="s:double" />
    <part name="BidQuantity" type="s:int" />
    <part name="AskQuantity" type="s:int" />
    <part name="Volume" type="s:int" />
    <part name="ECNVolume" type="s:int" />
    <part name="Highest" type="s:double" wssem:modelReference="Ontology0#DailyChange.high"/>
    <part name="Lowest" type="s:double" wssem:modelReference="Ontology0#DailyChange.low"/>
    <part name="Rank" type="s:string" />
  </message>
  
  
  <portType name="BasicRealTimeQuotesSoap">
   
    <operation name="GetOneQuote" wssem:modelReference="Ontology0#StockQuote">
      <documentation>Get Realtime quote information for given Ticker symbol</documentation>
      <input message="s0:GetOneQuoteSoapIn" />
      <output message="s0:GetOneQuoteSoapOut" />
    </operation>
   
  </portType>
  <binding name="BasicRealTimeQuotesSoap" type="s0:BasicRealTimeQuotesSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
     <operation name="GetOneQuote">
      <soap:operation soapAction="http://www.strikeiron.com/GetOneQuote" style="document" />
      <input>
        <soap:body use="literal" />
        <s0:validation xmlns:tns="http://www.strikeiron.com">
          <tns:assertions>
            <tns:assertion>
              <tns:expression>string-length(//tns:TickerSymbol) &gt; 0</tns:expression>
              <tns:description>TickerSymbol is required</tns:description>
            </tns:assertion>
          </tns:assertions>
        </s0:validation>
        <soap:header message="s0:LicenseInfoMessage" part="LicenseInfo" use="literal" />
      </input>
      <output>
        <soap:body use="literal" />
        <soap:header message="s0:GetOneQuoteResponseInfo" part="ResponseInfo" use="literal" />
        <soap:header message="s0:SubscriptionInfoMessage" part="SubscriptionInfo" use="literal" />
      </output>
    </operation>
   
  </binding>
  <service name="BasicRealTimeQuotes">
    <port name="BasicRealTimeQuotesSoap" binding="s0:BasicRealTimeQuotesSoap">
      <soap:address location="http://ws.strikeiron.com/StrikeIron/BasicRealTimeQuotes" />
    </port>
  </service>
</definitions>


