[jboss-svn-commits] JBL Code SVN: r11638 - in labs/jbossesb/trunk/product/samples/quickstarts: webservice_bpel and 7 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu May 3 07:05:51 EDT 2007


Author: tfennelly
Date: 2007-05-03 07:05:50 -0400 (Thu, 03 May 2007)
New Revision: 11638

Added:
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/submit-order-01.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/tomcat-configs/
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/tomcat-configs/ae-client-config.wsdd
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/tomcat-configs/ae-server-config.wsdd
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/order-manager.properties
Removed:
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderFault.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderNotificationRequest.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendOrderConfirmationResponse.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderConfirmationRequest.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderNotificationRequestCompletedOrder.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest1.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderResponse.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_CancelOrderRequest.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_CancelOrderResponse.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_SalesOrderRequest.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_SalesOrderResponse.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_ShipOrderRequest.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_ShipOrderResponse.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/groovy/
Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/conf/base-build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/src/com/activebpel/ordermanagement/OrderManager.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/src/com/activebpel/ordermanagement/OrderManagerBean.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java
   labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/soap/SOAPUIClient.java
Log:
build updates to deploy to the ActiveBPEL engine

Modified: labs/jbossesb/trunk/product/samples/quickstarts/conf/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/conf/base-build.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/conf/base-build.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -130,13 +130,16 @@
         <antcall target="quickstart-specific-deploys" />
         <antcall target="deploy-esb-archive-after" />
 
+        <antcall target="display-instructions" />
+    </target>
+
+    <target name="display-instructions">
         <echo message='${line.separator}******************' />
         <echo>Quickstart deployed to target JBoss ESB/App Server at '${org.jboss.esb.server.deploy.dir}'.</echo>
         <echo>1.  Check your ESB Server console to make sure the deployment was executed without errors.</echo>
         <echo>2.  Run 'ant runtest' to run the Quickstart.</echo>
         <echo>3.  Check your ESB Server console again.  The Quickstart should have produced some output.</echo>
         <echo message='******************' />
-
     </target>
 
     <target name="jar" depends="compile">
@@ -225,7 +228,10 @@
 	<target name="clean">
 		<description>clean				cleans the project
 		</description>
-		<delete dir="${build.dir}" />
+
+        <antcall target="quickstart-specific-clean" />
+
+        <delete dir="${build.dir}" />
 		<delete>
 			<fileset dir="${basedir}">
 				<include name="jbossesb-gateway.xml"/>	
@@ -233,8 +239,13 @@
 			</fileset>
 		</delete>
 	</target>
-	
-	<target name="help-quickstarts">
+
+    <target name="quickstart-specific-clean">
+        <!-- Override this target in the Quickstart in order to make Quickstart specific cleans. -->
+        <echo message="No Quickstart specific 'clean' being made." />
+    </target>
+
+    <target name="help-quickstarts">
 			<description>help-quickstarts		display information about configuration for all quickstarts </description>
 			<loadfile
 			      property="readme"

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderFault.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderFault.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderFault.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ordmgr:salesOrderFault
-	xmlns:ordmgr="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd">
-<ordmgr:reason>system error</ordmgr:reason>
-</ordmgr:salesOrderFault>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderNotificationRequest.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderNotificationRequest.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderNotificationRequest.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ns:salesOrderNotification xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager">
-   <ns:orderNumber>1234</ns:orderNumber>
-</ns:salesOrderNotification>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendOrderConfirmationResponse.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendOrderConfirmationResponse.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendOrderConfirmationResponse.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<cws:orderConfirmationAck
-	xmlns:cws="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd">
-	true
-</cws:orderConfirmationAck>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderConfirmationRequest.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderConfirmationRequest.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderConfirmationRequest.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ns:orderConfirmation xmlns:ns="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd">
-   <ns:customerNumber>123456</ns:customerNumber>
-   <ns:poNumber>PO000123</ns:poNumber>
-   <ns:orderNumber>1235</ns:orderNumber>
-</ns:orderConfirmation>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderNotificationRequestCompletedOrder.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderNotificationRequestCompletedOrder.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderNotificationRequestCompletedOrder.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ordmgr:salesOrderNotification xmlns:ordmgr="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd OrderManager.xsd ">
-  <ordmgr:orderNumber>2006-31982</ordmgr:orderNumber>
-</ordmgr:salesOrderNotification>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ord:customerOrder
-	xmlns:ord="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"
-	xmlns:std="http://schemas.active-endpoints.com/sample/standardtypes/2006/04/StandardTypes.xsd">
-	<ord:header>
-		<ord:customerNumber>123456</ord:customerNumber>
-		<ord:poNumber>PO000123</ord:poNumber>
-		<ord:orderDate>2006-05-01</ord:orderDate>
-		<ord:orderTotal>88500.00</ord:orderTotal>
-		<ord:billTo>
-			<std:company>Active Steel</std:company>
-			<std:contact>
-				<std:name>Bob Active</std:name>
-				<std:phone>(203) 555-1234</std:phone>
-				<std:fax>(203) 555-1235</std:fax>
-				<std:email>bob at activeSteel.com</std:email>
-			</std:contact>
-			<std:address>
-				<std:street1>160 Active Lane</std:street1>
-				<std:city>Shelton</std:city>
-				<std:state>CT</std:state>
-				<std:zip>06484</std:zip>
-			</std:address>
-		</ord:billTo>
-		<ord:shipTo>
-			<std:company>Active Steel</std:company>
-			<std:contact>
-				<std:name>Bob Active</std:name>
-				<std:phone>(203) 555-1234</std:phone>
-				<std:fax>(203) 555-1235</std:fax>
-				<std:email>bob at activeSteel.com</std:email>
-			</std:contact>
-			<std:address>
-				<std:street1>160 Active Lane</std:street1>
-				<std:city>Shelton</std:city>
-				<std:state>CT</std:state>
-				<std:zip>06484</std:zip>
-			</std:address>
-		</ord:shipTo>
-	</ord:header>
-	<ord:items>
-		<ord:item>
-			<ord:partNumber>FLT16100</ord:partNumber>
-			<ord:description>Flat 16 feet 100 count</ord:description>
-			<ord:quantity>50</ord:quantity>
-			<ord:price>490.00</ord:price>
-			<ord:extensionAmount>24500.00</ord:extensionAmount>
-		</ord:item>
-		<ord:item>
-			<ord:partNumber>RND32050</ord:partNumber>
-			<ord:description>Round 32 feet 100 count</ord:description>
-			<ord:quantity>100</ord:quantity>
-			<ord:price>640.00</ord:price>
-			<ord:extensionAmount>64000.00</ord:extensionAmount>
-		</ord:item>
-	</ord:items>
-</ord:customerOrder>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest1.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest1.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest1.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,47 +0,0 @@
-		<cus:customerOrder>
-			<cus:header>
-				<cus:customerNumber>123456</cus:customerNumber>
-				<cus:poNumber>PO000123</cus:poNumber>
-				<cus:orderDate>2006-05-01</cus:orderDate>
-				<cus:orderTotal>88500.00</cus:orderTotal>
-				<cus:billTo>
-					<stan:company>Active Steel</stan:company>
-					<stan:contact>
-						<stan:name>Bob Active</stan:name>
-						<stan:phone>(203) 555-1234</stan:phone>
-						<stan:fax>(203) 555-1235</stan:fax>
-						<stan:email>bob at activeSteel.com</stan:email>
-					</stan:contact>
-					<stan:address>
-						<stan:street1>160 Active Lane</stan:street1>
-						<stan:city>Shelton</stan:city>
-						<stan:state>CT</stan:state>
-						<stan:zip>06484</stan:zip>
-					</stan:address>
-				</cus:billTo>
-				<cus:shipTo>
-					<stan:company>Active Steel</stan:company>
-					<stan:contact>
-						<stan:name>Bob Active</stan:name>
-						<stan:phone>(203) 555-1234</stan:phone>
-						<stan:fax>(203) 555-1235</stan:fax>
-						<stan:email>bob at activeSteel.com</stan:email>
-					</stan:contact>
-					<stan:address>
-						<stan:street1>160 Active Lane</stan:street1>
-						<stan:city>Shelton</stan:city>
-						<stan:state>CT</stan:state>
-						<stan:zip>06484</stan:zip>
-					</stan:address>
-				</cus:shipTo>
-			</cus:header>
-			<cus:items>
-				<cus:item>
-					<cus:partNumber>FLT16100</cus:partNumber>
-					<cus:description>Flat 16 feet 100 count</cus:description>
-					<cus:quantity>50</cus:quantity>
-					<cus:price>490.00</cus:price>
-					<cus:extensionAmount>24500.00</cus:extensionAmount>
-				</cus:item>
-			</cus:items>
-		</cus:customerOrder>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderResponse.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderResponse.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderResponse.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<cust:customerOrderAck xmlns:cust="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd">true</cust:customerOrderAck>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_CancelOrderRequest.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_CancelOrderRequest.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_CancelOrderRequest.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ns:cancelOrder xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager" xmlns:ns1="http://ordermanagement.activebpel.com/jaws">
-   <ns:orderInquiry>
-      <ns1:customerNumber>string</ns1:customerNumber>
-      <ns1:poNumber>string</ns1:poNumber>
-   </ns:orderInquiry>
-</ns:cancelOrder>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_CancelOrderResponse.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_CancelOrderResponse.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_CancelOrderResponse.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ns:cancelOrderResponse xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager">true</ns:cancelOrderResponse>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_SalesOrderRequest.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_SalesOrderRequest.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_SalesOrderRequest.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ns:customerOrder
-	xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager"
-	xmlns:ns1="http://ordermanagement.activebpel.com/jaws">
-	<ns:header>
-		<ns1:billTerms>string</ns1:billTerms>
-		<ns1:billTo>
-			<ns1:address>
-				<ns1:city>string</ns1:city>
-				<ns1:state>string</ns1:state>
-				<ns1:street1>string</ns1:street1>
-				<ns1:street2>string</ns1:street2>
-				<ns1:zip>string</ns1:zip>
-			</ns1:address>
-			<ns1:company>string</ns1:company>
-			<ns1:contact>
-				<ns1:email>string</ns1:email>
-				<ns1:fax>string</ns1:fax>
-				<ns1:name>string</ns1:name>
-				<ns1:phone>string</ns1:phone>
-			</ns1:contact>
-		</ns1:billTo>
-		<ns1:customerNumber>string</ns1:customerNumber>
-		<ns1:orderDate>2007-04-23T16:40:43.219Z</ns1:orderDate>
-		<ns1:orderTotal>1</ns1:orderTotal>
-		<ns1:poNumber>string</ns1:poNumber>
-		<ns1:shipTerms>string</ns1:shipTerms>
-		<ns1:shipTo>
-			<ns1:address>
-				<ns1:city>string</ns1:city>
-				<ns1:state>string</ns1:state>
-				<ns1:street1>string</ns1:street1>
-				<ns1:street2>string</ns1:street2>
-				<ns1:zip>string</ns1:zip>
-			</ns1:address>
-			<ns1:company>string</ns1:company>
-			<ns1:contact>
-				<ns1:email>string</ns1:email>
-				<ns1:fax>string</ns1:fax>
-				<ns1:name>string</ns1:name>
-				<ns1:phone>string</ns1:phone>
-			</ns1:contact>
-		</ns1:shipTo>
-	</ns:header>
-	<ns:items>
-		<ns1:description>string</ns1:description>
-		<ns1:extensionAmount>1</ns1:extensionAmount>
-		<ns1:partNumber>string</ns1:partNumber>
-		<ns1:price>1</ns1:price>
-		<ns1:quantity>1</ns1:quantity>
-	</ns:items>
-</ns:customerOrder>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_SalesOrderResponse.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_SalesOrderResponse.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_SalesOrderResponse.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ns:customerOrderResponse
-	xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager">1234</ns:customerOrderResponse>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_ShipOrderRequest.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_ShipOrderRequest.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_ShipOrderRequest.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ns:shippingRequest xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_Shipping">
-   <ns:customerNumber>string</ns:customerNumber>
-   <ns:orderNumber>string</ns:orderNumber>
-   <ns:poNumber>string</ns:poNumber>
-</ns:shippingRequest>

Deleted: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_ShipOrderResponse.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_ShipOrderResponse.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/esb_ShipOrderResponse.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ns:shippingRequestResponse xmlns:ns="http://org.jboss.esb/quickstarts/bpel/ABI_Shipping">
-   <ns:orderShipped>true</ns:orderShipped>
-</ns:shippingRequestResponse>

Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/submit-order-01.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/submit-order-01.xml	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/submit-order-01.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -0,0 +1,58 @@
+<!--
+    Sample order message for submission to the RetailerService:SubmitOrder BPEL process.
+    Use SOAP UI to submit the order.  Lookup the service endpoint location on the
+    ActiveEndpoints admin page at http://localhost:18080/BpelAdmin/home.jsp (change
+    host:port as appropriate).
+-->
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cus="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd" xmlns:stan="http://schemas.active-endpoints.com/sample/standardtypes/2006/04/StandardTypes.xsd">
+   <soapenv:Header/>
+   <soapenv:Body>
+	<cus:customerOrder>
+		<cus:header>
+			<cus:customerNumber>123456</cus:customerNumber>
+			<cus:poNumber>PO000123</cus:poNumber>
+			<cus:orderDate>2006-05-01</cus:orderDate>
+			<cus:orderTotal>88500.00</cus:orderTotal>
+			<cus:billTo>
+				<stan:company>Active Steel</stan:company>
+				<stan:contact>
+					<stan:name>Bob Active</stan:name>
+					<stan:phone>(203) 555-1234</stan:phone>
+					<stan:fax>(203) 555-1235</stan:fax>
+					<stan:email>bob at activeSteel.com</stan:email>
+				</stan:contact>
+				<stan:address>
+					<stan:street1>160 Active Lane</stan:street1>
+					<stan:city>Shelton</stan:city>
+					<stan:state>CT</stan:state>
+					<stan:zip>06484</stan:zip>
+				</stan:address>
+			</cus:billTo>
+			<cus:shipTo>
+				<stan:company>Active Steel</stan:company>
+				<stan:contact>
+					<stan:name>Bob Active</stan:name>
+					<stan:phone>(203) 555-1234</stan:phone>
+					<stan:fax>(203) 555-1235</stan:fax>
+					<stan:email>bob at activeSteel.com</stan:email>
+				</stan:contact>
+				<stan:address>
+					<stan:street1>160 Active Lane</stan:street1>
+					<stan:city>Shelton</stan:city>
+					<stan:state>CT</stan:state>
+					<stan:zip>06484</stan:zip>
+				</stan:address>
+			</cus:shipTo>
+		</cus:header>
+		<cus:items>
+			<cus:item>
+				<cus:partNumber>FLT16100</cus:partNumber>
+				<cus:description>Flat 16 feet 100 count</cus:description>
+				<cus:quantity>50</cus:quantity>
+				<cus:price>490.00</cus:price>
+				<cus:extensionAmount>24500.00</cus:extensionAmount>
+			</cus:item>
+		</cus:items>
+	</cus:customerOrder>
+   </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file


Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/submit-order-01.xml
___________________________________________________________________
Name: svn:mime-type
   + text/xml
Name: svn:eol-style
   + native

Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/tomcat-configs/ae-client-config.wsdd
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/tomcat-configs/ae-client-config.wsdd	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/tomcat-configs/ae-client-config.wsdd	2007-05-03 11:05:50 UTC (rev 11638)
@@ -0,0 +1,256 @@
+<!-- active bpel client configuration  -->
+
+<deployment 
+	name="ActiveBpel.net"
+	targetNameSpace="http://www.activebpel.org/client"
+        xmlns:jbnet="http://www.activebpel.org/client"
+	xmlns:jmx="http://net.jboss.org/jmx"
+	xmlns="http://xml.apache.org/axis/wsdd/"
+	xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
+
+ <!-- =================== -->
+ <!-- Some type mappings. -->
+ <!-- =================== -->
+ 
+ <!-- xsd:date -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:date"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDate"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:date"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDate"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:date"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDate"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:time -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:time"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:time"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:time"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:dateTime -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:dateTime"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDateTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:dateTime"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDateTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:dateTime"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDateTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:duration -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:duration"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDuration"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDurationDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:duration"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDuration"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDurationDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:duration"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDuration"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDurationDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:anyURI -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:anyURI"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaAnyURI"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeAnyURIDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:anyURI"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaAnyURI"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeAnyURIDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:anyURI"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaAnyURI"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeAnyURIDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:gYearMonth -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:gYearMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYearMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:gYearMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYearMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:gYearMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYearMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:gYear -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:gYear"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYear"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:gYear"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYear"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:gYear"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYear"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:gMonthDay -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:gMonthDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonthDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:gMonthDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonthDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:gMonthDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonthDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:gDay -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:gDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:gDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:gDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:gMonth -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:gMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:gMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:gMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:hexBinary -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:hexBinary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaHexBinary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeHexBinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:hexBinary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaHexBinary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeHexBinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:hexBinary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaHexBinary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeHexBinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:base64Binary -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:base64Binary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaBase64Binary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeBase64BinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:base64Binary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaBase64Binary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeBase64BinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:base64Binary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaBase64Binary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeBase64BinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+
+	<transport name="http" pivot="java:org.activebpel.rt.axis.bpel.handlers.AeHTTPSender" />
+	<transport name="https" pivot="java:org.activebpel.rt.axis.bpel.handlers.AeHTTPSender"/>
+	<transport name="local" pivot="java:org.apache.axis.transport.local.LocalSender"/>
+
+ <globalConfiguration>
+   <parameter name="disablePrettyXML" value="true"/>
+   <responseFlow>
+      <handler type="java:org.activebpel.rt.axis.bpel.handlers.AeWsaHeaderHandler"/>   
+  	  <handler type="java:org.activebpel.rt.axis.bpel.handlers.AeXPathReceiveHandler"/>
+  	</responseFlow>  
+ </globalConfiguration>
+
+</deployment>

Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/tomcat-configs/ae-server-config.wsdd
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/tomcat-configs/ae-server-config.wsdd	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/tomcat-configs/ae-server-config.wsdd	2007-05-03 11:05:50 UTC (rev 11638)
@@ -0,0 +1,302 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deployment name="defaultClientConfig"
+            xmlns="http://xml.apache.org/axis/wsdd/"
+            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
+            xmlns:handler="http://xml.apache.org/axis/wsdd/providers/handler">
+
+ <!-- =================== -->
+ <!-- Some type mappings. -->
+ <!-- =================== -->
+ 
+ <!-- xsd:date -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:date"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDate"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:date"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDate"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:date"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDate"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:time -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:time"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:time"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:time"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:dateTime -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:dateTime"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDateTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:dateTime"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDateTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:dateTime"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDateTime"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDateTimeDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:duration -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:duration"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDuration"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDurationDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:duration"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDuration"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDurationDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:duration"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDuration"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeDurationDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:anyURI -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:anyURI"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaAnyURI"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeAnyURIDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:anyURI"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaAnyURI"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeAnyURIDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:anyURI"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaAnyURI"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeAnyURIDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:gYearMonth -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:gYearMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYearMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:gYearMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYearMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:gYearMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYearMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:gYear -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:gYear"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYear"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:gYear"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYear"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:gYear"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaYear"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGYearDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:gMonthDay -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:gMonthDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonthDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:gMonthDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonthDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:gMonthDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonthDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:gDay -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:gDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:gDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:gDay"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaDay"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGDayDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:gMonth -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:gMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:gMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:gMonth"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaMonth"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeGMonthDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:hexBinary -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:hexBinary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaHexBinary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeHexBinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:hexBinary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaHexBinary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeHexBinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:hexBinary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaHexBinary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeHexBinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <!-- xsd:base64Binary -->
+ <typeMapping xmlns:xsd="http://www.w3.org/1999/XMLSchema"
+              qname="xsd:base64Binary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaBase64Binary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeBase64BinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"
+              qname="xsd:base64Binary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaBase64Binary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeBase64BinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+ <typeMapping xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+              qname="xsd:base64Binary"
+              type="java:org.activebpel.rt.xml.schema.AeSchemaBase64Binary"
+              serializer="org.activebpel.rt.axis.ser.AeBaseSerializerFactory"
+              deserializer="org.activebpel.rt.axis.ser.AeBase64BinaryDeserializerFactory"
+              encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
+
+ <handler type="java:org.apache.axis.handlers.http.URLMapper" name="URLMapper"/>
+ <handler type="java:org.apache.axis.transport.local.LocalResponder" name="LocalResponder"/>
+ <handler type="java:org.activebpel.rt.axis.bpel.handlers.AeSimpleAuthenticationHandler" name="Authenticate"/>
+ <handler type="java:org.activebpel.rt.axis.bpel.handlers.AeSimpleAuthorizationHandler" name="Authorize"/>
+
+ <globalConfiguration>
+   <requestFlow>
+     <handler type="java:org.apache.axis.handlers.JWSHandler">
+        <parameter name="scope" value="session"/>
+     </handler>
+     <handler type="java:org.apache.axis.handlers.JWSHandler">
+        <parameter name="scope" value="request"/>
+        <parameter name="extension" value=".jwr"/>
+     </handler>
+     <handler type="Authenticate"/>
+     <handler type="java:org.activebpel.rt.axis.bpel.handlers.AeWsaHeaderHandler"/>   
+     <!-- uncomment this if you want the SOAP monitor
+      -->
+     <handler type="java:org.apache.axis.handlers.SOAPMonitorHandler"/>
+   </requestFlow>
+   <!-- uncomment this if you want the SOAP monitor 
+   -->
+   <responseFlow>
+     <handler type="java:org.apache.axis.handlers.SOAPMonitorHandler"/>
+   </responseFlow>
+ </globalConfiguration>
+
+ <service name="AdminService" provider="java:MSG">
+  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
+  <parameter name="allowedMethods" value="AdminService"/>
+  <parameter name="enableRemoteAdmin" value="false"/>
+  <parameter name="className" value="org.apache.axis.utils.Admin"/>
+ </service>
+
+ <service name="Version" provider="java:RPC">
+  <parameter name="allowedMethods" value="getVersion"/>
+  <parameter name="className" value="org.apache.axis.Version"/>
+ </service>
+
+ <transport name="http">
+  <parameter name="useDefaultQueryStrings" value="false"/>
+  <parameter name="qs.list"   value="org.apache.axis.transport.http.QSListHandler"/>
+  <parameter name="qs.method" value="org.apache.axis.transport.http.QSMethodHandler"/>
+  <parameter name="qs.wsdl"   value="org.activebpel.rt.axis.bpel.handlers.AeQSWSDLHandler"/>
+  <requestFlow>
+   <handler type="URLMapper"/>
+   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
+   <!-- set the classloader association -->
+   <handler type="java:org.activebpel.rt.axis.bpel.handlers.AeSetClassLoaderHandler"/>
+  </requestFlow>
+  <responseFlow>
+    <!-- reset the classloader association -->
+    <handler type="java:org.activebpel.rt.axis.bpel.handlers.AeRestoreClassLoaderHandler"/>
+  </responseFlow>
+ </transport>
+
+ <transport name="local">
+  <responseFlow>
+   <handler type="LocalResponder"/>
+  </responseFlow>
+ </transport>
+
+</deployment>

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -1,6 +1,7 @@
 <project name="Quickstart_webservice_bpel" default="deploy" basedir=".">
 
     <property name="additional.deploys" value="jbmq-service.xml,jbossesb-properties.xml,groovy/**"/>
+    <property environment="env" />
 
     <!-- Import the base Ant build script... -->
     <import file="../conf/base-build.xml"/>
@@ -44,13 +45,50 @@
     </target>
 
     <target name="quickstart-specific-deploys">
+        <!-- Deply the quickstart apps. -->
         <copy overwrite="true" todir="${org.jboss.esb.server.deploy.dir}">
             <fileset dir="${build.dir}/order-manager" includes="order-manager-service.jar" />
             <fileset dir="${build.dir}/shipping" includes="shipping-service.jar" />
             <fileset dir="${basedir}/soapui-client/target" includes="soapui-client.sar" />
         </copy>
+
+        <!-- Deploy the ActiveBPEL components. -->
+        <antcall target="assert-CATALINA_HOME-set" />
+        <antcall target="assert-ACTIVEBPEL_ENGINE-installed" />
+        <copy overwrite="true" todir="${env.CATALINA_HOME}/bpr">
+            <fileset dir="bpel" includes="order_process.bpr" />
+            <fileset dir="bpel/resources/supportServices/Customer" includes="customer.bpr" />
+        </copy>
+        <copy overwrite="true" todir="${env.CATALINA_HOME}/shared/classes">
+            <fileset dir="bpel/tomcat-configs" includes="*.wsdd" />
+        </copy>
     </target>
 
+    <target name="display-instructions">
+        <echo message='${line.separator}******************' />
+        <echo>Quickstart deployed to target JBoss ESB/App Server at '${org.jboss.esb.server.deploy.dir}'.</echo>
+        <echo>1.   Check your ESB Server console to make sure the deployment was executed without errors.</echo>
+        <echo>2.   Make sure your Tomcat deployment at '${env.CATALINA_HOME}' is configured such that it's ports do not clash with those of your running JBoss AS. See '${env.CATALINA_HOME}/conf/server.xml'.</echo>
+        <echo>3.   Make sure your Tomcat deployment at '${env.CATALINA_HOME}' is configured to listen for HTTP traffic on port 18080. See '${env.CATALINA_HOME}/conf/server.xml'.</echo>
+        <echo>4.   Start your Tomcat deployment at '${env.CATALINA_HOME}'.</echo>
+        <echo>5.   Goto 'Deployed Processes' on the BPEL Console (http://localhost:18080/BpelAdmin) and confirm that the 'Customer' and 'OrderProcess' BPEL processes are deployed.</echo>
+        <echo>6.   Start your favorite SOAP client (e.g. SOAPUI) and load the 'RetailerService' WSDL (http://localhost:18080/active-bpel/services/RetailerService?wsdl).</echo>
+        <echo>7.   Load the SOAP client with the sample order in 'bpel/resources/sampleData/submit-order-01.xml'.</echo>
+        <echo>8.   Submit the new order using the SOAP UI client.</echo>
+        <echo>9.   View the state of the new process in 'Active Processes' on the BPEL Console.  Will appear as 'Running'.</echo>
+        <echo>10.  Drill into the 'Running' process OrderProcess (select it).</echo>
+        <echo>11.  If you drill down, you will see that the process is waiting on an acknowledgement/notification from the OrderManager service (WaitForNotificationFromOrderManager).</echo>        
+        <echo message='******************' />
+    </target>
+
+    <target name="assert-CATALINA_HOME-set" unless="env.CATALINA_HOME">
+        <fail>**** DEPLOYMENT FAILED... Sorry, the system property 'CATALINA_HOME' is not set.  This system property must be set to the root of your Tomcat deployment."</fail>
+    </target>
+    <target name="assert-ACTIVEBPEL_ENGINE-installed">
+        <available property="ae-available" file="${env.CATALINA_HOME}/bpr" type="dir" />
+        <fail unless="ae-available">**** DEPLOYMENT FAILED... Sorry, this Quickstart requires version 3.1 of the ActiveEndpoints 'ActiveBPEL' engine to be installed on your local Tomcat server at ${env.CATALINA_HOME}.  Download the engine from http://www.active-endpoints.com/</fail>
+    </target>
+
     <target name="build-ejb-service">
         <delete dir="${build.dir}/${servicename}" />
         <mkdir dir="${build.dir}/${servicename}" />
@@ -66,6 +104,7 @@
         <jar destfile="${build.dir}/${servicename}/${servicename}-service.jar">
             <fileset dir="${build.dir}" includes="${servicename}-types.jar"/>
             <fileset dir="${build.dir}/${servicename}" includes="**/*Bean.class"/>
+            <fileset dir="services/${servicename}" includes="*.properties"/>
         </jar>
     </target>
 

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml	2007-05-03 11:05:50 UTC (rev 11638)
@@ -96,6 +96,7 @@
                 <action name="message-populator" class="org.jboss.soa.esb.actions.scripting.GroovyActionProcessor">
                     <property name="script" value="/org/jboss/esb/quickstarts/bpel/orderNotificationBean.groovy" />
                 </action>
+
                 <action name="soapui-client" class="org.jboss.soa.esb.actions.soap.SOAPUIClient">
                     <property name="wsdl" value="http://localhost:18080/active-bpel/services/RetailerCallback?wsdl" />
                     <property name="operation" value="SendSalesOrderNotification" />

Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/order-manager.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/order-manager.properties	                        (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/order-manager.properties	2007-05-03 11:05:50 UTC (rev 11638)
@@ -0,0 +1,2 @@
+
+order.approval.drop.location=/ae-demo/orders
\ No newline at end of file


Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/order-manager.properties
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/src/com/activebpel/ordermanagement/OrderManager.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/src/com/activebpel/ordermanagement/OrderManager.java	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/src/com/activebpel/ordermanagement/OrderManager.java	2007-05-03 11:05:50 UTC (rev 11638)
@@ -8,9 +8,16 @@
  * terms of use that apply to this source code.
  */
 package com.activebpel.ordermanagement;
-public interface  OrderManager extends java.rmi.Remote
-{
 
-  public java.lang.String  createSalesOrder(com.activebpel.ordermanagement.CustomerOrder customerOrder) throws com.activebpel.ordermanagement.SalesOrderFault, java.rmi.RemoteException;
-  public boolean  cancelOrder(com.activebpel.ordermanagement.CancelOrder cancelOrder) throws  java.rmi.RemoteException;
+import java.util.Map;
+
+public interface OrderManager extends java.rmi.Remote {
+
+    public java.lang.String createSalesOrder(com.activebpel.ordermanagement.CustomerOrder customerOrder) throws com.activebpel.ordermanagement.SalesOrderFault, java.rmi.RemoteException;
+
+    public boolean cancelOrder(com.activebpel.ordermanagement.CancelOrder cancelOrder) throws java.rmi.RemoteException;
+
+    public Map<String, CustomerOrder> getOrders() throws java.rmi.RemoteException;
+
+    public void approveOrder(String orderNumber) throws java.rmi.RemoteException;
 }

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/src/com/activebpel/ordermanagement/OrderManagerBean.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/src/com/activebpel/ordermanagement/OrderManagerBean.java	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/services/order-manager/src/com/activebpel/ordermanagement/OrderManagerBean.java	2007-05-03 11:05:50 UTC (rev 11638)
@@ -19,26 +19,78 @@
  */
 package com.activebpel.ordermanagement;
 
-import javax.ejb.Stateful;
+import org.apache.log4j.Logger;
+import org.jboss.system.ConfigurationException;
+
 import javax.ejb.Remote;
+import javax.ejb.Stateless;
 import java.rmi.RemoteException;
 import java.util.UUID;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.Properties;
 import java.io.Serializable;
+import java.io.File;
+import java.io.IOException;
 
 /**
  * Order Management Service bean.
  *
  * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
  */
- at Stateful
+ at Stateless
 @Remote(OrderManager.class)
 public class OrderManagerBean implements OrderManager, Serializable {
+
+    private Logger logger = Logger.getLogger(OrderManagerBean.class);
+    private static Map<String, CustomerOrder> orders = new HashMap<String, CustomerOrder>();
+    private Properties properties;
+    private File approvalDir;
+    private static final String ORDER_MANAGER_PROPERTIES = "order-manager.properties";
+    private static final String ORDER_APPROVAL_DROP_LOCATION = "order.approval.drop.location";
+
+    public OrderManagerBean() throws ConfigurationException {
+        properties = new Properties();
+        try {
+            properties.load(getClass().getResourceAsStream("/" + ORDER_MANAGER_PROPERTIES));
+        } catch (Exception e) {
+            String message = "Failed to load OrderManager properties from root of classpath (/" + ORDER_MANAGER_PROPERTIES + ").";
+            logger.error(message, e);
+            throw new ConfigurationException(message, e);
+        }
+
+        String approvalDirName = properties.getProperty(ORDER_APPROVAL_DROP_LOCATION);
+        if(approvalDirName == null) {
+            throw new ConfigurationException("Property '" + ORDER_APPROVAL_DROP_LOCATION + "' not set in '" + ORDER_MANAGER_PROPERTIES + "'.  Configure this property, rebuild and redeploy quickstart.  File located in 'services' folder of the 'webservice_bpel' quickstart.");
+        }
+        approvalDir = new File(approvalDirName);
+        if(!approvalDir.exists() || !approvalDir.isDirectory()) {
+            throw new ConfigurationException("Directory name set on property '" + ORDER_APPROVAL_DROP_LOCATION + "' in '" + ORDER_MANAGER_PROPERTIES + "' is not available on the system, or is not a directory.  Configure this property, rebuild and redeploy quickstart.  File located in 'services' folder of the 'webservice_bpel' quickstart.");
+        }
+        if(!approvalDir.canWrite()) {
+            throw new ConfigurationException("Directory name set on property '" + ORDER_APPROVAL_DROP_LOCATION + "' in '" + ORDER_MANAGER_PROPERTIES + "' is not writable.  Configure this property, rebuild and redeploy quickstart.  File located in 'services' folder of the 'webservice_bpel' quickstart.");
+        }
+    }
     
     public String createSalesOrder(CustomerOrder customerOrder) throws SalesOrderFault, RemoteException {
-        return UUID.randomUUID().toString();
+        String ordernum = UUID.randomUUID().toString();
+
+        orders.put(ordernum, customerOrder);
+        System.out.println("Orders: " + orders.keySet());
+
+        return ordernum;
     }
 
     public boolean cancelOrder(CancelOrder cancelOrder) throws RemoteException {
+        orders.remove(cancelOrder.getOrderInquiry().getPoNumber());
         return true;
     }
+
+    public Map<String, CustomerOrder> getOrders() throws RemoteException {
+        return orders;
+    }
+
+    public void approveOrder(String orderNumber) throws RemoteException {
+        
+    }
 }

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java	2007-05-03 11:05:50 UTC (rev 11638)
@@ -27,6 +27,7 @@
 import javax.naming.InitialContext;
 import javax.naming.NamingException;
 import java.rmi.RemoteException;
+import java.util.Map;
 
 /**
  * Order Manager Service wrapper webservice.
@@ -63,4 +64,12 @@
     public boolean cancelOrder(CancelOrder cancelOrder) throws RemoteException {
         return orderManagement.cancelOrder(cancelOrder);
     }
+
+    public Map<String, CustomerOrder> getOrders() throws RemoteException {
+        throw new UnsupportedOperationException("Not exposed as a SOAP operation.");
+    }
+
+    public void approveOrder(String orderNumber) throws RemoteException {
+        throw new UnsupportedOperationException("Not exposed as a SOAP operation.");
+    }
 }

Modified: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/soap/SOAPUIClient.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/soap/SOAPUIClient.java	2007-05-03 10:25:27 UTC (rev 11637)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/soa/esb/actions/soap/SOAPUIClient.java	2007-05-03 11:05:50 UTC (rev 11638)
@@ -28,10 +28,7 @@
 import org.jboss.mx.util.MBeanServerLocator;
 import org.apache.log4j.Logger;
 import org.apache.commons.httpclient.methods.PostMethod;
-import org.apache.commons.httpclient.methods.RequestEntity;
-import org.apache.commons.httpclient.methods.StringRequestEntity;
 import org.apache.commons.httpclient.HttpClient;
-import org.apache.commons.httpclient.HttpException;
 
 import javax.management.*;
 import java.util.Map;
@@ -128,15 +125,7 @@
 
     private String invokeEndpoint(String request) throws ActionProcessingException {
         PostMethod post = new PostMethod(getEndpoint());
-        /*
-        RequestEntity entity = null;
-        try {
-            entity = new StringRequestEntity(request, "text/xml; charset=ISO-8859-1", "");
-        } catch (UnsupportedEncodingException e) {
-            throw new ActionProcessingException("Failed to construct StringRequestEntity", e);
-        }
-        post.setRequestEntity(entity);
-        */
+
         post.setRequestHeader("SOAPAction", operation);
         post.setRequestBody(request);
         HttpClient httpclient = new HttpClient();




More information about the jboss-svn-commits mailing list