riftsaw SVN: r556 - in trunk/samples/quickstart: BPEL-BluePrint2 and 2 other directories.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-10 12:14:08 -0500 (Wed, 10 Mar 2010)
New Revision: 556
Added:
trunk/samples/quickstart/BPEL-BluePrint1/messages/timeout.xml
trunk/samples/quickstart/BPEL-BluePrint2/.project
trunk/samples/quickstart/BPEL-BluePrint2/.settings/
trunk/samples/quickstart/BPEL-BluePrint2/.settings/org.eclipse.wst.common.component
trunk/samples/quickstart/BPEL-BluePrint2/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/
trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.bpel
trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.bpelex
trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.wsdl
trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.bpel
trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.bpelex
trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.wsdl
trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/bpel-deploy.xml
trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/inventory.xsd
trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/purchaseOrder.xsd
trunk/samples/quickstart/BPEL-BluePrint2/build.xml
Log:
Added test messages and ant build targets
Added: trunk/samples/quickstart/BPEL-BluePrint1/messages/timeout.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint1/messages/timeout.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint1/messages/timeout.xml 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>2003</pur:orderId>
+ <pur:customerId>100656</pur:customerId>
+ <pur:orderDescription>OrderTimeout: Simulate Inventory Service timeout</pur:orderDescription>
+ <pur:price></pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/samples/quickstart/BPEL-BluePrint2/.project
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/.project (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/.project 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>BPEL-BluePrint2</name>
+ <comment></comment>
+ <projects>
+ <project>BPEL-BluePrint2</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.bpel.validator.builder</name>
+ <arguments>
+ <dictionary>
+ <key>debug</key>
+ <value>false</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ </natures>
+</projectDescription>
Added: trunk/samples/quickstart/BPEL-BluePrint2/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/.settings/org.eclipse.wst.common.component 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="BPEL-BluePrint2">
+ <wb-resource deploy-path="/" source-path="/bpelContent"/>
+ <dependent-module deploy-path="/" handle="module:/org.jboss.ide.eclipse.as.wtp.core.vcf.outputFolders/">
+ <dependency-type>consumes</dependency-type>
+ </dependent-module>
+ </wb-module>
+</project-modules>
Added: trunk/samples/quickstart/BPEL-BluePrint2/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/.settings/org.eclipse.wst.common.project.facet.core.xml 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <fixed facet="jbt.bpel.facet.core"/>
+ <installed facet="jbt.bpel.facet.core" version="2.0"/>
+</faceted-project>
Added: trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.bpel (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.bpel 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="InventoryService"
+ targetNamespace="http://manufacturing.org/wsdl/inventory/bp2"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
+ xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
+ xmlns:invs="http://manufacturing.org/wsdl/inventory/bp2"
+ xmlns:invsh="http://manufacturing.org/xsd/inventory"
+ xmlns:po="http://manufacturing.org/xsd/purchase">
+
+ <import namespace="http://manufacturing.org/wsdl/inventory/bp2"
+ location="InventoryService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/xsd/purchase"
+ location="purchaseOrder.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <import namespace="http://manufacturing.org/xsd/inventory"
+ location="inventory.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="inventoryServicing"
+ partnerLinkType="invs:inventoryRequestingLT"
+ myRole="inventoryService"
+ partnerRole="inventoryServiceRequester"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="inventoryServiceVar" messageType="invs:POMessage"></variable>
+ <variable name="inventoryServiceResponseVar" messageType="invs:InventoryMessage"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="inventoryService"
+ partnerLink="inventoryServicing"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ variable="inventoryServiceVar"
+ createInstance="yes">
+ </receive>
+ <if name="checkAvailability">
+ <condition>starts-with($inventoryServiceVar.purchaseOrder/po:orderDescription, 'OrderVal') = true()</condition>
+ <sequence name="Case1">
+ <assign name="Assign1">
+
+ <bpws:copy>
+ <bpws:from><bpws:literal><tns:inventory xmlns:tns="http://manufacturing.org/xsd/inventory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:orderId></tns:orderId>
+ <tns:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryServiceResponseVar" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>$inventoryServiceVar.purchaseOrder/po:orderId</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:orderId</to>
+ </copy>
+ <copy>
+ <from>true()</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>'available'</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatusMessage</to>
+ </copy>
+
+
+ </assign>
+ </sequence>
+ <bpws:elseif>
+ <bpws:condition><![CDATA[starts-with($inventoryServiceVar.purchaseOrder/po:orderDescription, 'OrderTimeout') = true()]]></bpws:condition>
+ <sequence name="Case2">
+ <bpws:wait name="Wait">
+ <bpws:for><![CDATA['PT15S']]></bpws:for>
+ </bpws:wait>
+ <assign name="Assign2">
+ <bpws:copy>
+ <bpws:from><bpws:literal><tns:inventory xmlns:tns="http://manufacturing.org/xsd/inventory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:orderId></tns:orderId>
+ <tns:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryServiceResponseVar" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>$inventoryServiceVar.purchaseOrder/po:orderId</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:orderId</to>
+ </copy>
+ <copy>
+ <from>false()</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>
+ <![CDATA['timed out searching for stock']]>
+ </from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatusMessage</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </bpws:elseif>
+ <else>
+ <sequence name="Case3">
+ <assign name="Assign3">
+ <bpws:copy>
+ <bpws:from><bpws:literal><tns:inventory xmlns:tns="http://manufacturing.org/xsd/inventory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:orderId></tns:orderId>
+ <tns:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryServiceResponseVar" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>$inventoryServiceVar.purchaseOrder/po:orderId</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:orderId</to>
+ </copy>
+ <copy>
+ <from>false()</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>'currently out of stock'</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatusMessage</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </else>
+</if>
+ <invoke name="inventoryServiceResponse"
+ partnerLink="inventoryServicing"
+ portType="invs:inventoryServiceCallbackPortType"
+ operation="inventoryServiceResponse"
+ inputVariable="inventoryServiceResponseVar"/>
+ </sequence>
+</process>
Added: trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.bpelex (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.bpelex 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1267643855000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/(a)elseIf.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CaseExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/InventoryService.wsdl 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://manufacturing.org/wsdl/inventory/bp2"
+ name="InventoryService"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://manufacturing.org/wsdl/inventory/bp2"
+ xmlns:inv="http://manufacturing.org/xsd/inventory"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:po="http://manufacturing.org/xsd/purchase"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop">
+
+ <vprop:property name="orderID" type="xsd:int"/>
+
+ <vprop:propertyAlias propertyName="tns:orderID" messageType="tns:POMessage" part="purchaseOrder">
+ <vprop:query>po:orderId</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias propertyName="tns:orderID" messageType="tns:InventoryMessage" part="inventoryPart">
+ <vprop:query>inv:orderId</vprop:query>
+ </vprop:propertyAlias>
+
+ <plink:partnerLinkType name="inventoryRequestingLT">
+ <plink:role portType="tns:inventoryPortType" name="inventoryService"></plink:role>
+ <plink:role portType="tns:inventoryServiceCallbackPortType" name="inventoryServiceRequester"></plink:role>
+ </plink:partnerLinkType>
+
+ <types>
+ <xsd:schema targetNamespace="http://manufacturing.org/wsdl/inventory/bp2">
+ <xsd:import schemaLocation="inventory.xsd" namespace="http://manufacturing.org/xsd/inventory"/>
+ <xsd:import schemaLocation="purchaseOrder.xsd" namespace="http://manufacturing.org/xsd/purchase"/>
+ </xsd:schema>
+ </types>
+
+ <message name="InventoryMessage">
+ <part name="inventoryPart" element="inv:inventory"></part>
+ </message>
+
+ <message name="POMessage">
+ <part name="purchaseOrder" element="po:purchaseOrder"></part>
+ </message>
+
+ <portType name="inventoryPortType">
+ <operation name="inventoryService">
+ <input name="purchaseOrder" message="tns:POMessage"></input>
+ </operation>
+ </portType>
+
+ <portType name="inventoryServiceCallbackPortType">
+ <operation name="inventoryServiceResponse">
+ <input name="inventoryResponse" message="tns:InventoryMessage"></input>
+ </operation>
+ </portType>
+
+ <binding name="inventoryBinding" type="tns:inventoryPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="inventoryService">
+ <input name="purchaseOrder">
+ <soap:body parts="purchaseOrder" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="inventoryCallbackBinding" type="tns:inventoryServiceCallbackPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="inventoryServiceResponse">
+ <input name="inventoryResponse">
+ <soap:body parts="inventoryPart" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <service name="inventoryCallbackService">
+ <port name="inventoryCallbackServicePort" binding="tns:inventoryCallbackBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint2_InventoryServiceCallback"/>
+ </port>
+ </service>
+
+ <service name="inventoryService">
+ <port name="inventoryServicePort" binding="tns:inventoryBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint2_InventoryService"/>
+ </port>
+ </service>
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.bpel (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.bpel 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,238 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="POService"
+ targetNamespace="http://manufacturing.org/wsdl/purchase/bp2"
+ xmlns:pos="http://manufacturing.org/wsdl/purchase/bp2"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
+ xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
+ xmlns:invs="http://manufacturing.org/wsdl/inventory/bp2"
+ xmlns:invsh="http://manufacturing.org/xsd/inventory"
+ xmlns:po="http://manufacturing.org/xsd/purchase" xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
+
+ <import namespace="http://manufacturing.org/wsdl/purchase/bp2"
+ location="POService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/wsdl/inventory/bp2"
+ location="InventoryService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/xsd/purchase"
+ location="purchaseOrder.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <import namespace="http://manufacturing.org/xsd/inventory"
+ location="inventory.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="POServicePLink"
+ partnerLinkType="pos:purchasingLT"
+ myRole="purchaseService"/>
+ <partnerLink name="inventoryRequesting"
+ partnerLinkType="invs:inventoryRequestingLT"
+ myRole="inventoryServiceRequester"
+ partnerRole="inventoryService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="purchaseOrderRequest" messageType="pos:POMessage"></variable>
+ <variable name="purchaseOrderFault" messageType="pos:orderFaultType"></variable>
+ <variable name="inventoryServiceRequest" messageType="invs:POMessage"></variable>
+ <variable name="inventoryServiceReply" messageType="invs:InventoryMessage"></variable>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="CorrelationSet" properties="pos:corrprop"/>
+ <correlationSet name="POCorrelationSet" properties="invs:orderID"/>
+ </correlationSets>
+
+ <sequence>
+ <receive name="sendPurchaseOrder"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderRequest"
+ createInstance="yes">
+ <correlations>
+ <correlation set="CorrelationSet" initiate="yes"/>
+ </correlations>
+ </receive>
+ <assign name="Assign_2">
+ <bpel:copy>
+ <bpel:from><bpel:literal><tns:purchaseOrder xmlns:tns="http://manufacturing.org/xsd/purchase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:orderId></tns:orderId>
+ <tns:customerId></tns:customerId>
+ <tns:orderDescription></tns:orderDescription>
+ <tns:price></tns:price>
+</tns:purchaseOrder>
+</bpel:literal></bpel:from>
+ <bpel:to part="purchaseOrder" variable="inventoryServiceRequest"></bpel:to>
+ </bpel:copy>
+ <copy>
+ <from>49.98</from>
+ <to>
+
+
+ <![CDATA[$purchaseOrderRequest.purchaseOrder/po:price]]>
+ </to>
+ </copy>
+ <copy><from>$purchaseOrderRequest.purchaseOrder/po:orderId</from>
+ <to>
+ <![CDATA[$inventoryServiceRequest.purchaseOrder/po:orderId]]>
+ </to>
+
+ </copy>
+ <copy><from>$purchaseOrderRequest.purchaseOrder/po:customerId</from>
+ <to>$inventoryServiceRequest.purchaseOrder/po:customerId</to>
+
+ </copy>
+ <copy><from>$purchaseOrderRequest.purchaseOrder/po:orderDescription</from>
+ <to>$inventoryServiceRequest.purchaseOrder/po:orderDescription</to>
+
+ </copy>
+ <copy><from>$purchaseOrderRequest.purchaseOrder/po:price</from>
+ <to>$inventoryServiceRequest.purchaseOrder/po:price</to>
+
+ </copy>
+
+ </assign>
+ <invoke name="inventoryService"
+ partnerLink="inventoryRequesting"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ inputVariable="inventoryServiceRequest">
+ <correlations>
+ <correlation set="POCorrelationSet" initiate="yes"/>
+ </correlations>
+ </invoke>
+ <pick name="Event_Based_Decision" createInstance="no">
+ <onMessage partnerLink="inventoryRequesting"
+ portType="invs:inventoryServiceCallbackPortType"
+ operation="inventoryServiceResponse"
+ variable="inventoryServiceReply">
+ <correlations>
+ <correlation set="POCorrelationSet" initiate="no"/>
+ </correlations>
+ <sequence>
+ <if name="Decision">
+ <bpel:condition><![CDATA[$inventoryServiceReply.inventoryPart/invsh:inventoryStatus = 'true']]></bpel:condition>
+ <sequence name="Case2">
+ <reply name="sendPurchaseOrder.Reply"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderRequest"/>
+ </sequence>
+ <else>
+ <sequence name="Case1">
+ <assign name="Assign2">
+ <bpel:copy>
+ <bpel:from><bpel:literal><tns:purchaseOrderFault xmlns:tns="http://manufacturing.org/xsd/purchase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:FaultCode></tns:FaultCode>
+ <tns:FaultMessage></tns:FaultMessage>
+</tns:purchaseOrderFault>
+</bpel:literal></bpel:from>
+ <bpel:to variable="purchaseOrderFault" part="cannotCompleteOrder"></bpel:to>
+ </bpel:copy>
+
+
+
+ <bpel:copy><bpel:from>
+ <bpel:literal xml:space="preserve">404</bpel:literal>
+ </bpel:from>
+ <bpel:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[po:FaultCode]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <copy><from>$inventoryServiceReply.inventoryPart/invsh:inventoryStatusMessage</from>
+ <to>
+
+ <![CDATA[$purchaseOrderFault.cannotCompleteOrder/po:FaultMessage]]>
+ </to>
+
+ </copy>
+ </assign>
+ <reply name="sendPurchaseOrder.Fault_2"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderFault"
+ faultName="pos:cannotCompleteOrder"/>
+ </sequence>
+ </else>
+ </if>
+ </sequence>
+ </onMessage>
+ <onAlarm>
+ <bpel:for><![CDATA['PT10S']]></bpel:for>
+ <sequence>
+ <assign name="Assign">
+ <bpel:copy>
+ <bpel:from><bpel:literal><tns:purchaseOrderFault xmlns:tns="http://manufacturing.org/xsd/purchase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:FaultCode></tns:FaultCode>
+ <tns:FaultMessage></tns:FaultMessage>
+</tns:purchaseOrderFault>
+</bpel:literal></bpel:from>
+ <bpel:to variable="purchaseOrderFault" part="cannotCompleteOrder"></bpel:to>
+ </bpel:copy>
+
+
+ <bpel:copy><bpel:from>
+ <bpel:literal xml:space="preserve">408</bpel:literal>
+ </bpel:from>
+ <bpel:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultCode]]></bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <copy><from>'Time out waiting for inventory Response'</from>
+ <to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultMessage]]></bpel:query>
+ </to>
+
+ </copy>
+ </assign>
+ <reply name="sendPurchaseOrder.Fault"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderFault"
+ faultName="pos:cannotCompleteOrder"/>
+ </sequence>
+ </onAlarm>
+ </pick>
+ </sequence>
+</process>
Added: trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.bpelex (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.bpelex 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1267643516000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/POService.wsdl 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://manufacturing.org/wsdl/purchase/bp2"
+ name="POService"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://manufacturing.org/wsdl/purchase/bp2"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:inv="http://manufacturing.org/xsd/inventory"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:sns="http://manufacturing.org/xsd/purchase"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop">
+
+ <types>
+ <xsd:schema targetNamespace="http://manufacturing.org/wsdl/purchase/bp2">
+ <xsd:import schemaLocation="inventory.xsd" namespace="http://manufacturing.org/xsd/inventory"/>
+ </xsd:schema>
+ <xsd:schema targetNamespace="http://manufacturing.org/wsdl/purchase/bp2">
+ <xsd:import schemaLocation="purchaseOrder.xsd" namespace="http://manufacturing.org/xsd/purchase"/>
+ </xsd:schema>
+ </types>
+
+ <message name="POMessage">
+ <part name="purchaseOrder" element="sns:purchaseOrder"></part>
+ </message>
+
+ <message name="orderFaultType">
+ <part name="cannotCompleteOrder" element="sns:purchaseOrderFault"></part>
+ </message>
+
+ <portType name="purchaseOrderPT">
+ <operation name="sendPurchaseOrder">
+ <input name="sendPurchaseOrderRequest" message="tns:POMessage"></input>
+ <output name="sendPurchaseOrderReply" message="tns:POMessage"></output>
+ <fault name="cannotCompleteOrder" message="tns:orderFaultType"></fault>
+ </operation>
+ </portType>
+
+ <binding name="purchaseOrderBinding" type="tns:purchaseOrderPT">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="sendPurchaseOrder">
+ <input name="sendPurchaseOrderRequest">
+ <soap:body parts="purchaseOrder" use="literal"/>
+ </input>
+ <output name="sendPurchaseOrderReply">
+ <soap:body parts="purchaseOrder" use="literal"/>
+ </output>
+ <fault name="cannotCompleteOrder">
+ <soap:fault name="cannotCompleteOrder" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+
+ <service name="purchaseOrderService">
+ <port name="purchaseOrderPort"
+ binding="tns:purchaseOrderBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint2_PurchaseOrderService"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="purchasingLT">
+ <plink:role name="purchaseService" portType="tns:purchaseOrderPT"></plink:role>
+ </plink:partnerLinkType>
+
+ <vprop:property name="corrprop" type="xsd:int"/>
+
+ <vprop:propertyAlias propertyName="tns:corrprop" messageType="tns:POMessage" part="purchaseOrder">
+ <vprop:query>sns:orderId</vprop:query>
+ </vprop:propertyAlias>
+
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/bpel-deploy.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/bpel-deploy.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/bpel-deploy.xml 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:bp2="http://manufacturing.org/wsdl/inventory/bp2" xmlns:bp2_1="http://manufacturing.org/wsdl/purchase/bp2">
+ <process name="bp2:InventoryService">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="inventoryServicing">
+ <service name="bp2:inventoryService" port="inventoryServicePort"/>
+ </provide>
+ <invoke partnerLink="inventoryServicing">
+ <service name="bp2:inventoryCallbackService" port="inventoryCallbackServicePort"/>
+ </invoke>
+ </process>
+ <process name="bp2_1:POService">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="POServicePLink">
+ <service name="bp2_1:purchaseOrderService" port="purchaseOrderPort"/>
+ </provide>
+ <provide partnerLink="inventoryRequesting">
+ <service name="bp2:inventoryCallbackService" port="inventoryCallbackServicePort"/>
+ </provide>
+ <invoke partnerLink="inventoryRequesting">
+ <service name="bp2:inventoryService" port="inventoryServicePort"/>
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Added: trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/inventory.xsd
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/inventory.xsd (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/inventory.xsd 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://manufacturing.org/xsd/inventory"
+ xmlns:tns ="http://manufacturing.org/xsd/inventory"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="inventory" type="tns:inventoryType">
+ </xs:element>
+
+ <xs:complexType name="inventoryType">
+ <xs:sequence>
+ <xs:element name="orderId" type="xs:int"/>
+ <xs:element name="inventoryStatus" type="xs:boolean"/>
+ <xs:element name="inventoryStatusMessage" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Added: trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/purchaseOrder.xsd
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/purchaseOrder.xsd (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/bpelContent/purchaseOrder.xsd 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://manufacturing.org/xsd/purchase"
+ xmlns:tns ="http://manufacturing.org/xsd/purchase"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="purchaseOrder" type="tns:purchaseOrderType">
+ </xs:element>
+
+ <xs:complexType name="purchaseOrderType">
+ <xs:sequence>
+ <xs:element name="orderId" type="xs:int"/>
+ <xs:element name="customerId" type="xs:int"/>
+ <xs:element name="orderDescription" type="xs:string"/>
+ <xs:element name="price" type="xs:double"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="purchaseOrderFaultType">
+ <xs:sequence>
+ <xs:element name="FaultCode" type="xs:int"></xs:element>
+ <xs:element name="FaultMessage" type="xs:string"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="purchaseOrderFault"
+ type="tns:purchaseOrderFaultType">
+ </xs:element>
+</xs:schema>
Added: trunk/samples/quickstart/BPEL-BluePrint2/build.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint2/build.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint2/build.xml 2010-03-10 17:14:08 UTC (rev 556)
@@ -0,0 +1,71 @@
+<project name="BPEL_BluePrint2" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <!-- Import the base Ant build script... -->
+ <property file="../../../install/deployment.properties" />
+
+ <property name="version" value="1" />
+
+ <property name="server.dir" value="${org.jboss.as.home}/server/${org.jboss.as.config}"/>
+ <property name="conf.dir" value="${server.dir}/conf"/>
+ <property name="deploy.dir" value="${server.dir}/deploy"/>
+ <property name="server.lib.dir" value="${server.dir}/lib"/>
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <jar basedir="bpelContent" destfile="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+ <target name="sendvalid">
+ <echo>Send valid test message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/BPEL_BluePrint2_PurchaseOrderService"/>
+ <arg value="messages/valid.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="sendinvalid">
+ <echo>Send invalid test message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/BPEL_BluePrint2_PurchaseOrderService"/>
+ <arg value="messages/invalid.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="sendtimeout">
+ <echo>Send timeout test message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/BPEL_BluePrint2_PurchaseOrderService"/>
+ <arg value="messages/timeout.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+</project>
14 years, 3 months
riftsaw SVN: r555 - in trunk/integration-tests/src/test: resources/testcases/RiftSaw_70/messages and 1 other directory.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-03-10 05:48:56 -0500 (Wed, 10 Mar 2010)
New Revision: 555
Modified:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml
Log:
Update to enable integration test to work with native and cxf jbossws stacks.
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java 2010-03-10 10:11:17 UTC (rev 554)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java 2010-03-10 10:48:56 UTC (rev 555)
@@ -54,6 +54,8 @@
result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
}
+ result = result.replaceAll(" xmlns:pol='http://www.example.org/policyQuote'>", ">");
+
// Comment out until RIFTSAW-70 is fixed
assertMessageFromFile(result, "hello_response1.xml");
}
Modified: trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml 2010-03-10 10:11:17 UTC (rev 554)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml 2010-03-10 10:48:56 UTC (rev 555)
@@ -1,18 +1,18 @@
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><policyQuoteReply xmlns='http://www.example.org/policyQuote'>
- <pol:receivePolicyQuote xmlns:pol='http://www.example.org/policyQuote'>
+ <pol:receivePolicyQuote>
<pol:requestDate>2010-01-01</pol:requestDate>
<pol:task>receivePolicyQuote</pol:task>
<pol:policyQuoteInfo>
- <pol:policyType xmlns:pol='http://www.example.org/policyQuote'>AUTO</pol:policyType>
- <pol:vehicleYear xmlns:pol='http://www.example.org/policyQuote'>2004</pol:vehicleYear>
- <pol:driverName xmlns:pol='http://www.example.org/policyQuote'>Bob</pol:driverName>
- <pol:ssn xmlns:pol='http://www.example.org/policyQuote'>123456789</pol:ssn>
- <pol:dlNumber xmlns:pol='http://www.example.org/policyQuote'>987654321</pol:dlNumber>
- <pol:age xmlns:pol='http://www.example.org/policyQuote'>30</pol:age>
- <pol:numberOfAccidents xmlns:pol='http://www.example.org/policyQuote'>0</pol:numberOfAccidents>
- <pol:numberOfTickets xmlns:pol='http://www.example.org/policyQuote'>0</pol:numberOfTickets>
- <pol:creditScore xmlns:pol='http://www.example.org/policyQuote'>0</pol:creditScore>
- <pol:price xmlns:pol='http://www.example.org/policyQuote'>0</pol:price>
+ <pol:policyType>AUTO</pol:policyType>
+ <pol:vehicleYear>2004</pol:vehicleYear>
+ <pol:driverName>Bob</pol:driverName>
+ <pol:ssn>123456789</pol:ssn>
+ <pol:dlNumber>987654321</pol:dlNumber>
+ <pol:age>30</pol:age>
+ <pol:numberOfAccidents>0</pol:numberOfAccidents>
+ <pol:numberOfTickets>0</pol:numberOfTickets>
+ <pol:creditScore>0</pol:creditScore>
+ <pol:price>0</pol:price>
</pol:policyQuoteInfo>
</pol:receivePolicyQuote>
</policyQuoteReply></env:Body></env:Envelope>
\ No newline at end of file
14 years, 3 months
riftsaw SVN: r554 - trunk/qa.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2010-03-10 05:11:17 -0500 (Wed, 10 Mar 2010)
New Revision: 554
Modified:
trunk/qa/hudson-riftsaw-jboss.sh
Log:
* update time for derby and hsql db.
Modified: trunk/qa/hudson-riftsaw-jboss.sh
===================================================================
--- trunk/qa/hudson-riftsaw-jboss.sh 2010-03-10 07:48:30 UTC (rev 553)
+++ trunk/qa/hudson-riftsaw-jboss.sh 2010-03-10 10:11:17 UTC (rev 554)
@@ -14,7 +14,7 @@
JBOSS_ESB_VERSION="4.7"
JBOSS_ESB_HOME="$RIFTSAW_PARENT_DIR/riftsaw-$RIFTSAW_VERSION/jbossesb-$JBOSS_ESB_VERSION"
-STARTUP_TIME="3"
+STARTUP_TIME="6"
WS_STACK="native"
WS_VERSION="3.2.2.GA"
14 years, 3 months
riftsaw SVN: r553 - in trunk: integration-tests and 1 other directories.
by riftsaw-commits@lists.jboss.org
Author: jeff.yuchang
Date: 2010-03-10 02:48:30 -0500 (Wed, 10 Mar 2010)
New Revision: 553
Modified:
trunk/distribution/src/main/release/install/build.xml
trunk/integration-tests/build.xml
trunk/qa/hudson-riftsaw-db.sh
trunk/qa/hudson-riftsaw-jboss.sh
trunk/qa/hudson-riftsaw-ws.sh
Log:
* RIFTSAW-179 upgrade web service stack.
Modified: trunk/distribution/src/main/release/install/build.xml
===================================================================
--- trunk/distribution/src/main/release/install/build.xml 2010-03-09 23:08:26 UTC (rev 552)
+++ trunk/distribution/src/main/release/install/build.xml 2010-03-10 07:48:30 UTC (rev 553)
@@ -19,14 +19,17 @@
<property name="esb.examples.dir" value="${org.jboss.esb.home}/samples/quickstarts"/>
<!-- ws stack provider -->
- <property name="ws.stack" value="default" />
- <property name="ws.version" value="3.2.2.GA" />
+ <property name="ws.stack" value="native" />
+ <property name="ws.version" value="3.1.2.GA" />
- <property name="ws.stack.distro.url" value="http://www.jboss.org/downloading/?projectId=jbossws&url=/jbossws/down..." />
+ <property name="ws.stack.distro.url" value="http://jboss.org/file-access/default/members/jbossws/downloads/jbossws-${..." />
<property name="ws.stack.dir" value="ws-stack"/>
<condition property="keep.ws.stack">
- <equals arg1="${ws.stack}" arg2="default"/>
+ <and>
+ <equals arg1="${ws.stack}" arg2="native"/>
+ <equals arg1="${ws.version}" arg2="3.1.2.GA" />
+ </and>
</condition>
<condition property="is.ws.stack.distro.available">
Modified: trunk/integration-tests/build.xml
===================================================================
--- trunk/integration-tests/build.xml 2010-03-09 23:08:26 UTC (rev 552)
+++ trunk/integration-tests/build.xml 2010-03-10 07:48:30 UTC (rev 553)
@@ -144,7 +144,8 @@
<ant antfile="src/test/resources/testcases/RiftSaw_118/build.xml" />
<ant antfile="src/test/resources/testcases/RiftSaw_144/build.xml" />
<ant antfile="src/test/resources/testcases/RiftSaw_154/build.xml" />
- <ant antfile="src/test/resources/testcases/RiftSaw_163/build.xml" />
+ <!--comment out the 163 test case for now -->
+ <!--ant antfile="src/test/resources/testcases/RiftSaw_163/build.xml" /-->
<ant antfile="src/test/resources/testcases/RiftSaw_70/build.xml" />
</target>
Modified: trunk/qa/hudson-riftsaw-db.sh
===================================================================
--- trunk/qa/hudson-riftsaw-db.sh 2010-03-09 23:08:26 UTC (rev 552)
+++ trunk/qa/hudson-riftsaw-db.sh 2010-03-10 07:48:30 UTC (rev 553)
@@ -15,9 +15,12 @@
JBOSS_ESB_VERSION="4.7"
JBOSS_ESB_HOME="$RIFTSAW_PARENT_DIR/riftsaw-$RIFTSAW_VERSION/jbossesb-$JBOSS_ESB_VERSION"
+WS_VERSION="3.2.2.GA"
+WS_STACK="native"
+
STARTUP_TIME="6"
-ANT_PROPERTIES="-Driftsaw.parent.dir=$RIFTSAW_PARENT_DIR -Ddatabase=$DATABASE -Dreplace.qa.jdbc=$REPLACE_QA_JDBC -Dorg.jboss.as.home=$AS_HOME -Dorg.jboss.as.config=$AS_CONFIG -Djbossesb.version=$JBOSS_ESB_VERSION -Dorg.jboss.esb.home=$JBOSS_ESB_HOME -Dstartup.time=$STARTUP_TIME"
+ANT_PROPERTIES="-Driftsaw.parent.dir=$RIFTSAW_PARENT_DIR -Ddatabase=$DATABASE -Dreplace.qa.jdbc=$REPLACE_QA_JDBC -Dorg.jboss.as.home=$AS_HOME -Dorg.jboss.as.config=$AS_CONFIG -Djbossesb.version=$JBOSS_ESB_VERSION -Dws.stack=$WS_STACK -Dws.version=$WS_VERSION -Dorg.jboss.esb.home=$JBOSS_ESB_HOME -Dstartup.time=$STARTUP_TIME"
echo ANT_PROPERTIES=${ANT_PROPERTIES}
#build RiftSaw and running unit tests
Modified: trunk/qa/hudson-riftsaw-jboss.sh
===================================================================
--- trunk/qa/hudson-riftsaw-jboss.sh 2010-03-09 23:08:26 UTC (rev 552)
+++ trunk/qa/hudson-riftsaw-jboss.sh 2010-03-10 07:48:30 UTC (rev 553)
@@ -16,7 +16,10 @@
STARTUP_TIME="3"
-ANT_PROPERTIES="-Driftsaw.parent.dir=$RIFTSAW_PARENT_DIR -Ddatabase=$DATABASE -Dreplace.qa.jdbc=$REPLACE_QA_JDBC -Dorg.jboss.as.home=$AS_HOME -Dorg.jboss.as.config=$AS_CONFIG -Djbossesb.version=$JBOSS_ESB_VERSION -Dorg.jboss.esb.home=$JBOSS_ESB_HOME -Dstartup.time=$STARTUP_TIME"
+WS_STACK="native"
+WS_VERSION="3.2.2.GA"
+
+ANT_PROPERTIES="-Driftsaw.parent.dir=$RIFTSAW_PARENT_DIR -Ddatabase=$DATABASE -Dreplace.qa.jdbc=$REPLACE_QA_JDBC -Dorg.jboss.as.home=$AS_HOME -Dorg.jboss.as.config=$AS_CONFIG -Djbossesb.version=$JBOSS_ESB_VERSION -Dws.stack=$WS_STACK -Dws.version=$WS_VERSION -Dorg.jboss.esb.home=$JBOSS_ESB_HOME -Dstartup.time=$STARTUP_TIME"
echo ANT_PROPERTIES=${ANT_PROPERTIES}
# build RiftSaw and running unit test
Modified: trunk/qa/hudson-riftsaw-ws.sh
===================================================================
--- trunk/qa/hudson-riftsaw-ws.sh 2010-03-09 23:08:26 UTC (rev 552)
+++ trunk/qa/hudson-riftsaw-ws.sh 2010-03-10 07:48:30 UTC (rev 553)
@@ -15,9 +15,11 @@
JBOSS_ESB_VERSION="4.7"
JBOSS_ESB_HOME="$RIFTSAW_PARENT_DIR/riftsaw-$RIFTSAW_VERSION/jbossesb-$JBOSS_ESB_VERSION"
-STARTUP_TIME="3"
+WS_VERSION="3.2.2.GA"
-ANT_PROPERTIES="-Driftsaw.parent.dir=$RIFTSAW_PARENT_DIR -Ddatabase=$DATABASE -Dreplace.qa.jdbc=$REPLACE_QA_JDBC -Dorg.jboss.as.home=$AS_HOME -Dorg.jboss.as.config=$AS_CONFIG -Dws.stack=$WS_STACK -Dws.stack.dir=$WS_STACK_DIR -Djbossesb.version=$JBOSS_ESB_VERSION -Dorg.jboss.esb.home=$JBOSS_ESB_HOME -Dstartup.time=$STARTUP_TIME"
+STARTUP_TIME="6"
+
+ANT_PROPERTIES="-Driftsaw.parent.dir=$RIFTSAW_PARENT_DIR -Ddatabase=$DATABASE -Dreplace.qa.jdbc=$REPLACE_QA_JDBC -Dorg.jboss.as.home=$AS_HOME -Dorg.jboss.as.config=$AS_CONFIG -Dws.stack=$WS_STACK -Dws.stack.dir=$WS_STACK_DIR -Dws.version=$WS_VERSION -Djbossesb.version=$JBOSS_ESB_VERSION -Dorg.jboss.esb.home=$JBOSS_ESB_HOME -Dstartup.time=$STARTUP_TIME"
echo ANT_PROPERTIES=${ANT_PROPERTIES}
#build RiftSaw and running unit test
14 years, 3 months
riftsaw SVN: r552 - in trunk/samples/quickstart/BPEL-BluePrint5: messages and 1 other directory.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-09 18:08:26 -0500 (Tue, 09 Mar 2010)
New Revision: 552
Added:
trunk/samples/quickstart/BPEL-BluePrint5/messages/
trunk/samples/quickstart/BPEL-BluePrint5/messages/book_airline.xml
trunk/samples/quickstart/BPEL-BluePrint5/messages/book_all.xml
trunk/samples/quickstart/BPEL-BluePrint5/messages/book_car.xml
trunk/samples/quickstart/BPEL-BluePrint5/messages/book_hotel.xml
Modified:
trunk/samples/quickstart/BPEL-BluePrint5/build.xml
Log:
Added test messages and ant build targets to send them
Modified: trunk/samples/quickstart/BPEL-BluePrint5/build.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/build.xml 2010-03-09 22:53:22 UTC (rev 551)
+++ trunk/samples/quickstart/BPEL-BluePrint5/build.xml 2010-03-09 23:08:26 UTC (rev 552)
@@ -27,11 +27,11 @@
<delete file="${deploy.dir}/${sample.jar.name}" />
</target>
- <target name="sendvalid">
- <echo>Send valid test message to: ${ant.project.name}</echo>
+ <target name="book_airline">
+ <echo>Send airline booking message to: ${ant.project.name}</echo>
<java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
<arg value="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
- <arg value="messages/valid.xml"/>
+ <arg value="messages/book_airline.xml"/>
<classpath>
<fileset dir="../../common/lib">
<include name="**/*.jar"/>
@@ -41,11 +41,11 @@
</java>
</target>
- <target name="sendinvalid">
- <echo>Send invalid test message to: ${ant.project.name}</echo>
+ <target name="book_car">
+ <echo>Send car booking message to: ${ant.project.name}</echo>
<java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
<arg value="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
- <arg value="messages/invalid.xml"/>
+ <arg value="messages/book_car.xml"/>
<classpath>
<fileset dir="../../common/lib">
<include name="**/*.jar"/>
@@ -54,4 +54,32 @@
</classpath>
</java>
</target>
+
+ <target name="book_hotel">
+ <echo>Send airline booking message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
+ <arg value="messages/book_hotel.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="book_all">
+ <echo>Send airline booking message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
+ <arg value="messages/book_all.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
</project>
Added: trunk/samples/quickstart/BPEL-BluePrint5/messages/book_airline.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/messages/book_airline.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/messages/book_airline.xml 2010-03-09 23:08:26 UTC (rev 552)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2100</res:reservationID>
+ <res:description>book_airline</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/samples/quickstart/BPEL-BluePrint5/messages/book_all.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/messages/book_all.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/messages/book_all.xml 2010-03-09 23:08:26 UTC (rev 552)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2111</res:reservationID>
+ <res:description>book_airline book_car book_hotel</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/samples/quickstart/BPEL-BluePrint5/messages/book_car.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/messages/book_car.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/messages/book_car.xml 2010-03-09 23:08:26 UTC (rev 552)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2010</res:reservationID>
+ <res:description>book_car</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/samples/quickstart/BPEL-BluePrint5/messages/book_hotel.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/messages/book_hotel.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/messages/book_hotel.xml 2010-03-09 23:08:26 UTC (rev 552)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2001</res:reservationID>
+ <res:description>book_hotel</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
14 years, 3 months
riftsaw SVN: r551 - in trunk/samples/quickstart/BPEL-BluePrint5: .settings and 1 other directories.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-09 17:53:22 -0500 (Tue, 09 Mar 2010)
New Revision: 551
Added:
trunk/samples/quickstart/BPEL-BluePrint5/.project
trunk/samples/quickstart/BPEL-BluePrint5/.settings/
trunk/samples/quickstart/BPEL-BluePrint5/.settings/org.eclipse.wst.common.component
trunk/samples/quickstart/BPEL-BluePrint5/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/AirlineReservation.wsdl
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/CarReservation.wsdl
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/HotelReservation.wsdl
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/Reservation.wsdl
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/ReservationSystem.bpel
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/ReservationSystem.bpelex
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/airlineReservation.bpel
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/airlineReservation.bpelex
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/bpel-deploy.xml
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/carReservation.bpel
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/carReservation.bpelex
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/hotelReservation.bpel
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/hotelReservation.bpelex
trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/reservation.xsd
trunk/samples/quickstart/BPEL-BluePrint5/build.xml
Log:
Fix BPEL partnerlinks and remove incompatible WSDL properties
Added: trunk/samples/quickstart/BPEL-BluePrint5/.project
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/.project (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/.project 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>BPEL-BluePrint5</name>
+ <comment></comment>
+ <projects>
+ <project>BPEL-BluePrint5</project>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.bpel.validator.builder</name>
+ <arguments>
+ <dictionary>
+ <key>debug</key>
+ <value>false</value>
+ </dictionary>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ </natures>
+</projectDescription>
Added: trunk/samples/quickstart/BPEL-BluePrint5/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/.settings/org.eclipse.wst.common.component 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="BPEL-BluePrint5">
+ <wb-resource deploy-path="/" source-path="/bpelContent"/>
+ <dependent-module deploy-path="/" handle="module:/org.jboss.ide.eclipse.as.wtp.core.vcf.outputFolders/">
+ <dependency-type>consumes</dependency-type>
+ </dependent-module>
+ </wb-module>
+</project-modules>
Added: trunk/samples/quickstart/BPEL-BluePrint5/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/.settings/org.eclipse.wst.common.project.facet.core.xml 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <fixed facet="jbt.bpel.facet.core"/>
+ <installed facet="jbt.bpel.facet.core" version="2.0"/>
+</faceted-project>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/AirlineReservation.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/AirlineReservation.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/AirlineReservation.wsdl 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://localhost/BluePrint5/AirlineReservation"
+ name="AirlineReservation"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://localhost/BluePrint5/AirlineReservation"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:ns="http://ReservationSystem.org/xsd/reserve"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:res="http://localhost/BluePrint5/Reservation">
+
+ <types>
+ <xsd:schema targetNamespace="http://localhost/BluePrint5/AirlineReservation">
+ <xsd:import schemaLocation="reservation.xsd" namespace="http://ReservationSystem.org/xsd/reserve"/>
+ </xsd:schema>
+ </types>
+
+ <message name="AirlineReservation">
+ <part name="reserveAirlinePart" element="ns:reserve"></part>
+ </message>
+
+ <message name="AirlineStatus">
+ <part name="status" element="ns:reserveStatus"></part>
+ </message>
+
+ <portType name="AirlineReservationPortType">
+ <operation name="reserveAirline">
+ <input name="reserveMesg" message="tns:AirlineReservation"></input>
+ </operation>
+ </portType>
+
+ <portType name="AirlineStatusPortType">
+ <operation name="sendAirlineStatus">
+ <input name="statusMesg" message="tns:AirlineStatus"></input>
+ </operation>
+ </portType>
+
+ <binding name="AirlineReservationBinding" type="tns:AirlineReservationPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="reserveAirline">
+ <soap:operation style="document"/>
+ <input name="reserveMesg">
+ <soap:body parts="reserveAirlinePart" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="AirlineStatusBinding"
+ type="tns:AirlineStatusPortType">
+ <soap:binding style="document"
+ transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="sendAirlineStatus">
+ <soap:operation style="document"/>
+ <input name="statusMesg">
+ <soap:body parts="status" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <service name="AirlineService">
+ <port name="AirlineServicePort"
+ binding="tns:AirlineReservationBinding">
+ <soap:address location="http://localhost:8080/AirlineServiceLocation"/>
+ </port>
+ </service>
+
+ <service name="AirlineStatusService">
+ <port name="AirlineStatusServicePort"
+ binding="tns:AirlineStatusBinding">
+ <soap:address location="http://localhost:8080/AirlineStatusServiceLocation"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="AirlineReservationPLinkType">
+ <plink:role portType="tns:AirlineReservationPortType"
+ name="reservingRole"></plink:role>
+ </plink:partnerLinkType>
+
+ <plink:partnerLinkType name="AirlineStatusPLinkType">
+ <plink:role portType="tns:AirlineStatusPortType"
+ name="statusReceivingRole"></plink:role>
+ </plink:partnerLinkType>
+
+ <bpws:propertyAlias part="status"
+ propertyName="res:reservationID"
+ messageType="tns:AirlineStatus">
+ <bpws:query>ns:reservationID</bpws:query>
+ </bpws:propertyAlias>
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/CarReservation.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/CarReservation.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/CarReservation.wsdl 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://localhost/BluePrint5/CarReservation"
+ name="CarReservation"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://localhost/BluePrint5/CarReservation"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:ns="http://ReservationSystem.org/xsd/reserve"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:res="http://localhost/BluePrint5/Reservation">
+
+ <types>
+ <xsd:schema targetNamespace="http://localhost/BluePrint5/CarReservation">
+ <xsd:import schemaLocation="reservation.xsd" namespace="http://ReservationSystem.org/xsd/reserve"/>
+ </xsd:schema>
+ </types>
+
+ <message name="CarReservation">
+ <part name="reserveCarPart" element="ns:reserve"></part>
+ </message>
+
+ <message name="CarStatus">
+ <part name="status" element="ns:reserveStatus"></part>
+ </message>
+
+ <portType name="CarReservationPortType">
+ <operation name="reserveCar">
+ <input name="reserveMesg" message="tns:CarReservation"></input>
+ </operation>
+ </portType>
+
+ <portType name="CarStatusPortType">
+ <operation name="sendCarStatus">
+ <input name="statusMesg" message="tns:CarStatus"></input>
+ </operation>
+ </portType>
+
+ <binding name="CarReservationBinding" type="tns:CarReservationPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="reserveCar">
+ <soap:operation style="document"/>
+ <input name="reserveMesg">
+ <soap:body parts="reserveCarPart" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="CarStatusBinding" type="tns:CarStatusPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="sendCarStatus">
+ <soap:operation style="document"/>
+ <input name="statusMesg">
+ <soap:body parts="status" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <service name="CarService">
+ <port name="CarServicePort" binding="tns:CarReservationBinding">
+ <soap:address location="http://localhost:8080/CarServiceLocation"/>
+ </port>
+ </service>
+
+ <service name="CarStatusService">
+ <port name="CarStatusServicePort" binding="tns:CarStatusBinding">
+ <soap:address location="http://localhost:8080/CarStatusServiceLocation"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="CarReservationPLinkType">
+ <plink:role portType="tns:CarReservationPortType" name="reservingRole"></plink:role>
+ </plink:partnerLinkType>
+
+ <plink:partnerLinkType name="CarStatusPLinkType">
+ <plink:role portType="tns:CarStatusPortType" name="statusReceivingRole"></plink:role>
+ </plink:partnerLinkType>
+
+ <bpws:propertyAlias part="status"
+ propertyName="res:reservationID"
+ messageType="tns:CarStatus">
+ <bpws:query>ns:reservationID</bpws:query>
+ </bpws:propertyAlias>
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/HotelReservation.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/HotelReservation.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/HotelReservation.wsdl 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://localhost/BluePrint5/HotelReservation"
+ name="HotelReservation"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://localhost/BluePrint5/HotelReservation"
+ xmlns:ns0="http://localhost/BluePrint5/Reservation"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:ns="http://ReservationSystem.org/xsd/reserve"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:res="http://localhost/BluePrint5/Reservation">
+
+ <types>
+ <xsd:schema targetNamespace="http://localhost/BluePrint5/HotelReservation">
+ <xsd:import schemaLocation="reservation.xsd" namespace="http://ReservationSystem.org/xsd/reserve"/>
+ </xsd:schema>
+ </types>
+
+ <message name="HotelReservation">
+ <part name="reserveHotelPart" element="ns:reserve"></part>
+ </message>
+
+ <message name="HotelStatus">
+ <part name="status" element="ns:reserveStatus"></part>
+ </message>
+
+ <portType name="HotelReservationPortType">
+ <operation name="reserveHotel">
+ <input name="reserveMesg" message="tns:HotelReservation"></input>
+ </operation>
+ </portType>
+
+ <portType name="HotelStatusPortType">
+ <operation name="sendHotelStatus">
+ <input name="statusMesg" message="tns:HotelStatus"></input>
+ </operation>
+ </portType>
+
+ <binding name="HotelReservationBinding"
+ type="tns:HotelReservationPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="reserveHotel">
+ <soap:operation style="document"/>
+ <input name="reserveMesg">
+ <soap:body parts="reserveHotelPart" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="HotelStatusBinding" type="tns:HotelStatusPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="sendHotelStatus">
+ <soap:operation style="document"/>
+ <input name="statusMesg">
+ <soap:body parts="status" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <service name="HotelService">
+ <port name="HotelServicePort" binding="tns:HotelReservationBinding">
+ <soap:address location="http://localhost:8080/HotelServiceLocation"/>
+ </port>
+ </service>
+
+ <service name="HotelStatusService">
+ <port name="HotelStatusServicePort" binding="tns:HotelStatusBinding">
+ <soap:address location="http://localhost:8080/HotelStatusServiceLocation"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="HotelReservationPLinkType">
+ <plink:role name="reservingRole"
+ portType="tns:HotelReservationPortType"></plink:role>
+ </plink:partnerLinkType>
+
+ <plink:partnerLinkType name="HotelStatusPLinkType">
+ <plink:role name="statusReceivingRole"
+ portType="tns:HotelStatusPortType"></plink:role>
+ </plink:partnerLinkType>
+
+ <bpws:propertyAlias part="status"
+ propertyName="res:reservationID"
+ messageType="tns:HotelStatus">
+ <bpws:query>ns:reservationID</bpws:query>
+ </bpws:propertyAlias>
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/Reservation.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/Reservation.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/Reservation.wsdl 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://localhost/BluePrint5/Reservation"
+ name="Reservation"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://localhost/BluePrint5/Reservation"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://ReservationSystem.org/xsd/reserve">
+ <types>
+ <xsd:schema targetNamespace="http://localhost/BluePrint5/Reservation">
+ <xsd:import schemaLocation="reservation.xsd" namespace="http://ReservationSystem.org/xsd/reserve"/>
+ <xsd:element name="faultString" type="xsd:string"/>
+ </xsd:schema>
+ </types>
+
+ <message name="reserveMesg">
+ <part name="reservePart" element="ns:reserve"></part>
+ </message>
+
+ <message name="reservationStatus">
+ <part name="reservationStatusPart" element="ns:reservationStatusOfAll"></part>
+ </message>
+
+ <message name="reservationFailed">
+ <part name="faultInfo" element="tns:faultString"></part>
+ </message>
+
+ <portType name="reservationPortType">
+ <operation name="reserve">
+ <input name="reserveMesg" message="tns:reserveMesg"></input>
+ <output name="reservationStatus" message="tns:reservationStatus"></output>
+ <fault name="reservationFailed" message="tns:reservationFailed"></fault>
+ </operation>
+ </portType>
+
+ <binding name="reservationBinding" type="tns:reservationPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="reserve">
+ <input name="reserveMesg">
+ <soap:body parts="reservePart" use="literal"/>
+ </input>
+ <output name="reservationStatus">
+ <soap:body parts="reservationStatusPart" use="literal"/>
+ </output>
+ <fault name="reservationFailed">
+ <soap:fault name="reservationFailed" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+
+ <service name="reservationService">
+ <port name="reservationServicePort"
+ binding="tns:reservationBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="reservationPLinkType">
+ <plink:role name="reservationServicing" portType="tns:reservationPortType"></plink:role>
+ </plink:partnerLinkType>
+
+ <bpws:property name="reservationID" type="xsd:long"></bpws:property>
+
+ <bpws:propertyAlias part="reservePart"
+ propertyName="tns:reservationID"
+ messageType="tns:reserveMesg">
+ <bpws:query>ns:reservationID</bpws:query>
+ </bpws:propertyAlias>
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/ReservationSystem.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/ReservationSystem.bpel (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/ReservationSystem.bpel 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,331 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="ReservationSystem"
+ targetNamespace="http://www.seebeyond.com/eInsight/ReservationSystem"
+ xmlns:tns="http://www.seebeyond.com/eInsight/ReservationSystem"
+ xmlns:ns0="http://localhost/BluePrint5/Reservation"
+ xmlns:ns1="http://localhost/BluePrint5/AirlineReservation"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:ns3="http://localhost/BluePrint5/HotelReservation"
+ xmlns:ns2="http://localhost/BluePrint5/CarReservation"
+ xmlns:rsrv="http://ReservationSystem.org/xsd/reserve">
+
+ <import namespace="http://localhost/BluePrint5/Reservation"
+ location="Reservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/AirlineReservation"
+ location="AirlineReservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/CarReservation"
+ location="CarReservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/HotelReservation"
+ location="HotelReservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://ReservationSystem.org/xsd/reserve"
+ location="reservation.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="reservationPLink" partnerLinkType="ns0:reservationPLinkType" myRole="reservationServicing"/>
+ <partnerLink name="airlineReservationPLink" partnerLinkType="ns1:AirlineReservationPLinkType" partnerRole="reservingRole"/>
+ <partnerLink name="airlineStatusPLink" partnerLinkType="ns1:AirlineStatusPLinkType" myRole="statusReceivingRole"/>
+ <partnerLink name="carReservationPLink" partnerLinkType="ns2:CarReservationPLinkType" partnerRole="reservingRole"/>
+ <partnerLink name="carStatusPLink" partnerLinkType="ns2:CarStatusPLinkType" myRole="statusReceivingRole"/>
+ <partnerLink name="hotelReservationPLink" partnerLinkType="ns3:HotelReservationPLinkType" partnerRole="reservingRole"/>
+ <partnerLink name="hotelStatusPLink" partnerLinkType="ns3:HotelStatusPLinkType" myRole="statusReceivingRole"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="reserve" messageType="ns0:reserveMesg"></variable>
+ <variable name="reservationStatus" messageType="ns0:reservationStatus"></variable>
+ <variable name="reserveAirlineVar" messageType="ns1:AirlineReservation"></variable>
+ <variable name="airlineStatusVar" messageType="ns1:AirlineStatus"></variable>
+ <variable name="reserveCarVar" messageType="ns2:CarReservation"></variable>
+ <variable name="carStatusVar" messageType="ns2:CarStatus"></variable>
+ <variable name="reserveHotelVar" messageType="ns3:HotelReservation"></variable>
+ <variable name="hotelStatusVar" messageType="ns3:HotelStatus"></variable>
+ <variable name="tempCarStatusVar" messageType="ns2:CarStatus"></variable>
+ <variable name="tempAirlineStatusVar" messageType="ns1:AirlineStatus"></variable>
+ <variable name="tempHotelStatusVar" messageType="ns3:HotelStatus"></variable>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="reservationCorrelationSet" properties="ns0:reservationID "/>
+ </correlationSets>
+
+ <sequence>
+ <receive name="reserve"
+ partnerLink="reservationPLink"
+ portType="ns0:reservationPortType"
+ operation="reserve"
+ variable="reserve"
+ createInstance="yes">
+ <correlations>
+ <correlation set="reservationCorrelationSet" initiate="yes"/>
+ </correlations>
+ </receive>
+
+ <assign name="Assign_1">
+ <copy>
+ <from><literal><tns:reserve xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:description></tns:description>
+</tns:reserve>
+</literal></from>
+ <to variable="reserveHotelVar" part="reserveHotelPart"></to>
+ </copy>
+ <copy>
+ <from><literal><tns:reserve xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:description></tns:description>
+</tns:reserve>
+</literal></from>
+ <to variable="reserveCarVar" part="reserveCarPart"></to>
+ </copy>
+ <copy>
+ <from><literal><tns:reserve xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:description></tns:description>
+</tns:reserve>
+</literal></from>
+ <to variable="reserveAirlineVar" part="reserveAirlinePart"></to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:reservationID</from>
+ <to>$reserveAirlineVar.reserveAirlinePart/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:description</from>
+ <to>$reserveAirlineVar.reserveAirlinePart/rsrv:description</to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:reservationID</from>
+ <to>$reserveCarVar.reserveCarPart/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:description</from>
+ <to>$reserveCarVar.reserveCarPart/rsrv:description</to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:reservationID</from>
+ <to>$reserveHotelVar.reserveHotelPart/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:description</from>
+ <to>$reserveHotelVar.reserveHotelPart/rsrv:description</to>
+ </copy>
+
+ </assign>
+
+
+ <flow name="Flow2"><invoke name="reserveAirline" partnerLink="airlineReservationPLink" portType="ns1:AirlineReservationPortType" operation="reserveAirline" inputVariable="reserveAirlineVar"></invoke>
+ <invoke name="reserveCar" partnerLink="carReservationPLink" portType="ns2:CarReservationPortType" operation="reserveCar" inputVariable="reserveCarVar"></invoke>
+ <invoke name="reserveHotel" partnerLink="hotelReservationPLink" portType="ns3:HotelReservationPortType" operation="reserveHotel" inputVariable="reserveHotelVar"></invoke>
+
+ </flow>
+ <flow name="Flow">
+ <pick name="receiveHotelStatus">
+ <onMessage partnerLink="hotelStatusPLink"
+ portType="ns3:HotelStatusPortType"
+ operation="sendHotelStatus"
+ variable="hotelStatusVar">
+ <correlations>
+ <correlation set="reservationCorrelationSet" initiate="no"/>
+ </correlations>
+ <sequence>
+ <empty name="Empty3"></empty>
+ <assign name="Assign_7">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempHotelStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>$hotelStatusVar.status/rsrv:reservationStatus</from>
+ <to>$tempHotelStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </onMessage>
+ <onAlarm>
+ <for>'P0Y0DT2M'</for>
+ <assign name="Assign_2">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempHotelStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>false()</from>
+ <to>$tempHotelStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </onAlarm>
+ </pick>
+ <pick name="receiveCarStatus">
+ <onMessage partnerLink="carStatusPLink"
+ portType="ns2:CarStatusPortType"
+ operation="sendCarStatus"
+ variable="carStatusVar">
+ <correlations>
+ <correlation set="reservationCorrelationSet" initiate="no"/>
+ </correlations>
+ <sequence>
+ <empty name="Empty_2"></empty>
+ <assign name="Assign1">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempCarStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>$carStatusVar.status/rsrv:reservationStatus</from>
+ <to>$tempCarStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </onMessage>
+ <onAlarm>
+ <for>'P0Y0DT2M'</for>
+ <assign name="Assign_3">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempCarStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>false()</from>
+ <to>$tempCarStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </onAlarm>
+ </pick>
+ <pick name="receiveAirlineStatus">
+ <onMessage partnerLink="airlineStatusPLink"
+ portType="ns1:AirlineStatusPortType"
+ operation="sendAirlineStatus"
+ variable="airlineStatusVar">
+ <correlations>
+ <correlation set="reservationCorrelationSet" initiate="no"/>
+ </correlations>
+ <sequence>
+ <empty name="Empty"></empty>
+ <assign name="Assign">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempAirlineStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>$airlineStatusVar.status/rsrv:reservationStatus</from>
+ <to>$tempAirlineStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </onMessage>
+ <onAlarm>
+ <for>'P0Y0DT2M'</for>
+ <assign name="Assign_4">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempAirlineStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>false()</from>
+ <to>$tempAirlineStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </onAlarm>
+ </pick>
+ </flow>
+
+ <assign name="Assign2">
+ <copy>
+ <from><literal><tns:reservationStatusOfAll xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:airlineStatus></tns:airlineStatus>
+ <tns:hotelStatus></tns:hotelStatus>
+ <tns:carStatus></tns:carStatus>
+</tns:reservationStatusOfAll>
+</literal></from>
+ <to variable="reservationStatus" part="reservationStatusPart"></to>
+ </copy>
+ <copy>
+ <from>$tempAirlineStatusVar.status/rsrv:reservationStatus</from>
+ <to>$reservationStatus.reservationStatusPart/rsrv:airlineStatus</to>
+ </copy>
+ <copy>
+ <from>$tempCarStatusVar.status/rsrv:reservationStatus</from>
+ <to>$reservationStatus.reservationStatusPart/rsrv:carStatus</to>
+ </copy>
+ <copy>
+ <from>$tempHotelStatusVar.status/rsrv:reservationStatus</from>
+ <to>$reservationStatus.reservationStatusPart/rsrv:hotelStatus</to>
+ </copy>
+
+ </assign>
+
+ <reply name="reserve.Reply"
+ partnerLink="reservationPLink"
+ portType="ns0:reservationPortType"
+ operation="reserve"
+ variable="reservationStatus"></reply>
+ </sequence>
+</process>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/ReservationSystem.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/ReservationSystem.bpelex (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/ReservationSystem.bpelex 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,275 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268172551000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.2/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="8" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.2/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="189" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.2/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="350" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="8" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="378" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="747" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.6"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.7"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.8"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.9"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.10"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.6"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.7"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.8"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@alarm.0/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@alarm.0/@activity/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@alarm.0/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@alarm.0/@activity/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@alarm.0/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@alarm.0/@activity/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/airlineReservation.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/airlineReservation.bpel (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/airlineReservation.bpel 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="airlineReservation"
+ targetNamespace="http://www.seebeyond.com/eInsight/airlineReservation"
+ xmlns:tns="http://www.seebeyond.com/eInsight/airlineReservation"
+ xmlns:ns0="http://localhost/BluePrint5/AirlineReservation"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:rsrv="http://ReservationSystem.org/xsd/reserve">
+
+ <import namespace="http://localhost/BluePrint5/AirlineReservation" location="AirlineReservation.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/Reservation"
+ location="Reservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+ <import namespace="http://ReservationSystem.org/xsd/reserve"
+ location="reservation.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="airlineReservationPLink" partnerLinkType="ns0:AirlineReservationPLinkType" myRole="reservingRole"/>
+ <partnerLink name="airlineStatusPLink" partnerLinkType="ns0:AirlineStatusPLinkType" partnerRole="statusReceivingRole"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="reservationMesg" messageType="ns0:AirlineReservation"></variable>
+ <variable name="sendAirlineStatus" messageType="ns0:AirlineStatus"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="reserveAirline"
+ partnerLink="airlineReservationPLink"
+ portType="ns0:AirlineReservationPortType"
+ operation="reserveAirline"
+ variable="reservationMesg"
+ createInstance="yes">
+ </receive>
+ <assign name="Assign">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="sendAirlineStatus" part="status"></to>
+ </copy>
+ <copy>
+ <from>$reservationMesg.reserveAirlinePart/rsrv:reservationID</from>
+ <to>$sendAirlineStatus.status/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>contains($reservationMesg.reserveAirlinePart/rsrv:description, 'book_airline') = true()</from>
+ <to>$sendAirlineStatus.status/rsrv:reservationStatus</to>
+ </copy>
+
+
+ </assign>
+ <invoke name="sendAirlineStatus"
+ partnerLink="airlineStatusPLink"
+ portType="ns0:AirlineStatusPortType"
+ operation="sendAirlineStatus"
+ inputVariable="sendAirlineStatus"></invoke>
+ </sequence>
+</process>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/airlineReservation.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/airlineReservation.bpelex (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/airlineReservation.bpelex 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268087941000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/bpel-deploy.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/bpel-deploy.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/bpel-deploy.xml 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:AirlineReservation="http://localhost/BluePrint5/AirlineReservation" xmlns:CarReservation="http://localhost/BluePrint5/CarReservation" xmlns:HotelReservation="http://localhost/BluePrint5/HotelReservation" xmlns:Reservation="http://localhost/BluePrint5/Reservation" xmlns:ReservationSystem="http://www.seebeyond.com/eInsight/ReservationSystem" xmlns:airlineReservation="http://www.seebeyond.com/eInsight/airlineReservation" xmlns:carReservation="http://www.seebeyond.com/eInsight/carReservation" xmlns:hotelReservation="http://www.seebeyond.com/eInsight/hotelReservation">
+ <process name="ReservationSystem:ReservationSystem">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="reservationPLink">
+ <service name="Reservation:reservationService" port="reservationServicePort"/>
+ </provide>
+ <provide partnerLink="airlineStatusPLink">
+ <service name="AirlineReservation:AirlineStatusService" port="AirlineStatusServicePort"/>
+ </provide>
+ <provide partnerLink="carStatusPLink">
+ <service name="CarReservation:CarStatusService" port="CarStatusServicePort"/>
+ </provide>
+ <provide partnerLink="hotelStatusPLink">
+ <service name="HotelReservation:HotelStatusService" port="HotelStatusServicePort"/>
+ </provide>
+ <invoke partnerLink="airlineReservationPLink">
+ <service name="AirlineReservation:AirlineService" port="AirlineServicePort"/>
+ </invoke>
+ <invoke partnerLink="carReservationPLink">
+ <service name="CarReservation:CarService" port="CarServicePort"/>
+ </invoke>
+ <invoke partnerLink="hotelReservationPLink">
+ <service name="HotelReservation:HotelService" port="HotelServicePort"/>
+ </invoke>
+ </process>
+ <process name="airlineReservation:airlineReservation">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="airlineReservationPLink">
+ <service name="AirlineReservation:AirlineService" port="AirlineServicePort"/>
+ </provide>
+ <invoke partnerLink="airlineStatusPLink">
+ <service name="AirlineReservation:AirlineStatusService" port="AirlineStatusServicePort"/>
+ </invoke>
+ </process>
+ <process name="carReservation:carReservation">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="reservationPLink">
+ <service name="CarReservation:CarService" port="CarServicePort"/>
+ </provide>
+ <invoke partnerLink="reservationStatusPLink">
+ <service name="CarReservation:CarStatusService" port="CarStatusServicePort"/>
+ </invoke>
+ </process>
+ <process name="hotelReservation:hotelReservation">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="hotelReservationPLink">
+ <service name="HotelReservation:HotelService" port="HotelServicePort"/>
+ </provide>
+ <invoke partnerLink="hotelStatus">
+ <service name="HotelReservation:HotelStatusService" port="HotelStatusServicePort"/>
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/carReservation.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/carReservation.bpel (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/carReservation.bpel 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="carReservation"
+ targetNamespace="http://www.seebeyond.com/eInsight/carReservation"
+ xmlns:tns="http://www.seebeyond.com/eInsight/carReservation"
+ xmlns:ns0="http://localhost/BluePrint5/CarReservation"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:rsrv="http://ReservationSystem.org/xsd/reserve">
+
+ <import namespace="http://localhost/BluePrint5/CarReservation"
+ location="CarReservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/Reservation"
+ location="Reservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+ <import namespace="http://ReservationSystem.org/xsd/reserve"
+ location="reservation.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="reservationPLink" partnerLinkType="ns0:CarReservationPLinkType" myRole="reservingRole"/>
+ <partnerLink name="reservationStatusPLink" partnerLinkType="ns0:CarStatusPLinkType" partnerRole="statusReceivingRole"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="reserveCar" messageType="ns0:CarReservation"></variable>
+ <variable name="sendCarStatus" messageType="ns0:CarStatus"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="reserveCar"
+ partnerLink="reservationPLink"
+ portType="ns0:CarReservationPortType"
+ operation="reserveCar"
+ variable="reserveCar"
+ createInstance="yes">
+ </receive>
+ <assign name="Assign">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="sendCarStatus" part="status"></to>
+ </copy>
+ <copy>
+ <from>$reserveCar.reserveCarPart/rsrv:reservationID</from>
+ <to>$sendCarStatus.status/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>contains($reserveCar.reserveCarPart/rsrv:description, 'book_car') = true()</from>
+ <to>$sendCarStatus.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ <invoke name="sendCarStatus"
+ partnerLink="reservationStatusPLink"
+ portType="ns0:CarStatusPortType"
+ operation="sendCarStatus"
+ inputVariable="sendCarStatus"></invoke>
+ </sequence>
+</process>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/carReservation.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/carReservation.bpelex (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/carReservation.bpelex 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="carReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268087938000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/@activities.1/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/hotelReservation.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/hotelReservation.bpel (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/hotelReservation.bpel 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="hotelReservation"
+ targetNamespace="http://www.seebeyond.com/eInsight/hotelReservation"
+ xmlns:tns="http://www.seebeyond.com/eInsight/hotelReservation"
+ xmlns:ns0="http://localhost/BluePrint5/HotelReservation"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:rsrv="http://ReservationSystem.org/xsd/reserve">
+
+ <import namespace="http://localhost/BluePrint5/HotelReservation"
+ location="HotelReservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/Reservation"
+ location="Reservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+ <import namespace="http://ReservationSystem.org/xsd/reserve"
+ location="reservation.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="hotelReservationPLink" partnerLinkType="ns0:HotelReservationPLinkType" myRole="reservingRole"/>
+ <partnerLink name="hotelStatus" partnerLinkType="ns0:HotelStatusPLinkType" partnerRole="statusReceivingRole"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="reserveHotel" messageType="ns0:HotelReservation"></variable>
+ <variable name="sendHotelStatus" messageType="ns0:HotelStatus"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="reserveHotel"
+ partnerLink="hotelReservationPLink"
+ portType="ns0:HotelReservationPortType"
+ operation="reserveHotel"
+ variable="reserveHotel"
+ createInstance="yes">
+ </receive>
+ <assign name="Assign">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="sendHotelStatus" part="status"></to>
+ </copy>
+ <copy>
+ <from>$reserveHotel.reserveHotelPart/rsrv:reservationID</from>
+ <to>$sendHotelStatus.status/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>contains($reserveHotel.reserveHotelPart/rsrv:description, 'book_hotel') = true()</from>
+ <to>$sendHotelStatus.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ <invoke name="sendHotelStatus"
+ partnerLink="hotelStatus"
+ portType="ns0:HotelStatusPortType"
+ operation="sendHotelStatus"
+ inputVariable="sendHotelStatus"></invoke>
+ </sequence>
+</process>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/hotelReservation.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/hotelReservation.bpelex (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/hotelReservation.bpelex 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268087970000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/@activities.1/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/reservation.xsd
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/reservation.xsd (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/bpelContent/reservation.xsd 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://ReservationSystem.org/xsd/reserve"
+ xmlns:tns ="http://ReservationSystem.org/xsd/reserve"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
+
+ <xs:element name="reserve" type="tns:reserveType"/>
+
+ <xs:complexType name="reserveType">
+ <xs:sequence>
+ <xs:element name="reservationID" type="xs:long"/>
+ <xs:element name="description" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="reserveStatus" type="tns:reserveStatusType"/>
+
+ <xs:complexType name="reserveStatusType">
+ <xs:sequence>
+ <xs:element name="reservationID" type="xs:long"/>
+ <xs:element name="reservationStatus" type="xs:boolean"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="reservationStatusOfAll" type="tns:reservationStatusOfAllType"/>
+
+ <xs:complexType name="reservationStatusOfAllType">
+ <xs:sequence>
+ <xs:element name="airlineStatus" type="xs:boolean"/>
+ <xs:element name="hotelStatus" type="xs:boolean"/>
+ <xs:element name="carStatus" type="xs:boolean"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Added: trunk/samples/quickstart/BPEL-BluePrint5/build.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/build.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/build.xml 2010-03-09 22:53:22 UTC (rev 551)
@@ -0,0 +1,57 @@
+<project name="BPEL_BluePrint5" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <!-- Import the base Ant build script... -->
+ <property file="../../../install/deployment.properties" />
+
+ <property name="version" value="1" />
+
+ <property name="server.dir" value="${org.jboss.as.home}/server/${org.jboss.as.config}"/>
+ <property name="conf.dir" value="${server.dir}/conf"/>
+ <property name="deploy.dir" value="${server.dir}/deploy"/>
+ <property name="server.lib.dir" value="${server.dir}/lib"/>
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <jar basedir="bpelContent" destfile="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+ <target name="sendvalid">
+ <echo>Send valid test message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
+ <arg value="messages/valid.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="sendinvalid">
+ <echo>Send invalid test message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
+ <arg value="messages/invalid.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+</project>
14 years, 3 months