Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/public/wsdl/noimports.wsdl URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/public/wsdl/noimports.wsdl?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/public/wsdl/noimports.wsdl (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/public/wsdl/noimports.wsdl Wed Nov 26 02:52:40 2008 @@ -0,0 +1,1140 @@ +<?xml version="1.0" encoding="utf-8"?> +<wsdl:definitions name="TradeServiceWcf" targetNamespace="http://trade.samples.websphere.ibm.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:tns="http://trade.samples.websphere.ibm.com" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"> + <!--<wsdl:import namespace="http://trade.samples.websphere.ibm.com" location="TradeServiceWcf.svc.wsdl0"/>--> + <wsdl:types> +<xs:schema elementFormDefault="qualified" targetNamespace="http://trade.samples.websphere.ibm.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://trade.samples.websphere.ibm.com"> + + <xs:element name="emptyMethodAction"> + + <xs:complexType> + + <xs:sequence/> + + </xs:complexType> + + </xs:element> + + <xs:element name="emptyMethodActionResponse"> + + <xs:complexType> + + <xs:sequence/> + + </xs:complexType> + + </xs:element> + + <xs:element name="isOnline"> + + <xs:complexType> + + <xs:sequence/> + + </xs:complexType> + + </xs:element> + + <xs:element name="login"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="loginResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="loginReturn" nillable="true" type="tns:AccountDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:complexType name="AccountDataBean"> + + <xs:sequence> + + <xs:element minOccurs="0" name="accountID" type="xs:int"/> + + <xs:element minOccurs="0" name="loginCount" type="xs:int"/> + + <xs:element minOccurs="0" name="logoutCount" type="xs:int"/> + + <xs:element minOccurs="0" name="lastLogin" type="xs:dateTime"/> + + <xs:element minOccurs="0" name="creationDate" type="xs:dateTime"/> + + <xs:element minOccurs="0" name="balance" type="xs:decimal"/> + + <xs:element minOccurs="0" name="openBalance" type="xs:decimal"/> + + <xs:element minOccurs="0" name="profileID" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + <xs:element name="AccountDataBean" nillable="true" type="tns:AccountDataBean"/> + + <xs:complexType name="OrderDataBean"> + + <xs:sequence> + + <xs:element minOccurs="0" name="orderID" type="xs:int"/> + + <xs:element minOccurs="0" name="orderType" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="orderStatus" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="openDate" type="xs:dateTime"/> + + <xs:element minOccurs="0" name="completionDate" type="xs:dateTime"/> + + <xs:element minOccurs="0" name="quantity" type="xs:double"/> + + <xs:element minOccurs="0" name="price" type="xs:decimal"/> + + <xs:element minOccurs="0" name="orderFee" type="xs:decimal"/> + + <xs:element minOccurs="0" name="symbol" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + <xs:element name="OrderDataBean" nillable="true" type="tns:OrderDataBean"/> + + <xs:element name="getOrders"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getOrdersResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="getOrdersReturn" nillable="true" type="tns:ArrayOfOrderDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:complexType name="ArrayOfOrderDataBean"> + + <xs:sequence> + + <xs:element minOccurs="0" maxOccurs="unbounded" name="OrderDataBean" nillable="true" type="tns:OrderDataBean"/> + + </xs:sequence> + + </xs:complexType> + + <xs:element name="ArrayOfOrderDataBean" nillable="true" type="tns:ArrayOfOrderDataBean"/> + + <xs:element name="getAccountData"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getAccountDataResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="getAccountDataReturn" nillable="true" type="tns:AccountDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getAccountProfileData"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getAccountProfileDataResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="getAccountProfileDataReturn" nillable="true" type="tns:AccountProfileDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:complexType name="AccountProfileDataBean"> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="fullName" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="address" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="email" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="creditCard" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + <xs:element name="AccountProfileDataBean" nillable="true" type="tns:AccountProfileDataBean"/> + + <xs:element name="updateAccountProfile"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="profileData" nillable="true" type="tns:AccountProfileDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="updateAccountProfileResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="updateAccountProfileReturn" nillable="true" type="tns:AccountProfileDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="logout"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="logoutResponse"> + + <xs:complexType> + + <xs:sequence/> + + </xs:complexType> + + </xs:element> + + <xs:element name="buy"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="symbol" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="quantity" type="xs:double"/> + + <xs:element minOccurs="0" name="orderProcessingMode" type="xs:int"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="buyResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="buyReturn" nillable="true" type="tns:OrderDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="sell"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="holdingID" type="xs:int"/> + + <xs:element minOccurs="0" name="orderProcessingMode" type="xs:int"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="sellResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="sellReturn" nillable="true" type="tns:OrderDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:complexType name="HoldingDataBean"> + + <xs:sequence> + + <xs:element minOccurs="0" name="holdingID" type="xs:int"/> + + <xs:element minOccurs="0" name="quantity" type="xs:double"/> + + <xs:element minOccurs="0" name="purchasePrice" type="xs:decimal"/> + + <xs:element minOccurs="0" name="purchaseDate" type="xs:dateTime"/> + + <xs:element minOccurs="0" name="quoteID" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + <xs:element name="HoldingDataBean" nillable="true" type="tns:HoldingDataBean"/> + + <xs:element name="getHoldings"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getHoldingsResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="getHoldingsReturn" nillable="true" type="tns:ArrayOfHoldingDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:complexType name="ArrayOfHoldingDataBean"> + + <xs:sequence> + + <xs:element minOccurs="0" maxOccurs="unbounded" name="HoldingDataBean" nillable="true" type="tns:HoldingDataBean"/> + + </xs:sequence> + + </xs:complexType> + + <xs:element name="ArrayOfHoldingDataBean" nillable="true" type="tns:ArrayOfHoldingDataBean"/> + + <xs:element name="register"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="password" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="fullname" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="address" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="email" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="creditcard" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="openBalance" type="xs:decimal"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="registerResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="registerReturn" nillable="true" type="tns:AccountDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getClosedOrders"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getClosedOrdersResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="getClosedOrdersReturn" nillable="true" type="tns:ArrayOfOrderDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:complexType name="QuoteDataBean"> + + <xs:sequence> + + <xs:element minOccurs="0" name="symbol" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="companyName" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="price" type="xs:decimal"/> + + <xs:element minOccurs="0" name="open" type="xs:decimal"/> + + <xs:element minOccurs="0" name="low" type="xs:decimal"/> + + <xs:element minOccurs="0" name="high" type="xs:decimal"/> + + <xs:element minOccurs="0" name="change" type="xs:double"/> + + <xs:element minOccurs="0" name="volume" type="xs:double"/> + + </xs:sequence> + + </xs:complexType> + + <xs:element name="QuoteDataBean" nillable="true" type="tns:QuoteDataBean"/> + + <xs:element name="getMarketSummary"> + + <xs:complexType> + + <xs:sequence/> + + </xs:complexType> + + </xs:element> + + <xs:element name="getMarketSummaryResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="getMarketSummaryReturn" nillable="true" type="tns:MarketSummaryDataBeanWS"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:complexType name="MarketSummaryDataBeanWS"> + + <xs:sequence> + + <xs:element minOccurs="0" name="TSIA" type="xs:decimal"/> + + <xs:element minOccurs="0" name="openTSIA" type="xs:decimal"/> + + <xs:element minOccurs="0" name="volume" type="xs:double"/> + + <xs:element minOccurs="0" name="topGainers" nillable="true" type="tns:ArrayOfQuoteDataBean"> + + <xs:annotation> + + <xs:appinfo> + + <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/> + + </xs:appinfo> + + </xs:annotation> + + </xs:element> + + <xs:element minOccurs="0" name="topLosers" nillable="true" type="tns:ArrayOfQuoteDataBean"> + + <xs:annotation> + + <xs:appinfo> + + <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/"/> + + </xs:appinfo> + + </xs:annotation> + + </xs:element> + + <xs:element minOccurs="0" name="summaryDate" type="xs:dateTime"/> + + </xs:sequence> + + </xs:complexType> + + <xs:element name="MarketSummaryDataBeanWS" nillable="true" type="tns:MarketSummaryDataBeanWS"/> + + <xs:complexType name="ArrayOfQuoteDataBean"> + + <xs:sequence> + + <xs:element minOccurs="0" maxOccurs="unbounded" name="QuoteDataBean" nillable="true" type="tns:QuoteDataBean"/> + + </xs:sequence> + + </xs:complexType> + + <xs:element name="ArrayOfQuoteDataBean" nillable="true" type="tns:ArrayOfQuoteDataBean"/> + + <xs:element name="getQuote"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="symbol" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getQuoteResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="getQuoteReturn" nillable="true" type="tns:QuoteDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getHolding"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="holdingID" type="xs:int"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getHoldingResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="getHoldingReturn" nillable="true" type="tns:HoldingDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getTopOrders"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="getTopOrdersResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="getTopOrdersReturn" nillable="true" type="tns:ArrayOfOrderDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="sellEnhanced"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="userID" nillable="true" type="xs:string"/> + + <xs:element minOccurs="0" name="holdingID" type="xs:int"/> + + <xs:element minOccurs="0" name="quantity" type="xs:double"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + + <xs:element name="sellEnhancedResponse"> + + <xs:complexType> + + <xs:sequence> + + <xs:element minOccurs="0" name="sellEnhancedReturn" nillable="true" type="tns:OrderDataBean"/> + + </xs:sequence> + + </xs:complexType> + + </xs:element> + +</xs:schema> +<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/"> + + <xs:element name="anyType" nillable="true" type="xs:anyType"/> + + <xs:element name="anyURI" nillable="true" type="xs:anyURI"/> + + <xs:element name="base64Binary" nillable="true" type="xs:base64Binary"/> + + <xs:element name="boolean" nillable="true" type="xs:boolean"/> + + <xs:element name="byte" nillable="true" type="xs:byte"/> + + <xs:element name="dateTime" nillable="true" type="xs:dateTime"/> + + <xs:element name="decimal" nillable="true" type="xs:decimal"/> + + <xs:element name="double" nillable="true" type="xs:double"/> + + <xs:element name="float" nillable="true" type="xs:float"/> + + <xs:element name="int" nillable="true" type="xs:int"/> + + <xs:element name="long" nillable="true" type="xs:long"/> + + <xs:element name="QName" nillable="true" type="xs:QName"/> + + <xs:element name="short" nillable="true" type="xs:short"/> + + <xs:element name="string" nillable="true" type="xs:string"/> + + <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte"/> + + <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt"/> + + <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong"/> + + <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort"/> + + <xs:element name="char" nillable="true" type="tns:char"/> + + <xs:simpleType name="char"> + + <xs:restriction base="xs:int"/> + + </xs:simpleType> + + <xs:element name="duration" nillable="true" type="tns:duration"/> + + <xs:simpleType name="duration"> + + <xs:restriction base="xs:duration"> + + <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?"/> + + <xs:minInclusive value="-P10675199DT2H48M5.4775808S"/> + + <xs:maxInclusive value="P10675199DT2H48M5.4775807S"/> + + </xs:restriction> + + </xs:simpleType> + + <xs:element name="guid" nillable="true" type="tns:guid"/> + + <xs:simpleType name="guid"> + + <xs:restriction base="xs:string"> + + <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}"/> + + </xs:restriction> + + </xs:simpleType> + + <xs:attribute name="FactoryType" type="xs:QName"/> + +</xs:schema> + <!--<xsd:schema targetNamespace="http://trade.samples.websphere.ibm.com/Imports"> + <xsd:import schemaLocation="TradeServiceWcf.svc.xsd0" namespace="http://trade.samples.websphere.ibm.com"/> + <xsd:import schemaLocation="TradeServiceWcf.svc.xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/> + </xsd:schema>--> + </wsdl:types> + <wsdl:message name="ITradeServices_emptyMethodAction_InputMessage"> + <wsdl:part name="parameters" element="tns:emptyMethodAction"/> + </wsdl:message> + <wsdl:message name="ITradeServices_emptyMethodAction_OutputMessage"> + <wsdl:part name="parameters" element="tns:emptyMethodActionResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_isOnline_InputMessage"> + <wsdl:part name="parameters" element="tns:isOnline"/> + </wsdl:message> + <wsdl:message name="ITradeServices_login_InputMessage"> + <wsdl:part name="parameters" element="tns:login"/> + </wsdl:message> + <wsdl:message name="ITradeServices_login_OutputMessage"> + <wsdl:part name="parameters" element="tns:loginResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getOrders_InputMessage"> + <wsdl:part name="parameters" element="tns:getOrders"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getOrders_OutputMessage"> + <wsdl:part name="parameters" element="tns:getOrdersResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getAccountData_InputMessage"> + <wsdl:part name="parameters" element="tns:getAccountData"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getAccountData_OutputMessage"> + <wsdl:part name="parameters" element="tns:getAccountDataResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getAccountProfileData_InputMessage"> + <wsdl:part name="parameters" element="tns:getAccountProfileData"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getAccountProfileData_OutputMessage"> + <wsdl:part name="parameters" element="tns:getAccountProfileDataResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_updateAccountProfile_InputMessage"> + <wsdl:part name="parameters" element="tns:updateAccountProfile"/> + </wsdl:message> + <wsdl:message name="ITradeServices_updateAccountProfile_OutputMessage"> + <wsdl:part name="parameters" element="tns:updateAccountProfileResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_logout_InputMessage"> + <wsdl:part name="parameters" element="tns:logout"/> + </wsdl:message> + <wsdl:message name="ITradeServices_logout_OutputMessage"> + <wsdl:part name="parameters" element="tns:logoutResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_buy_InputMessage"> + <wsdl:part name="parameters" element="tns:buy"/> + </wsdl:message> + <wsdl:message name="ITradeServices_buy_OutputMessage"> + <wsdl:part name="parameters" element="tns:buyResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_sell_InputMessage"> + <wsdl:part name="parameters" element="tns:sell"/> + </wsdl:message> + <wsdl:message name="ITradeServices_sell_OutputMessage"> + <wsdl:part name="parameters" element="tns:sellResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getHoldings_InputMessage"> + <wsdl:part name="parameters" element="tns:getHoldings"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getHoldings_OutputMessage"> + <wsdl:part name="parameters" element="tns:getHoldingsResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_register_InputMessage"> + <wsdl:part name="parameters" element="tns:register"/> + </wsdl:message> + <wsdl:message name="ITradeServices_register_OutputMessage"> + <wsdl:part name="parameters" element="tns:registerResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getClosedOrders_InputMessage"> + <wsdl:part name="parameters" element="tns:getClosedOrders"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getClosedOrders_OutputMessage"> + <wsdl:part name="parameters" element="tns:getClosedOrdersResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getMarketSummary_InputMessage"> + <wsdl:part name="parameters" element="tns:getMarketSummary"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getMarketSummary_OutputMessage"> + <wsdl:part name="parameters" element="tns:getMarketSummaryResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getQuote_InputMessage"> + <wsdl:part name="parameters" element="tns:getQuote"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getQuote_OutputMessage"> + <wsdl:part name="parameters" element="tns:getQuoteResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getHolding_InputMessage"> + <wsdl:part name="parameters" element="tns:getHolding"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getHolding_OutputMessage"> + <wsdl:part name="parameters" element="tns:getHoldingResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getTopOrders_InputMessage"> + <wsdl:part name="parameters" element="tns:getTopOrders"/> + </wsdl:message> + <wsdl:message name="ITradeServices_getTopOrders_OutputMessage"> + <wsdl:part name="parameters" element="tns:getTopOrdersResponse"/> + </wsdl:message> + <wsdl:message name="ITradeServices_sellEnhanced_InputMessage"> + <wsdl:part name="parameters" element="tns:sellEnhanced"/> + </wsdl:message> + <wsdl:message name="ITradeServices_sellEnhanced_OutputMessage"> + <wsdl:part name="parameters" element="tns:sellEnhancedResponse"/> + </wsdl:message> + <wsdl:portType name="ITradeServices"> + <wsdl:operation name="emptyMethodAction"> + <wsdl:input wsaw:Action="" message="tns:ITradeServices_emptyMethodAction_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/emptyMethodActionResponse" message="tns:ITradeServices_emptyMethodAction_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="isOnline"> + <wsdl:input wsaw:Action="isOnline" message="tns:ITradeServices_isOnline_InputMessage"/> + </wsdl:operation> + <wsdl:operation name="login"> + <wsdl:input wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/login" message="tns:ITradeServices_login_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/loginResponse" message="tns:ITradeServices_login_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="getOrders"> + <wsdl:input wsaw:Action="getOrders" message="tns:ITradeServices_getOrders_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/getOrdersResponse" message="tns:ITradeServices_getOrders_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="getAccountData"> + <wsdl:input wsaw:Action="getAccountData" message="tns:ITradeServices_getAccountData_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/getAccountDataResponse" message="tns:ITradeServices_getAccountData_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="getAccountProfileData"> + <wsdl:input wsaw:Action="getAccountProfileData" message="tns:ITradeServices_getAccountProfileData_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/getAccountProfileDataResponse" message="tns:ITradeServices_getAccountProfileData_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="updateAccountProfile"> + <wsdl:input wsaw:Action="updateAccountProfile" message="tns:ITradeServices_updateAccountProfile_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/updateAccountProfileResponse" message="tns:ITradeServices_updateAccountProfile_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="logout"> + <wsdl:input wsaw:Action="logout" message="tns:ITradeServices_logout_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/logoutResponse" message="tns:ITradeServices_logout_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="buy"> + <wsdl:input wsaw:Action="buy" message="tns:ITradeServices_buy_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/buyResponse" message="tns:ITradeServices_buy_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="sell"> + <wsdl:input wsaw:Action="sell" message="tns:ITradeServices_sell_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/sellResponse" message="tns:ITradeServices_sell_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="getHoldings"> + <wsdl:input wsaw:Action="getHoldings" message="tns:ITradeServices_getHoldings_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/getHoldingsResponse" message="tns:ITradeServices_getHoldings_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="register"> + <wsdl:input wsaw:Action="register" message="tns:ITradeServices_register_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/registerResponse" message="tns:ITradeServices_register_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="getClosedOrders"> + <wsdl:input wsaw:Action="getClosedOrders" message="tns:ITradeServices_getClosedOrders_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/getClosedOrdersResponse" message="tns:ITradeServices_getClosedOrders_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="getMarketSummary"> + <wsdl:input wsaw:Action="getMarketSummary" message="tns:ITradeServices_getMarketSummary_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/getMarketSummaryResponse" message="tns:ITradeServices_getMarketSummary_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="getQuote"> + <wsdl:input wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/getQuote" message="tns:ITradeServices_getQuote_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/getQuoteResponse" message="tns:ITradeServices_getQuote_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="getHolding"> + <wsdl:input wsaw:Action="getHolding" message="tns:ITradeServices_getHolding_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/getHoldingResponse" message="tns:ITradeServices_getHolding_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="getTopOrders"> + <wsdl:input wsaw:Action="getTopOrders" message="tns:ITradeServices_getTopOrders_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/getTopOrdersResponse" message="tns:ITradeServices_getTopOrders_OutputMessage"/> + </wsdl:operation> + <wsdl:operation name="sellEnhanced"> + <wsdl:input wsaw:Action="sellEnhanced" message="tns:ITradeServices_sellEnhanced_InputMessage"/> + <wsdl:output wsaw:Action="http://trade.samples.websphere.ibm.com/ITradeServices/sellEnhancedResponse" message="tns:ITradeServices_sellEnhanced_OutputMessage"/> + </wsdl:operation> + </wsdl:portType> + + <wsdl:binding name="BasicHttpBinding_ITradeServices" type="tns:ITradeServices"> + <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="emptyMethodAction"> + <soap:operation soapAction="" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="isOnline"> + <soap:operation soapAction="isOnline" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + </wsdl:operation> + <wsdl:operation name="login"> + <soap:operation soapAction="http://trade.samples.websphere.ibm.com/ITradeServices/login" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getOrders"> + <soap:operation soapAction="getOrders" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getAccountData"> + <soap:operation soapAction="getAccountData" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getAccountProfileData"> + <soap:operation soapAction="getAccountProfileData" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="updateAccountProfile"> + <soap:operation soapAction="updateAccountProfile" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="logout"> + <soap:operation soapAction="logout" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="buy"> + <soap:operation soapAction="buy" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="sell"> + <soap:operation soapAction="sell" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getHoldings"> + <soap:operation soapAction="getHoldings" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="register"> + <soap:operation soapAction="register" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getClosedOrders"> + <soap:operation soapAction="getClosedOrders" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getMarketSummary"> + <soap:operation soapAction="getMarketSummary" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getQuote"> + <soap:operation soapAction="http://trade.samples.websphere.ibm.com/ITradeServices/getQuote" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getHolding"> + <soap:operation soapAction="getHolding" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="getTopOrders"> + <soap:operation soapAction="getTopOrders" style="document"/> + <wsdl:input> + <soap:body use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="sellEnhanced"> + <soap:operation soapAction="sellEnhanced" 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="TradeServiceWcf"> + <wsdl:port name="BasicHttpBinding_ITradeServices" binding="tns:BasicHttpBinding_ITradeServices"> + <soap:address location="http://localhost:3001/TradeServiceWcf/TradeServiceWcf.svc"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions>
Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/about URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/about?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/about (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/about Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../config/boot' +require 'commands/about' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/console URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/console?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/console (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/console Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../config/boot' +require 'commands/console' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/dbconsole URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/dbconsole?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/dbconsole (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/dbconsole Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../config/boot' +require 'commands/dbconsole' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/destroy URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/destroy?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/destroy (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/destroy Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../config/boot' +require 'commands/destroy' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/generate URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/generate?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/generate (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/generate Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../config/boot' +require 'commands/generate' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/benchmarker URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/benchmarker?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/benchmarker (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/benchmarker Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../../config/boot' +require 'commands/performance/benchmarker' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/profiler URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/profiler?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/profiler (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/profiler Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../../config/boot' +require 'commands/performance/profiler' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/request URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/request?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/request (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/performance/request Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../../config/boot' +require 'commands/performance/request' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/plugin URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/plugin?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/plugin (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/plugin Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../config/boot' +require 'commands/plugin' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/inspector URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/inspector?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/inspector (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/inspector Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../../config/boot' +require 'commands/process/inspector' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/reaper URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/reaper?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/reaper (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/reaper Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../../config/boot' +require 'commands/process/reaper' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/spawner URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/spawner?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/spawner (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/process/spawner Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../../config/boot' +require 'commands/process/spawner' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/runner URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/runner?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/runner (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/runner Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../config/boot' +require 'commands/runner' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/server URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/server?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/server (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/script/server Wed Nov 26 02:52:40 2008 @@ -0,0 +1,3 @@ +#!/usr/bin/env ruby +require File.dirname(__FILE__) + '/../config/boot' +require 'commands/server' Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/test/functional/trade_controller_test.rb URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/test/functional/trade_controller_test.rb?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/test/functional/trade_controller_test.rb (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/test/functional/trade_controller_test.rb Wed Nov 26 02:52:40 2008 @@ -0,0 +1,24 @@ + +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require 'test_helper' + +class TradeControllerTest < ActionController::TestCase + # Replace this with your real tests. + def test_truth + assert true + end +end Added: incubator/stonehenge/contrib/stocktrader/ruby/trader_client/test/test_helper.rb URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/ruby/trader_client/test/test_helper.rb?rev=720797&view=auto ============================================================================== --- incubator/stonehenge/contrib/stocktrader/ruby/trader_client/test/test_helper.rb (added) +++ incubator/stonehenge/contrib/stocktrader/ruby/trader_client/test/test_helper.rb Wed Nov 26 02:52:40 2008 @@ -0,0 +1,55 @@ + +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +ENV["RAILS_ENV"] = "test" +require File.expand_path(File.dirname(__FILE__) + "/../config/environment") +require 'test_help' + +class Test::Unit::TestCase + # Transactional fixtures accelerate your tests by wrapping each test method + # in a transaction that's rolled back on completion. This ensures that the + # test database remains unchanged so your fixtures don't have to be reloaded + # between every test method. Fewer database queries means faster tests. + # + # Read Mike Clark's excellent walkthrough at + # http://clarkware.com/cgi/blosxom/2005/10/24#Rails10FastTesting + # + # Every Active Record database supports transactions except MyISAM tables + # in MySQL. Turn off transactional fixtures in this case; however, if you + # don't care one way or the other, switching from MyISAM to InnoDB tables + # is recommended. + # + # The only drawback to using transactional fixtures is when you actually + # need to test transactions. Since your test is bracketed by a transaction, + # any transactions started in your code will be automatically rolled back. + self.use_transactional_fixtures = true + + # Instantiated fixtures are slow, but give you @david where otherwise you + # would need people(:david). If you don't want to migrate your existing + # test cases which use the @david style and don't mind the speed hit (each + # instantiated fixtures translates to a database query per test method), + # then set this back to true. + self.use_instantiated_fixtures = false + + # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order. + # + # Note: You'll currently still have to declare fixtures explicitly in integration tests + # -- they do not yet inherit this setting + fixtures :all + + # Add more helper methods to be used by all tests here... +end