incubator-stonehenge-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drew...@apache.org
Subject svn commit: r781666 [1/6] - in /incubator/stonehenge/contrib/stocktrader/metro: ./ business_service/ business_service/config/ business_service/etc/ business_service/etc/order_processor/ business_service/lib/ business_service/lib/commons/ business_servi...
Date Thu, 04 Jun 2009 07:04:27 GMT
Author: drewbai
Date: Thu Jun  4 07:04:21 2009
New Revision: 781666

URL: http://svn.apache.org/viewvc?rev=781666&view=rev
Log:
Initial contribution of Sun Metro (try 2)

Added:
    incubator/stonehenge/contrib/stocktrader/metro/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/build.xml
    incubator/stonehenge/contrib/stocktrader/metro/business_service/config/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/config/mssql-db.properties
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/TradeServiceWsas.wsdl
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/build.properties
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/client-keystore.jks   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/client-truststore.jks   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/custom-jaxbbean.xml
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/custom-sei.xml
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/OrderProcessor.wsdl
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/custom-jaxbbean.xml
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/custom-sei.xml
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/wsdl0.wsdl
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd0.xsd
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd1.xsd
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd2.xsd
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/sun-jaxws.xml
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/web.xml
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/wsdl0.wsdl
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/xsd0.xsd
    incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/xsd1.xsd
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/commons/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/commons/commons-logging-1.1.1.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/log4j/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/log4j/log4j-1.2.15.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/metro/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/metro/webservices-api.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/metro/webservices-extra-api.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/metro/webservices-extra.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/metro/webservices-rt.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/metro/webservices-tools.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/mssql/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/lib/mssql/jtds-1.2.2.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/CustomAccountBean.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/CustomAccountProfileBean.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/CustomHoldingBean.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/CustomMarketSummaryBean.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/CustomOrderBean.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/CustomQuoteBean.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/dal/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/dal/CustomerDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/dal/DAOException.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/dal/DAOFactory.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/dal/MarketSummaryDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/dal/OrderDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/mssql/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/mssql/AbstractMSSQLDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/mssql/MSSQLCustomerDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/mssql/MSSQLDAOFactory.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/mssql/MSSQLMarketSummaryDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/mssql/MSSQLOrderDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/services/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/services/TradeConfigServiceClient.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/services/TradeOrderConfig.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/services/TradeOrderServiceClient.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/services/TradeServiceImpl.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/services/TraderServiceManager.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/util/
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/util/StockTraderSQLUtil.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/org/wso2/stocktrader/util/StockTraderUtility.java
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/wsdl0.wsdl
    incubator/stonehenge/contrib/stocktrader/metro/business_service/src/wsit-client.xml
    incubator/stonehenge/contrib/stocktrader/metro/documents/
    incubator/stonehenge/contrib/stocktrader/metro/documents/manual.doc   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/etc/
    incubator/stonehenge/contrib/stocktrader/metro/etc/App.config
    incubator/stonehenge/contrib/stocktrader/metro/etc/Web.config
    incubator/stonehenge/contrib/stocktrader/metro/etc/as.xml
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/build.xml
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/config/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/config/mssql-db.properties
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/OrderProcessor.wsdl
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/build.properties
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/custom-jaxbbean.xml
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/custom-sei.xml
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/server-keystore.jks   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/server-truststore.jks   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/sun-jaxws.xml
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/web.xml
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/wsdl0.wsdl
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/xsd0.xsd
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/xsd1.xsd
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/etc/xsd2.xsd
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/commons/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/commons/commons-logging-1.1.1.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/log4j/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/log4j/log4j-1.2.15.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/metro/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/metro/webservices-api.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/metro/webservices-extra-api.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/metro/webservices-extra.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/metro/webservices-rt.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/metro/webservices-tools.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/mssql/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/lib/mssql/jtds-1.2.2.jar   (with props)
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/CustomHoldingBean.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/CustomOrderBean.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/CustomQuoteBean.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/dal/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/dal/CustomerDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/dal/DAOException.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/dal/DAOFactory.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/dal/MarketSummaryDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/dal/OrderDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/mssql/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/mssql/AbstractMSSQLDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/mssql/MSSQLCustomerDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/mssql/MSSQLDAOFactory.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/mssql/MSSQLMarketSummaryDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/mssql/MSSQLOrderDAO.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/service/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/service/OrderProcessManager.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/service/OrderProcessorImpl.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/util/
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/util/OrderProcessorUtility.java
    incubator/stonehenge/contrib/stocktrader/metro/order_processor/src/org/wso2/stocktrader/util/StockTraderUtility.java

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/build.xml
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/build.xml?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/build.xml (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/build.xml Thu Jun  4 07:04:21 2009
@@ -0,0 +1,197 @@
+<project basedir="." default="war" name="business_service">
+    <property file="etc/build.properties"/>
+    <property name="src.dir" value="${basedir}/src"/>
+    <property name="build.home" value="${basedir}/build"/>
+    <property name="build.classes.home" value="${build.home}/classes"/>
+    <property name="build.war.home" value="${build.home}/war"/>
+    <property name="build.war.lib.home" value=""/>
+    <property name="war.name" value="${ant.project.name}.war"/>
+    <property name="war.file" value="${build.war.home}/${war.name}"/>
+    <property name="lib.home" value="${basedir}/lib"/>
+    <property name="lib.metro.home" value="${lib.home}/metro"/>
+    <property name="op.file" value="${build.classes.home}/TradeServiceConfig.properties"/>
+    <property name="client.keystore" value="${basedir}/etc/client-keystore.jks"/>
+    <property name="client.truststore" value="${basedir}/etc/client-truststore.jks"/>
+
+    <import file="../etc/as.xml"/>
+
+    <path id="metro.classpath">
+        <pathelement location="${java.home}/../lib/tools.jar"/>
+        <fileset dir="${lib.metro.home}">
+            <include name="*.jar"/>
+        </fileset>
+    </path>
+
+    <path id="all.classpath">
+        <fileset dir="${lib.home}">
+            <include name="**/*.jar"/>
+        </fileset>
+    </path>
+
+    <target name="metro">
+        <property name="isMetro" value="true"/>
+    </target>
+
+    <target name="dotnet">
+        <property name="isDotnet" value="true"/>
+    </target>
+
+    <target name="sec">
+        <property name="isSec" value="true"/>
+    </target>
+
+    <target name="nosec">
+        <property name="isNoSec" value="true"/>
+    </target>
+
+    <target name="defaultOpProperty">
+        <condition property="isMetro">
+            <not>
+                <isset property="isDotnet"/>
+            </not>
+        </condition>
+
+        <condition property="isSec">
+            <not>
+                <isset property="isNoSec"/>
+            </not>
+        </condition>
+    </target>
+
+    <target name="checkOpProperty" depends="defaultOpProperty">
+        <condition property="isMetroSec">
+            <and>
+                <istrue value="${isMetro}"/>
+                <istrue value="${isSec}"/>
+            </and>
+        </condition>
+
+        <condition property="isMetroNoSec">
+            <and>
+                <istrue value="${isMetro}"/>
+                <istrue value="${isNoSec}"/>
+            </and>
+        </condition>
+
+        <condition property="isDotnetSec">
+            <and>
+                <istrue value="${isDotnet}"/>
+                <istrue value="${isSec}"/>
+            </and>
+        </condition>
+
+        <condition property="isDotnetNoSec">
+            <and>
+                <istrue value="${isDotnet}"/>
+                <istrue value="${isNoSec}"/>
+            </and>
+        </condition>
+    </target>
+
+    <target name="configMetroSecOpUrl" depends="checkOpProperty" if="isMetroSec">
+        <property name="op.url" value="${metro.sec.op.url}"/>
+        <property name="secure" value="true"/>
+    </target>
+
+    <target name="configMetroNoSecOpUrl" depends="checkOpProperty" if="isMetroNoSec">
+        <property name="op.url" value="${metro.nosec.op.url}"/>
+        <property name="secure" value="false"/>
+    </target>
+
+    <target name="configDotnetSecOpUrl" depends="checkOpProperty" if="isDotnetSec">
+        <property name="op.url" value="${dotnet.sec.op.url}"/>
+        <property name="secure" value="true"/>
+    </target>
+
+    <target name="configDotnetNoSecOpUrl" depends="checkOpProperty" if="isDotnetNoSec">
+        <property name="op.url" value="${dotnet.nosec.op.url}"/>
+        <property name="secure" value="false"/>
+    </target>
+
+    <target name="setup-build-dir" depends="clean">
+        <mkdir dir="${build.home}"/>
+        <mkdir dir="${build.classes.home}"/>
+        <mkdir dir="${build.war.home}"/>
+    </target>
+
+    <target name="configOp" depends="setup-build-dir, configMetroSecOpUrl, configMetroNoSecOpUrl, configDotnetSecOpUrl, configDotnetNoSecOpUrl">
+        <delete file="${op.file}"/>
+        <echo message="org.wso2.stocktrader.TradeConfigServiceClient.url=${op.url}${line.separator}" file="${op.file}" />
+        <echo message="secure=${secure}" file="${op.file}" append="true"/>
+    </target>
+
+    <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
+        <classpath refid="metro.classpath"/>
+    </taskdef>
+
+    <target name="setup" depends="configOp"/>
+
+    <target name="clean">
+        <delete dir="${build.home}" includeEmptyDirs="true"/>
+    </target>
+
+    <target name="generate-order-processor-client">
+        <wsimport
+                debug="${debug}"
+                verbose="${verbose}"
+                keep="${keep}"
+                destdir="${build.classes.home}"
+                wsdl="${client.wsdl}"
+                extension="true">
+            <binding dir="${basedir}/etc" includes="${client.binding}"/>
+            <xjcarg value="-extension"/>
+        </wsimport>
+    </target>
+
+    <target name="build" depends="setup, generate-order-processor-client">
+        <wsimport
+                debug="${debug}"
+                verbose="${verbose}"
+                keep="${keep}"
+                destdir="${build.classes.home}"
+                wsdl="${basedir}/${service.wsdl}">
+            <binding dir="${basedir}/etc" includes="${service.binding}"/>
+            <xjcarg value="-extension"/>
+        </wsimport>
+        <copy todir="${build.classes.home}">
+            <fileset dir="config" includes="*.properties"/>
+        </copy>
+        <copy file="${src.dir}/wsdl0.wsdl" todir="${build.classes.home}"/>
+        <copy file="${src.dir}/wsit-client.xml" todir="${build.classes.home}"/>
+        <javac
+                fork="true"
+                srcdir="${src.dir}"
+                destdir="${build.classes.home}">
+            <classpath refid="all.classpath"/>
+        </javac>
+    </target>
+
+    <target name="war" depends="build">
+        <war warfile="${war.file}" webxml="etc/web.xml">
+            <webinf dir="${basedir}/etc" includes="sun-jaxws.xml"/>
+            <zipfileset
+                    dir="${basedir}/etc"
+                    includes="*.wsdl, *.xsd"
+                    prefix="WEB-INF/wsdl"/>
+            <classes dir="${build.classes.home}"/>
+            <lib dir="${lib.home}/commons"/>
+            <lib dir="${lib.home}/log4j"/>
+            <lib dir="${lib.home}/mssql"/>
+        </war>
+    </target>
+
+    <target name="deploy-keystore" depends="defaultOpProperty" if="isSec">
+        <copy file="${client.keystore}" todir="${keystore.dir}"/>
+        <copy file="${client.truststore}" todir="${keystore.dir}"/>
+    </target>
+
+    <target name="deploy" depends="war, deploy-keystore">
+        <copy file="${war.file}" todir="${deploy.dir}"/>
+    </target>
+
+    <target name="undeploy">
+        <delete file="${deploy.dir}/${war.name}"/>
+    </target>
+
+    <target name="redeploy" depends="undeploy, deploy"/>
+</project>

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/config/mssql-db.properties
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/config/mssql-db.properties?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/config/mssql-db.properties (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/config/mssql-db.properties Thu Jun  4 07:04:21 2009
@@ -0,0 +1,5 @@
+org.wso2.stocktrader.mssql.MSSQLDAOFactory.host=localhost
+org.wso2.stocktrader.mssql.MSSQLDAOFactory.port=1433
+org.wso2.stocktrader.mssql.MSSQLDAOFactory.db=StockTraderDB
+org.wso2.stocktrader.mssql.MSSQLDAOFactory.user=trade
+org.wso2.stocktrader.mssql.MSSQLDAOFactory.password=yyy
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/TradeServiceWsas.wsdl
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/TradeServiceWsas.wsdl?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/TradeServiceWsas.wsdl (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/TradeServiceWsas.wsdl Thu Jun  4 07:04:21 2009
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="TradeServiceWsas" targetNamespace="http://tempuri.org/" xmlns:tns="http://tempuri.org/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:i0="http://trade.samples.websphere.ibm.com" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract">
+  <wsdl:import namespace="http://trade.samples.websphere.ibm.com" location="wsdl0.wsdl">
+    </wsdl:import>
+  <wsdl:types>
+  </wsdl:types>
+  <wsdl:binding name="BasicHttpBinding_ITradeServices" type="i0: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="TradeServiceWsas">
+    <wsdl:port name="BasicHttpBinding_ITradeServices" binding="tns:BasicHttpBinding_ITradeServices">
+      <soap:address location=""/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/build.properties
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/build.properties?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/build.properties (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/build.properties Thu Jun  4 07:04:21 2009
@@ -0,0 +1,15 @@
+debug=false
+keep=true
+verbose=false
+
+service.binding=custom-*.xml 
+service.wsdl=etc/TradeServiceWsas.wsdl
+
+client.binding=order_processor/custom-*.xml
+client.wsdl=etc/order_processor/OrderProcessor.wsdl
+
+metro.sec.op.url=http://localhost:8000/tradeorderprocessor/sec
+metro.nosec.op.url=http://localhost:8000/tradeorderprocessor/nosec
+dotnet.sec.op.url=http://localhost:8000/dotnet/tradeorderprocessor/sec
+dotnet.nosec.op.url=http://localhost:8000/dotnet/tradeorderprocessor/nosec
+

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/client-keystore.jks
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/client-keystore.jks?rev=781666&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/client-keystore.jks
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/client-truststore.jks
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/client-truststore.jks?rev=781666&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/client-truststore.jks
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/custom-jaxbbean.xml
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/custom-jaxbbean.xml?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/custom-jaxbbean.xml (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/custom-jaxbbean.xml Thu Jun  4 07:04:21 2009
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<!--
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+ Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
+
+ The contents of this file are subject to the terms of either the GNU
+ General Public License Version 2 only ("GPL") or the Common Development
+ and Distribution License("CDDL") (collectively, the "License").  You
+ may not use this file except in compliance with the License. You can obtain
+ a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
+ or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific
+ language governing permissions and limitations under the License.
+
+ When distributing the software, include this License Header Notice in each
+ file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
+ Sun designates this particular file as subject to the "Classpath" exception
+ as provided by Sun in the GPL Version 2 section of the License file that
+ accompanied this code.  If applicable, add the following below the License
+ Header, with the fields enclosed by brackets [] replaced by your own
+ identifying information: "Portions Copyrighted [year]
+ [name of copyright owner]"
+
+ Contributor(s):
+
+ If you wish your version of this file to be governed by only the CDDL or
+ only the GPL Version 2, indicate your decision by adding "[Contributor]
+ elects to include this software in this distribution under the [CDDL or GPL
+ Version 2] license."  If you don't indicate a single choice of license, a
+ recipient has the option to distribute your version of this file under
+ either the CDDL, the GPL Version 2 or to extend the choice of license to
+ its licensees as provided above.  However, if you add GPL Version 2 code
+ and therefore, elected the GPL Version 2 license, then the option applies
+ only if the new code is made subject to such option by the copyright
+ holder.
+-->
+
+
+<jaxws:bindings
+        xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+        xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0"
+        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+        wsdlLocation="wsdl0.wsdl">
+
+    <jaxws:bindings node="wsdl:definitions">
+        <jaxb:bindings node="//xsd:schema">
+            <jaxb:globalBindings generateElementProperty="false">
+				<jaxb:javaType name="java.util.Calendar" xmlType="xsd:dateTime" parseMethod="javax.xml.bind.DatatypeConverter.parseDateTime" printMethod="javax.xml.bind.DatatypeConverter.printDateTime"/>
+				<jaxb:javaType name="java.util.Calendar" xmlType="xsd:date" parseMethod="javax.xml.bind.DatatypeConverter.parseDate" printMethod="javax.xml.bind.DatatypeConverter.printDate"/>
+			</jaxb:globalBindings>
+        </jaxb:bindings>
+    </jaxws:bindings>
+
+</jaxws:bindings>

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/custom-sei.xml
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/custom-sei.xml?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/custom-sei.xml (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/custom-sei.xml Thu Jun  4 07:04:21 2009
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<!--
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+ Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
+
+ The contents of this file are subject to the terms of either the GNU
+ General Public License Version 2 only ("GPL") or the Common Development
+ and Distribution License("CDDL") (collectively, the "License").  You
+ may not use this file except in compliance with the License. You can obtain
+ a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
+ or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific
+ language governing permissions and limitations under the License.
+
+ When distributing the software, include this License Header Notice in each
+ file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
+ Sun designates this particular file as subject to the "Classpath" exception
+ as provided by Sun in the GPL Version 2 section of the License file that
+ accompanied this code.  If applicable, add the following below the License
+ Header, with the fields enclosed by brackets [] replaced by your own
+ identifying information: "Portions Copyrighted [year]
+ [name of copyright owner]"
+
+ Contributor(s):
+
+ If you wish your version of this file to be governed by only the CDDL or
+ only the GPL Version 2, indicate your decision by adding "[Contributor]
+ elects to include this software in this distribution under the [CDDL or GPL
+ Version 2] license."  If you don't indicate a single choice of license, a
+ recipient has the option to distribute your version of this file under
+ either the CDDL, the GPL Version 2 or to extend the choice of license to
+ its licensees as provided above.  However, if you add GPL Version 2 code
+ and therefore, elected the GPL Version 2 license, then the option applies
+ only if the new code is made subject to such option by the copyright
+ holder.
+-->
+
+
+<bindings
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+        xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
+        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+        wsdlLocation="TradeServiceWsas.wsdl"
+        xmlns="http://java.sun.com/xml/ns/jaxws">
+    <enableWrapperStyle>false</enableWrapperStyle>
+
+</bindings>

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/OrderProcessor.wsdl
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/OrderProcessor.wsdl?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/OrderProcessor.wsdl (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/OrderProcessor.wsdl Thu Jun  4 07:04:21 2009
@@ -0,0 +1,348 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="OrderProcessor" targetNamespace="http://tempuri.org/"
+                  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:tns="http://tempuri.org/"
+                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
+                  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:i0="http://Trade.TraderOrderHost"
+                  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">
+    <wsp:Policy wsu:Id="WSHttpBinding_OrderProcessorService_policy">
+        <wsp:ExactlyOne>
+            <wsp:All>
+                <sp:SymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <wsp:Policy>
+                        <sp:ProtectionToken>
+                            <wsp:Policy>
+                                <sp:SecureConversationToken
+                                        sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
+                                    <wsp:Policy>
+                                        <sp:RequireDerivedKeys/>
+                                        <sp:BootstrapPolicy>
+                                            <wsp:Policy>
+                                                <sp:SignedParts>
+                                                    <sp:Body/>
+                                                    <sp:Header Name="To"
+                                                               Namespace="http://www.w3.org/2005/08/addressing"/>
+                                                    <sp:Header Name="From"
+                                                               Namespace="http://www.w3.org/2005/08/addressing"/>
+                                                    <sp:Header Name="FaultTo"
+                                                               Namespace="http://www.w3.org/2005/08/addressing"/>
+                                                    <sp:Header Name="ReplyTo"
+                                                               Namespace="http://www.w3.org/2005/08/addressing"/>
+                                                    <sp:Header Name="MessageID"
+                                                               Namespace="http://www.w3.org/2005/08/addressing"/>
+                                                    <sp:Header Name="RelatesTo"
+                                                               Namespace="http://www.w3.org/2005/08/addressing"/>
+                                                    <sp:Header Name="Action"
+                                                               Namespace="http://www.w3.org/2005/08/addressing"/>
+                                                </sp:SignedParts>
+                                                <sp:EncryptedParts>
+                                                    <sp:Body/>
+                                                </sp:EncryptedParts>
+                                                <sp:SymmetricBinding>
+                                                    <wsp:Policy>
+                                                        <sp:ProtectionToken>
+                                                            <wsp:Policy>
+                                                                <mssp:SslContextToken
+                                                                        sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient"
+                                                                        xmlns:mssp="http://schemas.microsoft.com/ws/2005/07/securitypolicy">
+                                                                    <wsp:Policy>
+                                                                        <sp:RequireDerivedKeys/>
+                                                                        <mssp:RequireClientCertificate/>
+                                                                    </wsp:Policy>
+                                                                </mssp:SslContextToken>
+                                                            </wsp:Policy>
+                                                        </sp:ProtectionToken>
+                                                        <sp:AlgorithmSuite>
+                                                            <wsp:Policy>
+                                                                <sp:Basic256/>
+                                                            </wsp:Policy>
+                                                        </sp:AlgorithmSuite>
+                                                        <sp:Layout>
+                                                            <wsp:Policy>
+                                                                <sp:Strict/>
+                                                            </wsp:Policy>
+                                                        </sp:Layout>
+                                                        <sp:IncludeTimestamp/>
+                                                        <sp:EncryptSignature/>
+                                                        <sp:OnlySignEntireHeadersAndBody/>
+                                                    </wsp:Policy>
+                                                </sp:SymmetricBinding>
+                                                <sp:Wss11>
+                                                    <wsp:Policy>
+                                                        <sp:MustSupportRefKeyIdentifier/>
+                                                        <sp:MustSupportRefIssuerSerial/>
+                                                        <sp:MustSupportRefThumbprint/>
+                                                        <sp:MustSupportRefEncryptedKey/>
+                                                    </wsp:Policy>
+                                                </sp:Wss11>
+                                                <sp:Trust10>
+                                                    <wsp:Policy>
+                                                        <sp:MustSupportIssuedTokens/>
+                                                        <sp:RequireClientEntropy/>
+                                                        <sp:RequireServerEntropy/>
+                                                    </wsp:Policy>
+                                                </sp:Trust10>
+                                            </wsp:Policy>
+                                        </sp:BootstrapPolicy>
+                                    </wsp:Policy>
+                                </sp:SecureConversationToken>
+                            </wsp:Policy>
+                        </sp:ProtectionToken>
+                        <sp:AlgorithmSuite>
+                            <wsp:Policy>
+                                <sp:Basic256/>
+                            </wsp:Policy>
+                        </sp:AlgorithmSuite>
+                        <sp:Layout>
+                            <wsp:Policy>
+                                <sp:Strict/>
+                            </wsp:Policy>
+                        </sp:Layout>
+                        <sp:IncludeTimestamp/>
+                        <sp:EncryptSignature/>
+                        <sp:OnlySignEntireHeadersAndBody/>
+                    </wsp:Policy>
+                </sp:SymmetricBinding>
+                <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <wsp:Policy>
+                        <sp:MustSupportRefKeyIdentifier/>
+                        <sp:MustSupportRefIssuerSerial/>
+                        <sp:MustSupportRefThumbprint/>
+                        <sp:MustSupportRefEncryptedKey/>
+                    </wsp:Policy>
+                </sp:Wss11>
+                <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <wsp:Policy>
+                        <sp:MustSupportIssuedTokens/>
+                        <sp:RequireClientEntropy/>
+                        <sp:RequireServerEntropy/>
+                    </wsp:Policy>
+                </sp:Trust10>
+                <wsaw:UsingAddressing/>
+            </wsp:All>
+        </wsp:ExactlyOne>
+    </wsp:Policy>
+    <wsp:Policy wsu:Id="WSHttpBinding_OrderProcessorService_SubmitOrder_Input_policy">
+        <wsp:ExactlyOne>
+            <wsp:All>
+                <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <sp:Body/>
+                    <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/>
+                </sp:SignedParts>
+                <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <sp:Body/>
+                </sp:EncryptedParts>
+            </wsp:All>
+        </wsp:ExactlyOne>
+    </wsp:Policy>
+    <wsp:Policy wsu:Id="WSHttpBinding_OrderProcessorService_isOnline_Input_policy">
+        <wsp:ExactlyOne>
+            <wsp:All>
+                <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <sp:Body/>
+                    <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/>
+                </sp:SignedParts>
+                <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <sp:Body/>
+                </sp:EncryptedParts>
+            </wsp:All>
+        </wsp:ExactlyOne>
+    </wsp:Policy>
+    <wsp:Policy wsu:Id="CustomBinding_OrderProcessorService_policy">
+        <wsp:ExactlyOne>
+            <wsp:All>
+                <sp:SymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <wsp:Policy>
+                        <sp:ProtectionToken>
+                            <wsp:Policy>
+                                <sp:X509Token
+                                        sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
+                                    <wsp:Policy>
+                                        <sp:RequireThumbprintReference/>
+                                        <sp:WssX509V3Token10/>
+                                    </wsp:Policy>
+                                </sp:X509Token>
+                            </wsp:Policy>
+                        </sp:ProtectionToken>
+                        <sp:AlgorithmSuite>
+                            <wsp:Policy>
+                                <sp:Basic256/>
+                            </wsp:Policy>
+                        </sp:AlgorithmSuite>
+                        <sp:Layout>
+                            <wsp:Policy>
+                                <sp:Lax/>
+                            </wsp:Policy>
+                        </sp:Layout>
+                        <sp:IncludeTimestamp/>
+                        <sp:OnlySignEntireHeadersAndBody/>
+                    </wsp:Policy>
+                </sp:SymmetricBinding>
+                <sp:Wss11 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <wsp:Policy>
+                        <sp:MustSupportRefKeyIdentifier/>
+                        <sp:MustSupportRefIssuerSerial/>
+                        <sp:MustSupportRefThumbprint/>
+                        <sp:MustSupportRefEncryptedKey/>
+                        <sp:RequireSignatureConfirmation/>
+                    </wsp:Policy>
+                </sp:Wss11>
+                <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <wsp:Policy>
+                        <sp:MustSupportIssuedTokens/>
+                        <sp:RequireClientEntropy/>
+                        <sp:RequireServerEntropy/>
+                    </wsp:Policy>
+                </sp:Trust10>
+                <wsaw:UsingAddressing/>
+            </wsp:All>
+        </wsp:ExactlyOne>
+    </wsp:Policy>
+    <wsp:Policy wsu:Id="CustomBinding_OrderProcessorService_SubmitOrder_Input_policy">
+        <wsp:ExactlyOne>
+            <wsp:All>
+                <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <sp:Body/>
+                    <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/>
+                </sp:SignedParts>
+                <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <sp:Body/>
+                </sp:EncryptedParts>
+            </wsp:All>
+        </wsp:ExactlyOne>
+    </wsp:Policy>
+    <wsp:Policy wsu:Id="CustomBinding_OrderProcessorService_isOnline_Input_policy">
+        <wsp:ExactlyOne>
+            <wsp:All>
+                <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <sp:Body/>
+                    <sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"/>
+                    <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"/>
+                </sp:SignedParts>
+                <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+                    <sp:Body/>
+                </sp:EncryptedParts>
+            </wsp:All>
+        </wsp:ExactlyOne>
+    </wsp:Policy>
+    <wsdl:import namespace="http://Trade.TraderOrderHost"
+                 location="wsdl0.wsdl"/>
+    <wsdl:types/>
+    <wsdl:binding name="BasicHttpBinding_OrderProcessorService" type="i0:OrderProcessorService">
+        <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="SubmitOrder">
+            <soap:operation soapAction="SubmitOrder" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+        <wsdl:operation name="isOnline">
+            <soap:operation soapAction="isOnline" style="document"/>
+            <wsdl:input>
+                <soap:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="WSHttpBinding_OrderProcessorService" type="i0:OrderProcessorService">
+        <wsp:PolicyReference URI="#WSHttpBinding_OrderProcessorService_policy"/>
+        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="SubmitOrder">
+            <soap12:operation soapAction="SubmitOrder" style="document"/>
+            <wsdl:input>
+                <wsp:PolicyReference URI="#WSHttpBinding_OrderProcessorService_SubmitOrder_Input_policy"/>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+        <wsdl:operation name="isOnline">
+            <soap12:operation soapAction="isOnline" style="document"/>
+            <wsdl:input>
+                <wsp:PolicyReference URI="#WSHttpBinding_OrderProcessorService_isOnline_Input_policy"/>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="CustomBinding_OrderProcessorService" type="i0:OrderProcessorService">
+        <wsp:PolicyReference URI="#CustomBinding_OrderProcessorService_policy"/>
+        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="SubmitOrder">
+            <soap12:operation soapAction="SubmitOrder" style="document"/>
+            <wsdl:input>
+                <wsp:PolicyReference URI="#CustomBinding_OrderProcessorService_SubmitOrder_Input_policy"/>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+        <wsdl:operation name="isOnline">
+            <soap12:operation soapAction="isOnline" style="document"/>
+            <wsdl:input>
+                <wsp:PolicyReference URI="#CustomBinding_OrderProcessorService_isOnline_Input_policy"/>
+                <soap12:body use="literal"/>
+            </wsdl:input>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="OrderProcessor">
+        <wsdl:port name="BasicHttpBinding_OrderProcessorService" binding="tns:BasicHttpBinding_OrderProcessorService">
+            <soap:address location="http://stocktrader:8000/tradeorderprocessor"/>
+        </wsdl:port>
+        <wsdl:port name="WSHttpBinding_OrderProcessorService" binding="tns:WSHttpBinding_OrderProcessorService">
+            <soap12:address location="http://stocktrader:8000/tradeorderprocessor/msec"/>
+            <wsa10:EndpointReference>
+                <wsa10:Address>http://stocktrader:8000/tradeorderprocessor/msec</wsa10:Address>
+                <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
+                    <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+                        <X509Data>
+                            <X509Certificate>
+                                MIIB8DCCAVmgAwIBAgIQ1ELWkagtIaZA+rGlQ0DB/DANBgkqhkiG9w0BAQQFADASMRAwDgYDVQQDEwdPUFMuQ29tMB4XDTA4MDUyMTA0NDUwMVoXDTM5MTIzMTIzNTk1OVowEjEQMA4GA1UEAxMHT1BTLkNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxwk9moHNb3pwAFdolsVrNRCypa9MAH9NOblGJRW6av93sC5oubfjbzfIgURycVgOYoI/6G3AZijENC//tR8CiNuwfc338j4gGJCYQMKF80f0v+wsOChbWA/jSMmW0XeZ2mtn28kUzZwBN+auK+iUurYmUfZlNCIzLrM49KKqLRMCAwEAAaNHMEUwQwYDVR0BBDwwOoAQGGhusN6c4j/7WSnvieRMbKEUMBIxEDAOBgNVBAMTB09QUy5Db22CENRC1pGoLSGmQPqxpUNAwfwwDQYJKoZIhvcNAQEEBQADgYEAZ8xVxioCvG8t8iCx5Xy7JgUyGVnTgxVhP3+uMGSca0u1wqnfoPethXkykPkCP5ZEYSS5SoBLdCKhn1HqICdTBkR2m0ebo50CoXT1lAy+5MELdzlR8SH9KV6nokwCPAW3RURk1huaDi3FO1oFDVm6146rAByZrG/PjDe3w+MUaHg=
+                            </X509Certificate>
+                        </X509Data>
+                    </KeyInfo>
+                </Identity>
+            </wsa10:EndpointReference>
+        </wsdl:port>
+        <wsdl:port name="CustomBinding_OrderProcessorService" binding="tns:CustomBinding_OrderProcessorService">
+            <soap12:address location="http://stocktrader:8000/tradeorderprocessor/sec"/>
+            <wsa10:EndpointReference>
+                <wsa10:Address>http://stocktrader:8000/tradeorderprocessor/sec</wsa10:Address>
+                <Identity xmlns="http://schemas.xmlsoap.org/ws/2006/02/addressingidentity">
+                    <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
+                        <X509Data>
+                            <X509Certificate>
+                                MIIB8DCCAVmgAwIBAgIQ1ELWkagtIaZA+rGlQ0DB/DANBgkqhkiG9w0BAQQFADASMRAwDgYDVQQDEwdPUFMuQ29tMB4XDTA4MDUyMTA0NDUwMVoXDTM5MTIzMTIzNTk1OVowEjEQMA4GA1UEAxMHT1BTLkNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxwk9moHNb3pwAFdolsVrNRCypa9MAH9NOblGJRW6av93sC5oubfjbzfIgURycVgOYoI/6G3AZijENC//tR8CiNuwfc338j4gGJCYQMKF80f0v+wsOChbWA/jSMmW0XeZ2mtn28kUzZwBN+auK+iUurYmUfZlNCIzLrM49KKqLRMCAwEAAaNHMEUwQwYDVR0BBDwwOoAQGGhusN6c4j/7WSnvieRMbKEUMBIxEDAOBgNVBAMTB09QUy5Db22CENRC1pGoLSGmQPqxpUNAwfwwDQYJKoZIhvcNAQEEBQADgYEAZ8xVxioCvG8t8iCx5Xy7JgUyGVnTgxVhP3+uMGSca0u1wqnfoPethXkykPkCP5ZEYSS5SoBLdCKhn1HqICdTBkR2m0ebo50CoXT1lAy+5MELdzlR8SH9KV6nokwCPAW3RURk1huaDi3FO1oFDVm6146rAByZrG/PjDe3w+MUaHg=
+                            </X509Certificate>
+                        </X509Data>
+                    </KeyInfo>
+                </Identity>
+            </wsa10:EndpointReference>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/custom-jaxbbean.xml
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/custom-jaxbbean.xml?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/custom-jaxbbean.xml (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/custom-jaxbbean.xml Thu Jun  4 07:04:21 2009
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<!--
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+ Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
+
+ The contents of this file are subject to the terms of either the GNU
+ General Public License Version 2 only ("GPL") or the Common Development
+ and Distribution License("CDDL") (collectively, the "License").  You
+ may not use this file except in compliance with the License. You can obtain
+ a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
+ or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific
+ language governing permissions and limitations under the License.
+
+ When distributing the software, include this License Header Notice in each
+ file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
+ Sun designates this particular file as subject to the "Classpath" exception
+ as provided by Sun in the GPL Version 2 section of the License file that
+ accompanied this code.  If applicable, add the following below the License
+ Header, with the fields enclosed by brackets [] replaced by your own
+ identifying information: "Portions Copyrighted [year]
+ [name of copyright owner]"
+
+ Contributor(s):
+
+ If you wish your version of this file to be governed by only the CDDL or
+ only the GPL Version 2, indicate your decision by adding "[Contributor]
+ elects to include this software in this distribution under the [CDDL or GPL
+ Version 2] license."  If you don't indicate a single choice of license, a
+ recipient has the option to distribute your version of this file under
+ either the CDDL, the GPL Version 2 or to extend the choice of license to
+ its licensees as provided above.  However, if you add GPL Version 2 code
+ and therefore, elected the GPL Version 2 license, then the option applies
+ only if the new code is made subject to such option by the copyright
+ holder.
+-->
+
+
+<jaxws:bindings
+        xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+        xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" jaxb:version="2.0"
+        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+        wsdlLocation="wsdl0.wsdl">
+
+    <jaxws:bindings node="wsdl:definitions">
+        <jaxb:bindings node="//xsd:schema">
+            <jaxb:globalBindings generateElementProperty="false">
+				<jaxb:javaType name="java.util.Calendar" xmlType="xsd:dateTime" parseMethod="javax.xml.bind.DatatypeConverter.parseDateTime" printMethod="javax.xml.bind.DatatypeConverter.printDateTime"/>
+				<jaxb:javaType name="java.util.Calendar" xmlType="xsd:date" parseMethod="javax.xml.bind.DatatypeConverter.parseDate" printMethod="javax.xml.bind.DatatypeConverter.printDate"/>
+			</jaxb:globalBindings>
+        </jaxb:bindings>
+    </jaxws:bindings>
+
+</jaxws:bindings>

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/custom-sei.xml
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/custom-sei.xml?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/custom-sei.xml (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/custom-sei.xml Thu Jun  4 07:04:21 2009
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<!--
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+ Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
+
+ The contents of this file are subject to the terms of either the GNU
+ General Public License Version 2 only ("GPL") or the Common Development
+ and Distribution License("CDDL") (collectively, the "License").  You
+ may not use this file except in compliance with the License. You can obtain
+ a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
+ or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific
+ language governing permissions and limitations under the License.
+
+ When distributing the software, include this License Header Notice in each
+ file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
+ Sun designates this particular file as subject to the "Classpath" exception
+ as provided by Sun in the GPL Version 2 section of the License file that
+ accompanied this code.  If applicable, add the following below the License
+ Header, with the fields enclosed by brackets [] replaced by your own
+ identifying information: "Portions Copyrighted [year]
+ [name of copyright owner]"
+
+ Contributor(s):
+
+ If you wish your version of this file to be governed by only the CDDL or
+ only the GPL Version 2, indicate your decision by adding "[Contributor]
+ elects to include this software in this distribution under the [CDDL or GPL
+ Version 2] license."  If you don't indicate a single choice of license, a
+ recipient has the option to distribute your version of this file under
+ either the CDDL, the GPL Version 2 or to extend the choice of license to
+ its licensees as provided above.  However, if you add GPL Version 2 code
+ and therefore, elected the GPL Version 2 license, then the option applies
+ only if the new code is made subject to such option by the copyright
+ holder.
+-->
+
+
+<bindings
+        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+        xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
+        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+        wsdlLocation="OrderProcessor.wsdl"
+        xmlns="http://java.sun.com/xml/ns/jaxws">
+    <enableWrapperStyle>false</enableWrapperStyle>
+
+</bindings>

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/wsdl0.wsdl
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/wsdl0.wsdl?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/wsdl0.wsdl (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/wsdl0.wsdl Thu Jun  4 07:04:21 2009
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions targetNamespace="http://Trade.TraderOrderHost" 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:tns="http://Trade.TraderOrderHost"
+                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
+                  xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
+                  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:types>
+        <xsd:schema targetNamespace="http://Trade.TraderOrderHost/Imports">
+            <xsd:import schemaLocation="xsd0.xsd"
+                        namespace="http://Trade.TraderOrderHost"/>
+            <xsd:import schemaLocation="xsd1.xsd"
+                        namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
+            <xsd:import schemaLocation="xsd2.xsd"
+                        namespace="http://trade.samples.websphere.ibm.com"/>
+        </xsd:schema>
+    </wsdl:types>
+    <wsdl:message name="OrderProcessorService_SubmitOrder_InputMessage">
+        <wsdl:part name="parameters" element="tns:SubmitOrder"/>
+    </wsdl:message>
+    <wsdl:message name="OrderProcessorService_isOnline_InputMessage">
+        <wsdl:part name="parameters" element="tns:isOnline"/>
+    </wsdl:message>
+    <wsdl:portType name="OrderProcessorService">
+        <wsdl:operation name="SubmitOrder">
+            <wsdl:input wsaw:Action="SubmitOrder" message="tns:OrderProcessorService_SubmitOrder_InputMessage"/>
+        </wsdl:operation>
+        <wsdl:operation name="isOnline">
+            <wsdl:input wsaw:Action="isOnline" message="tns:OrderProcessorService_isOnline_InputMessage"/>
+        </wsdl:operation>
+    </wsdl:portType>
+</wsdl:definitions>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd0.xsd
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd0.xsd?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd0.xsd (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd0.xsd Thu Jun  4 07:04:21 2009
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema elementFormDefault="qualified" targetNamespace="http://Trade.TraderOrderHost"
+           xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://Trade.TraderOrderHost">
+    <xs:import schemaLocation="xsd2.xsd"
+               namespace="http://trade.samples.websphere.ibm.com"/>
+    <xs:element name="SubmitOrder">
+        <xs:complexType>
+            <xs:sequence>
+                <xs:element minOccurs="0" name="order" nillable="true" type="q1:OrderDataBean"
+                            xmlns:q1="http://trade.samples.websphere.ibm.com"/>
+            </xs:sequence>
+        </xs:complexType>
+    </xs:element>
+    <xs:element name="isOnline">
+        <xs:complexType>
+            <xs:sequence/>
+        </xs:complexType>
+    </xs:element>
+</xs:schema>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd1.xsd
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd1.xsd?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd1.xsd (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd1.xsd Thu Jun  4 07:04:21 2009
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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:attribute name="Id" type="xs:ID"/>
+    <xs:attribute name="Ref" type="xs:IDREF"/>
+</xs:schema>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd2.xsd
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd2.xsd?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd2.xsd (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/order_processor/xsd2.xsd Thu Jun  4 07:04:21 2009
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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: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:schema>
\ No newline at end of file

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/sun-jaxws.xml
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/sun-jaxws.xml?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/sun-jaxws.xml (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/sun-jaxws.xml Thu Jun  4 07:04:21 2009
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+
+ Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
+
+ The contents of this file are subject to the terms of either the GNU
+ General Public License Version 2 only ("GPL") or the Common Development
+ and Distribution License("CDDL") (collectively, the "License").  You
+ may not use this file except in compliance with the License. You can obtain
+ a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
+ or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific
+ language governing permissions and limitations under the License.
+
+ When distributing the software, include this License Header Notice in each
+ file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
+ Sun designates this particular file as subject to the "Classpath" exception
+ as provided by Sun in the GPL Version 2 section of the License file that
+ accompanied this code.  If applicable, add the following below the License
+ Header, with the fields enclosed by brackets [] replaced by your own
+ identifying information: "Portions Copyrighted [year]
+ [name of copyright owner]"
+
+ Contributor(s):
+
+ If you wish your version of this file to be governed by only the CDDL or
+ only the GPL Version 2, indicate your decision by adding "[Contributor]
+ elects to include this software in this distribution under the [CDDL or GPL
+ Version 2] license."  If you don't indicate a single choice of license, a
+ recipient has the option to distribute your version of this file under
+ either the CDDL, the GPL Version 2 or to extend the choice of license to
+ its licensees as provided above.  However, if you add GPL Version 2 code
+ and therefore, elected the GPL Version 2 license, then the option applies
+ only if the new code is made subject to such option by the copyright
+ holder.
+-->
+
+
+<endpoints xmlns="http://java.sun.com/xml/ns/jax-ws/ri/runtime" version="2.0">
+    <endpoint 
+        name="TradeServiceWsas"
+        interface="org.tempuri.ITradeServices"
+        implementation="org.wso2.stocktrader.services.TradeServiceImpl"
+        wsdl="TradeServiceWsas.wsdl"
+        service="{http://tempuri.org/}TradeServiceWsas"
+        port="{http://tempuri.org/}BasicHttpBinding_ITradeServices"
+        url-pattern="/TradeServiceWsas"/>
+
+</endpoints>

Added: incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/web.xml
URL: http://svn.apache.org/viewvc/incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/web.xml?rev=781666&view=auto
==============================================================================
--- incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/web.xml (added)
+++ incubator/stonehenge/contrib/stocktrader/metro/business_service/etc/web.xml Thu Jun  4 07:04:21 2009
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+ 
+ Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
+ 
+ The contents of this file are subject to the terms of either the GNU
+ General Public License Version 2 only ("GPL") or the Common Development
+ and Distribution License("CDDL") (collectively, the "License").  You
+ may not use this file except in compliance with the License. You can obtain
+ a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
+ or glassfish/bootstrap/legal/LICENSE.txt.  See the License for the specific
+ language governing permissions and limitations under the License.
+ 
+ When distributing the software, include this License Header Notice in each
+ file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
+ Sun designates this particular file as subject to the "Classpath" exception
+ as provided by Sun in the GPL Version 2 section of the License file that
+ accompanied this code.  If applicable, add the following below the License
+ Header, with the fields enclosed by brackets [] replaced by your own
+ identifying information: "Portions Copyrighted [year]
+ [name of copyright owner]"
+ 
+ Contributor(s):
+ 
+ If you wish your version of this file to be governed by only the CDDL or
+ only the GPL Version 2, indicate your decision by adding "[Contributor]
+ elects to include this software in this distribution under the [CDDL or GPL
+ Version 2] license."  If you don't indicate a single choice of license, a
+ recipient has the option to distribute your version of this file under
+ either the CDDL, the GPL Version 2 or to extend the choice of license to
+ its licensees as provided above.  However, if you add GPL Version 2 code
+ and therefore, elected the GPL Version 2 license, then the option applies
+ only if the new code is made subject to such option by the copyright
+ holder.
+-->
+
+<web-app version="2.4" mlns="http://java.sun.com/xml/ns/j2ee">
+  <display-name>wsit-jaxws-fromwsdl</display-name>
+  <description>wsit-jaxws-fromwsdl</description>
+  <listener>
+    <listener-class>com.sun.xml.ws.transport.http.servlet.WSServletContextListener</listener-class>
+  </listener>
+  <servlet>
+    <servlet-name>stocktrader</servlet-name>
+    <display-name>stocktrader</display-name>
+    <description>stocktrader endpoint</description>
+    <servlet-class>com.sun.xml.ws.transport.http.servlet.WSServlet</servlet-class>
+    <load-on-startup>1</load-on-startup>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>stocktrader</servlet-name>
+    <url-pattern>/TradeServiceWsas</url-pattern>
+  </servlet-mapping>
+  <session-config>
+    <session-timeout>60</session-timeout>
+  </session-config>
+</web-app>



Mime
View raw message