riftsaw SVN: r564 - trunk/samples/tutorial.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-11 15:02:39 -0500 (Thu, 11 Mar 2010)
New Revision: 564
Added:
trunk/samples/tutorial/BPEL-BluePrint2/
Log:
Initial import.
14 years, 6 months
riftsaw SVN: r563 - in trunk/samples/tutorial/BPEL-BluePrint1: bpelContent and 1 other directories.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-11 14:59:31 -0500 (Thu, 11 Mar 2010)
New Revision: 563
Added:
trunk/samples/tutorial/BPEL-BluePrint1/.project
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpel
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpelex
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.wsdl
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpel
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpelex
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.wsdl
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/bpel-deploy.xml
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/inventory.xsd
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/purchaseOrder.xsd
trunk/samples/tutorial/BPEL-BluePrint1/build.xml
trunk/samples/tutorial/BPEL-BluePrint1/messages/
trunk/samples/tutorial/BPEL-BluePrint1/messages/invalid.xml
trunk/samples/tutorial/BPEL-BluePrint1/messages/valid.xml
Log:
Moved to tutorial folder
Added: trunk/samples/tutorial/BPEL-BluePrint1/.project
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/.project (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/.project 2010-03-11 19:59:31 UTC (rev 563)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>BPEL-BluePrint1</name>
+ <comment></comment>
+ <projects>
+ <project>BPEL-BluePrint1</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/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpel
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpel (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpel 2010-03-11 19:59:31 UTC (rev 563)
@@ -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.
+-->
+<process name="InventoryService"
+ targetNamespace="http://manufacturing.org/wsdl/inventory/bp1"
+ xmlns:tns="http://www.seebeyond.com/eInsight/newuntitled"
+ 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/bp1"
+ xmlns:invsh="http://manufacturing.org/xsd/inventory"
+ xmlns:po="http://manufacturing.org/xsd/purchase">
+
+ <import namespace="http://manufacturing.org/wsdl/inventory/bp1"
+ location="InventoryService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/xsd/inventory"
+ location="inventory.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <import namespace="http://manufacturing.org/xsd/purchase"
+ location="purchaseOrder.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="inventorySevicePLink" partnerLinkType="invs:inventoryRequestingLT" myRole="inventoryService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="purchaseOrder" messageType="invs:POMessage"></variable>
+ <variable name="inventoryStatus" messageType="invs:InventoryMessage"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="inventoryService"
+ partnerLink="inventorySevicePLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ variable="purchaseOrder"
+ createInstance="yes">
+ </receive>
+
+ <bpws:assign validate="no" name="InitializeResponseMessage">
+ <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:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryStatus" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+
+ </bpws:assign>
+ <if name="checkAvailability">
+ <condition>starts-with($purchaseOrder.purchaseOrder/po:orderDescription, 'OrderVal') = true()</condition>
+
+ <assign name="Case1">
+ <copy>
+ <from>true()</from>
+ <to>$inventoryStatus.inventoryPart/invsh:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>'available'</from>
+ <to>$inventoryStatus.inventoryPart/invsh:inventoryStatusMessage</to>
+ </copy>
+ </assign>
+
+ <else>
+ <assign name="Case2">
+ <copy>
+ <from>false()</from>
+ <to>$inventoryStatus.inventoryPart/invsh:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>'currently out of stock'</from>
+ <to>$inventoryStatus.inventoryPart/invsh:inventoryStatusMessage</to>
+ </copy>
+ </assign>
+ </else>
+ </if>
+
+ <reply name="inventoryService.Reply"
+ partnerLink="inventorySevicePLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ variable="inventoryStatus"/>
+ </sequence>
+</process>
Added: trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpelex (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpelex 2010-03-11 19:59:31 UTC (rev 563)
@@ -0,0 +1,63 @@
+<?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#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1267810115000"/>
+ </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.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.2/@else/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.2/@else/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.2/@else/@activity/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.2/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.2/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.2/@activity/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/(a)activities.3"/>
+ <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#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.wsdl
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.wsdl (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.wsdl 2010-03-11 19:59:31 UTC (rev 563)
@@ -0,0 +1,94 @@
+<?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/bp1" name="InventoryService"
+ xmlns:tns="http://manufacturing.org/wsdl/inventory/bp1"
+ 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">
+
+ <types>
+ <xsd:schema targetNamespace="http://manufacturing.org/wsdl/inventory/bp1">
+ <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="InventoryFaultMessage">
+ <part name="inventoryFault" type="xsd:string"></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>
+ <output name="inventoryStatus" message="tns:InventoryMessage"></output>
+ <fault name="fault" message="tns:InventoryFaultMessage"></fault>
+ </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>
+ <output name="inventoryStatus">
+ <soap:body parts="inventoryPart" use="literal"/>
+ </output>
+ <fault name="inventoryFault">
+ <soap:fault name="inventoryFault" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+
+ <service name="inventoryService">
+ <port name="inventoryServicePort"
+ binding="tns:inventoryBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint1_InventoryService"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="inventoryRequestingLT">
+ <plink:role name="inventoryService" portType="tns:inventoryPortType"></plink:role>
+ </plink:partnerLinkType>
+</definitions>
Added: trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpel
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpel (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpel 2010-03-11 19:59:31 UTC (rev 563)
@@ -0,0 +1,199 @@
+<?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"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:pos="http://manufacturing.org/wsdl/purchase/bp1"
+ 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/bp1"
+ targetNamespace="http://manufacturing.org/wsdl/purchase/bp1"
+ xmlns:inv="http://manufacturing.org/xsd/inventory"
+ xmlns:po="http://manufacturing.org/xsd/purchase">
+
+ <import namespace="http://manufacturing.org/wsdl/purchase/bp1"
+ location="POService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/wsdl/inventory/bp1"
+ location="InventoryService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/xsd/inventory"
+ location="inventory.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <import namespace="http://manufacturing.org/xsd/purchase"
+ location="purchaseOrder.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="POServicePLink"
+ partnerLinkType="pos:purchasingLT"
+ myRole="purchaseService"/>
+ <partnerLink name="requestInventoryPLink"
+ partnerLinkType="invs:inventoryRequestingLT"
+ 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>
+
+ <sequence>
+ <receive name="sendPurchaseOrder"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderRequest"
+ createInstance="yes">
+ </receive>
+
+ <assign name="InitializeInventoryServiceRequest">
+
+
+
+
+
+
+
+
+
+
+
+ <bpws:copy><bpws:from>
+ <bpws:literal xml:space="preserve"><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></bpws:literal>
+ </bpws:from>
+ <bpws:to part="purchaseOrder" variable="inventoryServiceRequest"></bpws:to>
+
+
+
+
+ </bpws:copy>
+ <copy><from>
+ <![CDATA[49.97]]>
+ </from>
+ <to>
+
+
+ <![CDATA[$purchaseOrderRequest.purchaseOrder/po:price]]>
+ </to>
+
+ </copy>
+ <copy><from>$purchaseOrderRequest.purchaseOrder/po:orderId</from>
+ <to>$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="requestInventoryPLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ inputVariable="inventoryServiceRequest"
+ outputVariable="inventoryServiceReply">
+ </invoke>
+ <if name="InStock">
+ <bpws:condition><![CDATA[$inventoryServiceReply.inventoryPart/inv:inventoryStatus = 'true']]></bpws:condition>
+ <sequence name="ProcessInStock">
+ <reply name="sendPurchaseOrder.Success"
+ partnerLink="POServicePLink"
+ operation="sendPurchaseOrder"
+ portType="pos:purchaseOrderPT"
+ variable="purchaseOrderRequest"/>
+ </sequence>
+ <else>
+ <sequence name="ProcessOutOfStock">
+
+ <assign name="InitializeFaultReply">
+
+
+
+
+
+
+ <bpws:copy>
+ <bpws:from><bpws: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>
+</bpws:literal></bpws:from>
+ <bpws:to variable="purchaseOrderFault" part="cannotCompleteOrder"></bpws:to>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from part="inventoryPart" variable="inventoryServiceReply">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[inv:inventoryStatusMessage]]>
+ </bpws:query>
+ </bpws:from>
+ <bpws:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultMessage]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from>
+ <bpws:literal xml:space="preserve">404</bpws:literal>
+ </bpws:from>
+ <bpws:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultCode]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ </assign>
+ <reply name="sendPurchaseOrder.Fault"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderFault"
+ faultName="pos:cannotCompleteOrder"/>
+ </sequence>
+ </else>
+ </if>
+ </sequence>
+</process>
Added: trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpelex (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpelex 2010-03-11 19:59:31 UTC (rev 563)
@@ -0,0 +1,99 @@
+<?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#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1267716683000"/>
+ </extensions>
+ <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#//@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"/>
+ <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#//@activity/@activities.1/(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>
+ <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/@else/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@else/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@else/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@activity/(a)activities.0"/>
+ <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/@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/@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/@else/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.wsdl
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.wsdl (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.wsdl 2010-03-11 19:59:31 UTC (rev 563)
@@ -0,0 +1,99 @@
+<?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/bp1"
+ name="POService"
+ xmlns:tns="http://manufacturing.org/wsdl/purchase/bp1"
+ 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: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/bp1">
+ <xsd:import schemaLocation="purchaseOrder.xsd" namespace="http://manufacturing.org/xsd/purchase"/>
+ </xsd:schema>
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:import
+ namespace="http://manufacturing.org/xsd/purchase"
+ schemaLocation="purchaseOrder.xsd">
+ </xsd:import></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_BluePrint1_PurchaseOrderService"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="purchasingLT">
+ <plink:role name="purchaseService" portType="tns:purchaseOrderPT"></plink:role>
+ </plink:partnerLinkType>
+
+ <bpws:property name="pocorr" type="xsd:int"/>
+
+ <bpws:propertyAlias propertyName="tns:pocorr" messageType="tns:POMessage" part="purchaseOrder">
+ <bpws:query>sns:orderId</bpws:query>
+ </bpws:propertyAlias>
+</definitions>
Added: trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/bpel-deploy.xml
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/bpel-deploy.xml (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/bpel-deploy.xml 2010-03-11 19:59:31 UTC (rev 563)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:bp1="http://manufacturing.org/wsdl/inventory/bp1" xmlns:bp1_1="http://manufacturing.org/wsdl/purchase/bp1">
+ <process name="bp1:InventoryService">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="inventorySevicePLink">
+ <service name="bp1:inventoryService" port="inventoryServicePort"/>
+ </provide>
+ </process>
+ <process name="bp1_1:POService">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="POServicePLink">
+ <service name="bp1_1:purchaseOrderService" port="purchaseOrderPort"/>
+ </provide>
+ <invoke partnerLink="requestInventoryPLink">
+ <service name="bp1:inventoryService" port="inventoryServicePort"/>
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Added: trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/inventory.xsd
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/inventory.xsd (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/inventory.xsd 2010-03-11 19:59:31 UTC (rev 563)
@@ -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="inventoryStatus" type="xs:boolean"/>
+ <xs:element name="inventoryStatusMessage" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Added: trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/purchaseOrder.xsd
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/purchaseOrder.xsd (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/purchaseOrder.xsd 2010-03-11 19:59:31 UTC (rev 563)
@@ -0,0 +1,58 @@
+<?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/tutorial/BPEL-BluePrint1/build.xml
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/build.xml (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/build.xml 2010-03-11 19:59:31 UTC (rev 563)
@@ -0,0 +1,57 @@
+<project name="BPEL_BluePrint1" 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_BluePrint1_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_BluePrint1_PurchaseOrderService"/>
+ <arg value="messages/invalid.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+</project>
Added: trunk/samples/tutorial/BPEL-BluePrint1/messages/invalid.xml
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/messages/invalid.xml (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/messages/invalid.xml 2010-03-11 19:59:31 UTC (rev 563)
@@ -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>321</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderInvalid: Attempt to purchase an out of stock item</pur:orderDescription>
+ <pur:price></pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/samples/tutorial/BPEL-BluePrint1/messages/valid.xml
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/messages/valid.xml (rev 0)
+++ trunk/samples/tutorial/BPEL-BluePrint1/messages/valid.xml 2010-03-11 19:59:31 UTC (rev 563)
@@ -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>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price></pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
14 years, 6 months
riftsaw SVN: r562 - trunk/samples/tutorial.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-11 13:59:41 -0500 (Thu, 11 Mar 2010)
New Revision: 562
Added:
trunk/samples/tutorial/BPEL-BluePrint1/
Log:
Initial import.
14 years, 6 months
riftsaw SVN: r561 - trunk/samples/quickstart.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-11 12:30:27 -0500 (Thu, 11 Mar 2010)
New Revision: 561
Removed:
trunk/samples/quickstart/BPEL-BluePrint1/
trunk/samples/quickstart/BPEL-BluePrint2/
trunk/samples/quickstart/BPEL-BluePrint3/
trunk/samples/quickstart/BPEL-BluePrint4/
trunk/samples/quickstart/BPEL-BluePrint5/
Log:
Eclipse messed up the linkage when I copied the messages folder from BluePrint1 to BluePrint2 - svn is hoarked!
14 years, 6 months
riftsaw SVN: r560 - trunk/samples/quickstart/BPEL-BluePrint1/messages.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-11 10:55:18 -0500 (Thu, 11 Mar 2010)
New Revision: 560
Added:
trunk/samples/quickstart/BPEL-BluePrint1/messages/throw_inv_fault.xml
trunk/samples/quickstart/BPEL-BluePrint1/messages/throw_po_fault.xml
Log:
add test messages folder
Added: trunk/samples/quickstart/BPEL-BluePrint1/messages/throw_inv_fault.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint1/messages/throw_inv_fault.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint1/messages/throw_inv_fault.xml 2010-03-11 15:55:18 UTC (rev 560)
@@ -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>321</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>ThrowInventoryFault: Cause an Inventory Service fault</pur:orderDescription>
+ <pur:price></pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/samples/quickstart/BPEL-BluePrint1/messages/throw_po_fault.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint1/messages/throw_po_fault.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint1/messages/throw_po_fault.xml 2010-03-11 15:55:18 UTC (rev 560)
@@ -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>321</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>ThrowPOServiceFault: Cause a POService fault</pur:orderDescription>
+ <pur:price></pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
14 years, 6 months
riftsaw SVN: r559 - in trunk/samples/quickstart/BPEL-BluePrint3: bpelContent and 1 other directory.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-11 10:54:18 -0500 (Thu, 11 Mar 2010)
New Revision: 559
Modified:
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpel
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpelex
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpel
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpelex
trunk/samples/quickstart/BPEL-BluePrint3/build.xml
Log:
Add test messages and build targets; fix POService logic
Modified: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpel 2010-03-11 11:05:03 UTC (rev 558)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpel 2010-03-11 15:54:18 UTC (rev 559)
@@ -72,7 +72,7 @@
createInstance="yes">
</receive>
<if name="checkAvailability">
- <condition>starts-with($purchaseOrder.purchaseOrder/po:orderDescription, 'OrderVal') = true()</condition>
+ <bpws:condition><![CDATA[starts-with($purchaseOrder.purchaseOrder/po:orderDescription, 'OrderVal') = true()]]></bpws:condition>
<sequence>
<assign name="Case1">
<bpws:copy>
Modified: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpelex 2010-03-11 11:05:03 UTC (rev 558)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpelex 2010-03-11 15:54:18 UTC (rev 559)
@@ -22,7 +22,7 @@
</extensions>
<extensions>
<extendedObject href="InventoryService.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1267496989000"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268321524000"/>
</extensions>
<extensions>
<extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/(a)activity"/>
Modified: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpel 2010-03-11 11:05:03 UTC (rev 558)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpel 2010-03-11 15:54:18 UTC (rev 559)
@@ -189,30 +189,60 @@
operation="inventoryService"
inputVariable="inventoryServiceRequest"
outputVariable="inventoryServiceReply"/>
- <assign name="Assign">
- <bpws:copy>
- <bpws:from><bpws: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>
-</bpws:literal></bpws:from>
- <bpws:to variable="purchaseOrderReply" part="purchaseOrder"></bpws:to>
- </bpws:copy>
- <copy>
- <from part="purchaseOrder" variable="purchaseOrderRequest"/>
- <to part="purchaseOrder" variable="purchaseOrderReply"/>
- </copy>
- <copy>
- <from variable="inventoryServiceReply"/>
- <to variable="inventoryServiceReply"/>
- </copy>
- </assign>
- <reply name="sendPurchaseOrder.Reply"
- partnerLink="POServicePLink"
- portType="pos:purchaseOrderPT"
- operation="sendPurchaseOrder"
- variable="purchaseOrderReply"/>
+<if name="InStock">
+ <bpws:condition><![CDATA[$inventoryServiceReply.inventoryPart/xsd:inventoryStatus = 'true']]></bpws:condition>
+ <sequence name="ProcessInStock">
+ <reply name="sendPurchaseOrder.Success"
+ partnerLink="POServicePLink"
+ operation="sendPurchaseOrder"
+ portType="pos:purchaseOrderPT"
+ variable="purchaseOrderRequest"/>
+ </sequence>
+ <else>
+ <sequence name="ProcessOutOfStock">
+
+ <assign name="InitializeFaultReply">
+
+
+
+
+
+
+ <bpws:copy>
+ <bpws:from><bpws: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>
+</bpws:literal></bpws:from>
+ <bpws:to variable="purchaseOrderFault" part="cannotCompleteOrder"></bpws:to>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from part="inventoryPart" variable="inventoryServiceReply">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[xsd:inventoryStatusMessage]]>
+ </bpws:query>
+ </bpws:from>
+ <bpws:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultMessage]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from>
+ <bpws:literal xml:space="preserve">404</bpws:literal>
+ </bpws:from>
+ <bpws:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultCode]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ </assign>
+ <reply name="sendPurchaseOrder.Fault"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderFault"
+ faultName="pos:cannotCompleteOrder"/>
+ </sequence>
+ </else>
+ </if>
</sequence>
</process>
Modified: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpelex 2010-03-11 11:05:03 UTC (rev 558)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpelex 2010-03-11 15:54:18 UTC (rev 559)
@@ -22,7 +22,7 @@
</extensions>
<extensions>
<extendedObject href="POService.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1267477531000"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268322055000"/>
</extensions>
<extensions>
<extendedObject href="POService.bpel#//@variables/(a)children.2"/>
@@ -77,22 +77,6 @@
<extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
</extensions>
<extensions>
- <extendedObject href="POService.bpel#//@activity/(a)activities.4"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.4/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.4/(a)copy.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/(a)activities.5"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
<extendedObject href="POService.bpel#//@faultHandlers/@catch.0/(a)activity"/>
<extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
</extensions>
@@ -129,10 +113,6 @@
<extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
</extensions>
<extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.4/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
<extendedObject href="POService.bpel#//@faultHandlers/@catch.1/@activity/@activities.0/(a)copy.0"/>
<extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
</extensions>
@@ -144,4 +124,12 @@
<extendedObject href="POService.bpel#//@faultHandlers/@catch.1/@activity/@activities.0/(a)copy.2"/>
<extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
</extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
</extensionmodel:ExtensionMap>
Modified: trunk/samples/quickstart/BPEL-BluePrint3/build.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/build.xml 2010-03-11 11:05:03 UTC (rev 558)
+++ trunk/samples/quickstart/BPEL-BluePrint3/build.xml 2010-03-11 15:54:18 UTC (rev 559)
@@ -54,4 +54,32 @@
</classpath>
</java>
</target>
+
+ <target name="send_po_fault">
+ <echo>Throw PO fault message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/BPEL_BluePrint3_PurchaseOrderService"/>
+ <arg value="messages/throw_po_fault.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="send_inv_fault">
+ <echo>Throw Inventory fault message to: ${ant.project.name}</echo>
+ <java classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg value="http://localhost:8080/BPEL_BluePrint3_PurchaseOrderService"/>
+ <arg value="messages/throw_inv_fault.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
</project>
14 years, 6 months
riftsaw SVN: r558 - trunk/runtime/jbossesb-bpel/src/main/java/org/jboss/soa/esb/actions/bpel.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-03-11 06:05:03 -0500 (Thu, 11 Mar 2010)
New Revision: 558
Modified:
trunk/runtime/jbossesb-bpel/src/main/java/org/jboss/soa/esb/actions/bpel/BPELInvoke.java
Log:
Fix for RIFTSAW-177. Now if an exception occurs in the BPEL engine, it won't be passed through to the ESB client.
Modified: trunk/runtime/jbossesb-bpel/src/main/java/org/jboss/soa/esb/actions/bpel/BPELInvoke.java
===================================================================
--- trunk/runtime/jbossesb-bpel/src/main/java/org/jboss/soa/esb/actions/bpel/BPELInvoke.java 2010-03-10 17:23:24 UTC (rev 557)
+++ trunk/runtime/jbossesb-bpel/src/main/java/org/jboss/soa/esb/actions/bpel/BPELInvoke.java 2010-03-11 11:05:03 UTC (rev 558)
@@ -189,7 +189,14 @@
invocationContext.setRequestXML(mesgElem);
// invoke ODE
- engine.invoke(invocationContext);
+ try {
+ engine.invoke(invocationContext);
+ } catch(Throwable t) {
+ // RIFTSAW-177 - prevent ODE specific exceptions being returned to ESB client where
+ // a ClassNotFoundException would be thrown
+ throw new Exception("BPEL invoke failed: "+t);
+ }
+
resp = invocationContext.getInvocationResult();
faultName = invocationContext.getFaultName();
14 years, 6 months
riftsaw SVN: r557 - in trunk/samples/quickstart: BPEL-BluePrint3/.settings and 4 other directories.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-10 12:23:24 -0500 (Wed, 10 Mar 2010)
New Revision: 557
Added:
trunk/samples/quickstart/BPEL-BluePrint3/.project
trunk/samples/quickstart/BPEL-BluePrint3/.settings/
trunk/samples/quickstart/BPEL-BluePrint3/.settings/org.eclipse.wst.common.component
trunk/samples/quickstart/BPEL-BluePrint3/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpel
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpelex
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.wsdl
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpel
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpelex
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.wsdl
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/bpel-deploy.xml
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/inventory.xsd
trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/purchaseOrder.xsd
trunk/samples/quickstart/BPEL-BluePrint3/build.xml
trunk/samples/quickstart/BPEL-BluePrint4/.project
trunk/samples/quickstart/BPEL-BluePrint4/.settings/
trunk/samples/quickstart/BPEL-BluePrint4/.settings/org.eclipse.wst.common.component
trunk/samples/quickstart/BPEL-BluePrint4/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.bpel
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.bpelex
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.wsdl
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.bpel
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.bpelex
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.wsdl
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POStatus.wsdl
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/bpel-deploy.xml
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/inventory.xsd
trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/purchaseOrder.xsd
trunk/samples/quickstart/BPEL-BluePrint4/build.xml
Log:
Add projects
Added: trunk/samples/quickstart/BPEL-BluePrint3/.project
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/.project (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/.project 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>BPEL-BluePrint3</name>
+ <comment></comment>
+ <projects>
+ <project>BPEL-BluePrint3</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-BluePrint3/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/.settings/org.eclipse.wst.common.component 2010-03-10 17:23:24 UTC (rev 557)
@@ -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-BluePrint3">
+ <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-BluePrint3/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/.settings/org.eclipse.wst.common.project.facet.core.xml 2010-03-10 17:23:24 UTC (rev 557)
@@ -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-BluePrint3/bpelContent/InventoryService.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpel (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpel 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,166 @@
+<?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://www.seebeyond.com/eInsight/newuntitled"
+ xmlns:tns="http://www.seebeyond.com/eInsight/newuntitled"
+ 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/bp3"
+ xmlns:invsh="http://manufacturing.org/xsd/inventory"
+ xmlns:po="http://manufacturing.org/xsd/purchase">
+
+ <import namespace="http://manufacturing.org/wsdl/inventory/bp3"
+ location="InventoryService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/xsd/inventory"
+ location="inventory.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <import namespace="http://manufacturing.org/xsd/purchase"
+ location="purchaseOrder.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="inventorySevicePLink"
+ partnerLinkType="invs:inventoryRequestingLT"
+ myRole="inventoryService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="purchaseOrder" messageType="invs:POMessage"></variable>
+ <variable name="inventoryStatus" messageType="invs:InventoryMessage"></variable>
+ <variable name="inventoryService_Fault" messageType="invs:inventoryFaultType"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="inventoryService"
+ partnerLink="inventorySevicePLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ variable="purchaseOrder"
+ createInstance="yes">
+ </receive>
+ <if name="checkAvailability">
+ <condition>starts-with($purchaseOrder.purchaseOrder/po:orderDescription, 'OrderVal') = true()</condition>
+ <sequence>
+ <assign name="Case1">
+ <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:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryStatus" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>
+
+ <![CDATA[true()]]>
+ </from>
+ <to>$inventoryStatus.inventoryPart/invsh:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>
+
+ <![CDATA['available']]>
+ </from>
+ <to>$inventoryStatus.inventoryPart/invsh:inventoryStatusMessage</to>
+ </copy>
+
+ </assign>
+ <reply name="inventoryService.Reply_2"
+ partnerLink="inventorySevicePLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ variable="inventoryStatus"/>
+ </sequence>
+ <elseif>
+ <condition>starts-with($purchaseOrder.purchaseOrder/po:orderDescription, 'ThrowInventoryFault') = true()</condition>
+ <sequence>
+ <assign name="Assign2">
+ <bpws:copy>
+ <bpws:from><bpws:literal><tns:inventoryFault xmlns:tns="http://manufacturing.org/xsd/inventory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:FaultCode></tns:FaultCode>
+ <tns:FaultMessage></tns:FaultMessage>
+</tns:inventoryFault>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryService_Fault" part="inventoryFault"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>
+ <![CDATA[concat('Inventory Fault thrown for PurchaseOrder ID ', $purchaseOrder.purchaseOrder/po:customerId, ' customer ID ')]]>
+ </from>
+ <to part="inventoryFault" variable="inventoryService_Fault">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[invsh:FaultMessage]]></bpws:query>
+ </to>
+ </copy>
+ </assign>
+ <reply name="inventoryService.Reply_1"
+ partnerLink="inventorySevicePLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ variable="inventoryService_Fault" faultName="invs:inventoryFaultType"/>
+ </sequence>
+ </elseif>
+ <else>
+ <sequence>
+ <assign name="Case2">
+ <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:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryStatus" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>false()</from>
+ <to>$inventoryStatus.inventoryPart/invsh:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>'currently out of stock'</from>
+ <to>$inventoryStatus.inventoryPart/invsh:inventoryStatusMessage</to>
+ </copy>
+
+ </assign>
+ <reply name="inventoryService.Reply_3"
+ partnerLink="inventorySevicePLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ variable="inventoryStatus"/>
+ </sequence>
+ </else>
+ </if>
+ </sequence>
+</process>
Added: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpelex (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.bpelex 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,103 @@
+<?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="1267496989000"/>
+ </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.2"/>
+ <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.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </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/@else/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@variables/(a)children.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/(a)elseIf.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CaseExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@elseIf.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@elseIf.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@elseIf.0/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@elseIf.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@elseIf.0/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </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>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/InventoryService.wsdl 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,96 @@
+<?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/bp3"
+ name="InventoryService"
+ xmlns:tns="http://manufacturing.org/wsdl/inventory/bp3"
+ 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">
+
+ <types>
+ <xsd:schema targetNamespace="http://manufacturing.org/wsdl/inventory/bp3">
+ <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="inventoryFaultType">
+ <part name="inventoryFault" element="inv:inventoryFault"></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>
+ <output name="inventoryStatus" message="tns:InventoryMessage"></output>
+ <fault name="inventoryFaultType" message="tns:inventoryFaultType"></fault>
+ </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>
+ <output name="inventoryStatus">
+ <soap:body parts="inventoryPart" use="literal"/>
+ </output>
+ <fault name="inventoryFault">
+ <soap:fault name="inventoryFault" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+
+ <service name="inventoryService">
+ <port name="inventoryServicePort"
+ binding="tns:inventoryBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint3_InventoryService"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="inventoryRequestingLT">
+ <plink:role name="inventoryService" portType="tns:inventoryPortType"></plink:role>
+ </plink:partnerLinkType>
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpel (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpel 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,218 @@
+<?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://www.seebeyond.com/eInsight/POService"
+ xmlns:tns="http://www.seebeyond.com/eInsight/POService"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:pos="http://manufacturing.org/wsdl/purchase/bp3"
+ 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/bp3"
+ xmlns:po="http://manufacturing.org/xsd/purchase" xmlns:xsd="http://manufacturing.org/xsd/inventory">
+
+ <import namespace="http://manufacturing.org/wsdl/purchase/bp3"
+ location="POService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/wsdl/inventory/bp3"
+ 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>
+
+ <partnerLinks>
+ <partnerLink name="POServicePLink"
+ partnerLinkType="pos:purchasingLT"
+ myRole="purchaseService"/>
+ <partnerLink name="requestInventoryPLink"
+ partnerLinkType="invs:inventoryRequestingLT"
+ partnerRole="inventoryService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="purchaseOrderRequest" messageType="pos:POMessage"></variable>
+ <variable name="purchaseOrderReply" 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>
+ <variable name="inventoryServiceFault" messageType="invs:inventoryFaultType"></variable>
+ </variables>
+
+ <faultHandlers>
+ <catch faultName="pos:cannotCompleteOrder">
+ <sequence>
+ <reply name="sendPurchaseOrder.Fault_1"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderFault"
+ faultName="pos:cannotCompleteOrder"/>
+ </sequence>
+ </catch>
+ <catch faultName="invs:inventoryFault" faultVariable="inventoryServiceFault" faultMessageType="invs:inventoryFaultType">
+ <sequence>
+ <assign name="Assign1_1">
+ <bpws:copy>
+ <bpws:from><bpws: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>
+</bpws:literal></bpws:from>
+ <bpws:to variable="purchaseOrderFault" part="cannotCompleteOrder"></bpws:to>
+ </bpws:copy>
+
+ <bpws:copy>
+ <bpws:from>
+ <![CDATA[$inventoryServiceFault.inventoryFault/xsd:FaultCode]]>
+ </bpws:from>
+ <bpws:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[po:FaultCode]]>
+ </bpws:query>
+ </bpws:to>
+ </bpws:copy>
+ <bpws:copy>
+ <bpws:from>
+ <![CDATA[$inventoryServiceFault.inventoryFault/xsd:FaultMessage]]>
+ </bpws:from>
+ <bpws:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultMessage]]></bpws:query>
+ </bpws:to>
+ </bpws:copy>
+
+ </assign>
+ <reply name="sendPurchaseOrder.Fault"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderFault"
+ faultName="pos:cannotCompleteOrder"/>
+ </sequence>
+ </catch>
+ </faultHandlers>
+ <sequence>
+ <receive name="sendPurchaseOrder"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderRequest"
+ createInstance="yes">
+ </receive>
+ <assign name="Assign_2">
+ <bpws:copy>
+ <bpws:from><bpws: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>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryServiceRequest" part="purchaseOrder"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>49.98</from>
+ <to>$purchaseOrderRequest.purchaseOrder/po:price</to>
+ </copy>
+ <copy>
+ <from part="purchaseOrder" variable="purchaseOrderRequest"/>
+ <to part="purchaseOrder" variable="inventoryServiceRequest"/>
+ </copy>
+ </assign>
+ <if name="Decision">
+ <condition>starts-with($purchaseOrderRequest.purchaseOrder/po:orderDescription, 'ThrowPOServiceFault') = true()</condition>
+ <sequence name="Sequence1">
+ <assign name="Assign1">
+ <bpws:copy>
+ <bpws:from><bpws: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>
+</bpws:literal></bpws:from>
+ <bpws:to variable="purchaseOrderFault" part="cannotCompleteOrder"></bpws:to>
+ </bpws:copy>
+
+
+ <bpws:copy><bpws:from>
+ <bpws:literal xml:space="preserve">500</bpws:literal>
+ </bpws:from>
+ <bpws:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultCode]]></bpws:query>
+ </bpws:to>
+
+ </bpws:copy>
+ <copy><from>'throwing purchase order fault'</from>
+ <to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultMessage]]></bpws:query>
+ </to>
+
+ </copy>
+ </assign>
+ <throw name="Throw"
+ faultName="pos:cannotCompleteOrder"
+ faultVariable="purchaseOrderFault"/>
+ </sequence>
+ </if>
+ <invoke name="inventoryService"
+ partnerLink="requestInventoryPLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ inputVariable="inventoryServiceRequest"
+ outputVariable="inventoryServiceReply"/>
+ <assign name="Assign">
+ <bpws:copy>
+ <bpws:from><bpws: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>
+</bpws:literal></bpws:from>
+ <bpws:to variable="purchaseOrderReply" part="purchaseOrder"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from part="purchaseOrder" variable="purchaseOrderRequest"/>
+ <to part="purchaseOrder" variable="purchaseOrderReply"/>
+ </copy>
+ <copy>
+ <from variable="inventoryServiceReply"/>
+ <to variable="inventoryServiceReply"/>
+ </copy>
+ </assign>
+ <reply name="sendPurchaseOrder.Reply"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderReply"/>
+ </sequence>
+</process>
Added: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpelex (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.bpelex 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,147 @@
+<?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="1267477531000"/>
+ </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.2"/>
+ <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.1/(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#//@variables/(a)children.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.2/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.2/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.2/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.2/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@faultHandlers/@catch.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@faultHandlers/@catch.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@faultHandlers/@catch.1/(a)faultVariable"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@faultHandlers/@catch.1/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@faultHandlers/@catch.1/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@faultHandlers/@catch.1/@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.2/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.2/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@faultHandlers/@catch.1/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@faultHandlers/@catch.1/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@faultHandlers/@catch.1/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/POService.wsdl 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,91 @@
+<?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/bp3"
+ name="POService"
+ xmlns:tns="http://manufacturing.org/wsdl/purchase/bp3"
+ 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: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/bp3">
+ <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">
+ <soap:operation style="document"/>
+ <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_BluePrint3_PurchaseOrderService"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="purchasingLT">
+ <plink:role name="purchaseService" portType="tns:purchaseOrderPT"></plink:role>
+ </plink:partnerLinkType>
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/bpel-deploy.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/bpel-deploy.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/bpel-deploy.xml 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:POService="http://www.seebeyond.com/eInsight/POService" xmlns:bp3="http://manufacturing.org/wsdl/inventory/bp3" xmlns:bp3_1="http://manufacturing.org/wsdl/purchase/bp3" xmlns:newuntitled="http://www.seebeyond.com/eInsight/newuntitled">
+ <process name="newuntitled:InventoryService">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="inventorySevicePLink">
+ <service name="bp3:inventoryService" port="inventoryServicePort"/>
+ </provide>
+ </process>
+ <process name="POService:POService">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="POServicePLink">
+ <service name="bp3_1:purchaseOrderService" port="purchaseOrderPort"/>
+ </provide>
+ <invoke partnerLink="requestInventoryPLink">
+ <service name="bp3:inventoryService" port="inventoryServicePort"/>
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Added: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/inventory.xsd
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/inventory.xsd (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/inventory.xsd 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,50 @@
+<?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:element name="inventoryFault" type="tns:inventoryFaultType">
+ </xs:element>
+
+ <xs:complexType name="inventoryType">
+ <xs:sequence>
+ <xs:element name="inventoryStatus" type="xs:boolean" />
+ <xs:element name="inventoryStatusMessage" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="inventoryFaultType">
+ <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:schema>
Added: trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/purchaseOrder.xsd
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/purchaseOrder.xsd (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/bpelContent/purchaseOrder.xsd 2010-03-10 17:23:24 UTC (rev 557)
@@ -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-BluePrint3/build.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint3/build.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint3/build.xml 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,57 @@
+<project name="BPEL_BluePrint3" 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_BluePrint3_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_BluePrint3_PurchaseOrderService"/>
+ <arg value="messages/invalid.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+</project>
Added: trunk/samples/quickstart/BPEL-BluePrint4/.project
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/.project (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/.project 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>BPEL-BluePrint4</name>
+ <comment></comment>
+ <projects>
+ <project>BPEL-BluePrint4</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-BluePrint4/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/.settings/org.eclipse.wst.common.component 2010-03-10 17:23:24 UTC (rev 557)
@@ -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-BluePrint4">
+ <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-BluePrint4/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/.settings/org.eclipse.wst.common.project.facet.core.xml 2010-03-10 17:23:24 UTC (rev 557)
@@ -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-BluePrint4/bpelContent/InventoryService.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.bpel (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.bpel 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,128 @@
+<?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://www.seebeyond.com/eInsight/inventoryservice/bp4"
+ xmlns:tns="http://www.seebeyond.com/eInsight/inventoryservice/bp4"
+ 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/bp4"
+ xmlns:ns0="http://manufacturing.org/xsd/inventory"
+ xmlns:ns1="http://manufacturing.org/xsd/purchase">
+
+ <import namespace="http://manufacturing.org/wsdl/inventory/bp4"
+ location="InventoryService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/xsd/inventory"
+ location="inventory.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"/>
+
+ <import namespace="http://manufacturing.org/xsd/purchase"
+ location="purchaseOrder.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"/>
+
+ <partnerLinks>
+ <partnerLink name="inventorySevicePLink"
+ partnerLinkType="invs:inventoryRequestingLT"
+ myRole="inventoryService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="purchaseOrder" messageType="invs:POMessage"></variable>
+ <variable name="inventoryStatus" messageType="invs:InventoryMessage"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="inventoryService"
+ partnerLink="inventorySevicePLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ variable="purchaseOrder"
+ createInstance="yes">
+ </receive>
+
+ <if name="checkAvailability">
+ <condition>starts-with($purchaseOrder.purchaseOrder/ns1:orderDescription, 'OrderVal') = true()</condition>
+ <sequence>
+ <assign name="Assign_2">
+ <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:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryStatus" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>true()</from>
+ <to>$inventoryStatus.inventoryPart/ns0:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>'available'</from>
+ <to>$inventoryStatus.inventoryPart/ns0:inventoryStatusMessage</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ <else>
+ <sequence>
+ <assign name="Assign">
+ <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:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryStatus" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>false()</from>
+ <to>$inventoryStatus.inventoryPart/ns0:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>'currently out of stock'</from>
+ <to>$inventoryStatus.inventoryPart/ns0:inventoryStatusMessage</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </else>
+ </if>
+ <reply name="inventoryService.Reply"
+ partnerLink="inventorySevicePLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ variable="inventoryStatus">
+ </reply>
+ </sequence>
+</process>
Added: trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.bpelex (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.bpelex 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,71 @@
+<?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="1268240045000"/>
+ </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/(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.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.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </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/@else/@activity/@activities.0/(a)copy.1"/>
+ <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>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/InventoryService.wsdl 2010-03-10 17:23:24 UTC (rev 557)
@@ -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.
+-->
+<definitions targetNamespace="http://manufacturing.org/wsdl/inventory/bp4"
+ name="InventoryService"
+ xmlns:tns="http://manufacturing.org/wsdl/inventory/bp4"
+ 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/">
+ <types>
+ <xsd:schema targetNamespace="http://manufacturing.org/wsdl/inventory/bp4">
+ <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="inventoryFaultType">
+ <part name="inventoryFault" element="inv:inventoryFault"></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>
+ <output name="inventoryStatus" message="tns:InventoryMessage"></output>
+ <fault name="inventoryFaultType" message="tns:inventoryFaultType"></fault>
+ </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>
+ <output name="inventoryStatus">
+ <soap:body parts="inventoryPart" use="literal"/>
+ </output>
+ <fault name="inventoryFault">
+ <soap:fault name="inventoryFault" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+
+ <service name="inventoryService">
+ <port name="inventoryServicePort" binding="tns:inventoryBinding">
+ <soap:address location="http://localhost:${HttpDefaultPort}/wsdl/inventory/ServiceLocation/bp4"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="inventoryRequestingLT">
+ <plink:role name="inventoryService" portType="tns:inventoryPortType"></plink:role>
+ </plink:partnerLinkType>
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.bpel
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.bpel (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.bpel 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,242 @@
+<?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://www.seebeyond.com/eInsight/POService/bp4"
+ xmlns:tns="http://www.seebeyond.com/eInsight/POService/bp4"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:ns0="http://localhost/wsdl/purchase/PurchaseOrderStatus/bp4"
+ xmlns:pos="http://manufacturing.org/wsdl/purchase/bp4"
+ 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/bp4"
+ xmlns:ns1="http://manufacturing.org/xsd/inventory"
+ xmlns:ns2="http://manufacturing.org/xsd/purchase">
+
+ <import namespace="http://manufacturing.org/wsdl/purchase/bp4"
+ location="POService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/wsdl/inventory/bp4"
+ location="InventoryService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/wsdl/purchase/PurchaseOrderStatus/bp4"
+ location="POStatus.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/xsd/inventory"
+ location="inventory.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"/>
+
+ <import namespace="http://manufacturing.org/xsd/purchase"
+ location="purchaseOrder.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"/>
+
+ <partnerLinks>
+ <partnerLink name="POServicePLink"
+ partnerLinkType="pos:purchasingLT"
+ myRole="purchaseService"/>
+ <partnerLink name="requestInventoryPLink"
+ partnerLinkType="invs:inventoryRequestingLT"
+ partnerRole="inventoryService"/>
+ <partnerLink name="POConfirmPLink"
+ partnerLinkType="ns0:confirmPOLinkType"
+ myRole="confirmPORole"/>
+ <partnerLink name="POCancelPLink"
+ partnerLinkType="ns0:cancelPOLinkType"
+ myRole="cancelPORole"/>
+ </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>
+ <variable name="confirmPORequest" messageType="ns0:POConfirmMesg"></variable>
+ <variable name="POStatusReply" messageType="ns0:POStatusMesg"></variable>
+ <variable name="cancelPORequest" messageType="ns0:POCancelMesg"></variable>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="POConfirmationSet" properties="ns0:OrderID "/>
+ </correlationSets>
+
+ <sequence>
+ <receive name="sendPurchaseOrder"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderRequest"
+ createInstance="yes">
+ </receive>
+ <assign name="Assign_1">
+ <copy>
+ <from>'49.98'</from>
+ <to>$purchaseOrderRequest.purchaseOrder/ns2:price</to>
+ </copy>
+ <copy>
+ <from variable="purchaseOrderRequest"
+ part="purchaseOrder"/>
+ <to variable="inventoryServiceRequest"
+ part="purchaseOrder"/>
+ </copy>
+ </assign>
+ <invoke name="inventoryService"
+ partnerLink="requestInventoryPLink"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ inputVariable="inventoryServiceRequest"
+ outputVariable="inventoryServiceReply">
+ </invoke>
+ <if name="Decision">
+ <condition>$inventoryServiceReply.inventoryPart/ns1:inventoryStatus = 'true'</condition>
+ <sequence>
+ <reply name="sendPurchaseOrder.Reply"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderRequest">
+ <correlations>
+ <correlation set="POConfirmationSet" initiate="yes"/>
+ </correlations>
+ </reply>
+ </sequence>
+ <else>
+ <sequence>
+ <assign name="Assign_4">
+ <bpws:copy>
+ <bpws:from><bpws: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>
+</bpws:literal></bpws:from>
+ <bpws:to variable="purchaseOrderFault" part="cannotCompleteOrder"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>
+
+ <![CDATA[$inventoryServiceReply.inventoryPart/ns1:inventoryStatusMessage]]>
+ </from>
+ <to>
+ <![CDATA[$purchaseOrderFault.cannotCompleteOrder/ns2:FaultMessage]]>
+ </to>
+ </copy>
+ </assign>
+ <reply name="sendPurchaseOrder.Fault"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderFault"
+ faultName="pos:cannotCompleteOrder">
+ </reply>
+ <exit name="Terminate"></exit>
+ </sequence>
+ </else>
+ </if>
+ <pick name="Event_Based_Decision">
+ <onMessage partnerLink="POConfirmPLink"
+ portType="ns0:POConfirmPortType"
+ operation="confirmPO"
+ variable="confirmPORequest">
+ <correlations>
+ <correlation set="POConfirmationSet" initiate="no"/>
+ </correlations>
+ <sequence>
+ <assign name="Assign_5">
+ <bpws:copy>
+ <bpws:from><bpws:literal><tns:purchaseOrderStatus xmlns:tns="http://manufacturing.org/xsd/purchase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:Status></tns:Status>
+</tns:purchaseOrderStatus>
+</bpws:literal></bpws:from>
+ <bpws:to variable="POStatusReply" part="status"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>true()</from>
+ <to variable="POStatusReply" part="status"/>
+ </copy>
+ <copy>
+ <from variable="confirmPORequest"/>
+ <to variable="confirmPORequest"/>
+ </copy>
+
+ </assign>
+ <reply name="confirmPO.Reply"
+ partnerLink="POConfirmPLink"
+ portType="ns0:POConfirmPortType"
+ operation="confirmPO"
+ variable="POStatusReply">
+ </reply>
+ </sequence>
+ </onMessage>
+ <onMessage partnerLink="POCancelPLink"
+ portType="ns0:POCancelPortType"
+ operation="cancelPO"
+ variable="cancelPORequest">
+ <correlations>
+ <correlation set="POConfirmationSet" initiate="no"/>
+ </correlations>
+ <sequence>
+ <assign name="Assign">
+ <bpws:copy>
+ <bpws:from><bpws:literal><tns:purchaseOrderStatus xmlns:tns="http://manufacturing.org/xsd/purchase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:Status></tns:Status>
+</tns:purchaseOrderStatus>
+</bpws:literal></bpws:from>
+ <bpws:to variable="POStatusReply" part="status"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>true()</from>
+ <to variable="POStatusReply" part="status"/>
+ </copy>
+ <copy>
+ <from variable="cancelPORequest"/>
+ <to variable="cancelPORequest"/>
+ </copy>
+
+ </assign>
+ <reply name="cancelPO.Reply"
+ partnerLink="POCancelPLink"
+ portType="ns0:POCancelPortType"
+ operation="cancelPO"
+ variable="POStatusReply">
+ </reply>
+ </sequence>
+ </onMessage>
+ <onAlarm>
+ <for>'P0Y0DT100S'</for>
+ <sequence>
+ <empty name="Empty"></empty>
+ </sequence>
+ </onAlarm>
+ </pick>
+ </sequence>
+</process>
Added: trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.bpelex
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.bpelex (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.bpelex 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,167 @@
+<?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="1268240375000"/>
+ </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/(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.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.4"/>
+ <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#//@variables/(a)children.6"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@else/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@else/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@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/@else/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@else/@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.0/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.0/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/(a)messages.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.1/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.1/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.1/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.1/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.1/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@alarm.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@else/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.0/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.4/@messages.1/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POService.wsdl 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,87 @@
+<?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/bp4"
+ name="POService"
+ xmlns:tns="http://manufacturing.org/wsdl/purchase/bp4"
+ 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:sns="http://manufacturing.org/xsd/purchase">
+ <types>
+ <xsd:schema targetNamespace="http://manufacturing.org/wsdl/purchase/bp4">
+ <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">
+ <soap:operation style="document"/>
+ <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:${HttpDefaultPort}/wsdl/purchase/PurchaseOrder/Servicelo..."/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="purchasingLT">
+ <plink:role name="purchaseService" portType="tns:purchaseOrderPT"></plink:role>
+ </plink:partnerLinkType>
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POStatus.wsdl
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POStatus.wsdl (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/POStatus.wsdl 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,144 @@
+<?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/wsdl/purchase/PurchaseOrderStatus/bp4"
+ name="POStatus"
+ xmlns:tns="http://localhost/wsdl/purchase/PurchaseOrderStatus/bp4"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:ns="http://manufacturing.org/wsdl/purchase/bp4"
+ 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:sns="http://manufacturing.org/xsd/purchase">
+
+ <import namespace="http://manufacturing.org/wsdl/purchase/bp4" location="POService.wsdl"></import>
+ <types>
+ <xsd:schema targetNamespace="http://localhost/wsdl/purchase/PurchaseOrderStatus/bp4">
+ <xsd:import schemaLocation="purchaseOrder.xsd" namespace="http://manufacturing.org/xsd/purchase"/>
+ </xsd:schema>
+ </types>
+
+ <message name="POConfirmMesg">
+ <part name="purchaseOrder" element="sns:purchaseOrder"></part>
+ </message>
+
+ <message name="POCancelMesg">
+ <part name="purchaseOrder" element="sns:purchaseOrder"></part>
+ </message>
+
+ <message name="POStatusMesg">
+ <part name="status" element="sns:purchaseOrderStatus"></part>
+ </message>
+
+ <message name="orderFaultType">
+ <part name="confirmPOFault" element="sns:purchaseOrderFault"></part>
+ </message>
+
+ <portType name="POConfirmPortType">
+ <operation name="confirmPO">
+ <input name="confirmPO" message="tns:POConfirmMesg"></input>
+ <output name="confirmPOStatus" message="tns:POStatusMesg"></output>
+ <fault name="confirmPOFault" message="ns:orderFaultType"></fault>
+ </operation>
+ </portType>
+
+ <portType name="POCancelPortType">
+ <operation name="cancelPO">
+ <input name="cancelPO" message="tns:POCancelMesg"></input>
+ <output name="cancelPOStatus" message="tns:POStatusMesg"></output>
+ <fault name="cancelPOFault" message="ns:orderFaultType"></fault>
+ </operation>
+ </portType>
+
+ <binding name="POConfirmBinding" type="tns:POConfirmPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="confirmPO">
+ <soap:operation soapAction="confirmPO"/>
+ <input name="confirmPO">
+ <soap:body parts="purchaseOrder" use="literal"/>
+ </input>
+ <output name="confirmPOStatus">
+ <soap:body parts="status" use="literal"/>
+ </output>
+ <fault name="confirmPOFault">
+ <soap:fault name="confirmPOFault" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+
+ <binding name="POCancelBinding" type="tns:POCancelPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="cancelPO">
+ <soap:operation soapAction="cancelPO"/>
+ <input name="cancelPO">
+ <soap:body parts="purchaseOrder" use="literal"/>
+ </input>
+ <output name="cancelPOStatus">
+ <soap:body parts="status" use="literal"/>
+ </output>
+ <fault name="cancelPOFault">
+ <soap:fault name="cancelPOFault" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+
+ <service name="POStatusService">
+ <port name="POConfirmPort" binding="tns:POConfirmBinding">
+ <soap:address location="http://localhost:${HttpDefaultPort}/wsdl/purchase/PurchaseOrderStatus/Ser..."/>
+ </port>
+ <port name="POCancelPort" binding="tns:POCancelBinding">
+ <soap:address location="http://localhost:${HttpDefaultPort}/wsdl/purchase/PurchaseOrderStatus/Ser..."/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="confirmPOLinkType">
+ <plink:role name="confirmPORole" portType="tns:POConfirmPortType"></plink:role>
+ </plink:partnerLinkType>
+
+ <plink:partnerLinkType name="cancelPOLinkType">
+ <plink:role name="cancelPORole" portType="tns:POCancelPortType"></plink:role>
+ </plink:partnerLinkType>
+
+ <vprop:property name="OrderID" type="xsd:int"/>
+
+ <vprop:propertyAlias part="purchaseOrder" propertyName="tns:OrderID" messageType="tns:POConfirmMesg">
+ <vprop:query>sns:orderId</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias part="purchaseOrder" propertyName="tns:OrderID" messageType="tns:POCancelMesg">
+ <vprop:query>sns:orderId</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias part="purchaseOrder" propertyName="tns:OrderID" messageType="ns:POMessage">
+ <vprop:query>sns:orderId</vprop:query>
+ </vprop:propertyAlias>
+</definitions>
Added: trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/bpel-deploy.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/bpel-deploy.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/bpel-deploy.xml 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:bp4="http://www.seebeyond.com/eInsight/inventoryservice/bp4" xmlns:bp4_1="http://www.seebeyond.com/eInsight/POService/bp4" xmlns:bp4_2="http://manufacturing.org/wsdl/inventory/bp4" xmlns:bp4_3="http://manufacturing.org/wsdl/purchase/bp4" xmlns:bp4_4="http://localhost/wsdl/purchase/PurchaseOrderStatus/bp4">
+ <process name="bp4:InventoryService">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="inventorySevicePLink">
+ <service name="bp4_2:inventoryService" port="inventoryServicePort"/>
+ </provide>
+ </process>
+ <process name="bp4_1:POService">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="POServicePLink">
+ <service name="bp4_3:purchaseOrderService" port="purchaseOrderPort"/>
+ </provide>
+ <provide partnerLink="POConfirmPLink">
+ <service name="bp4_4:POStatusService" port="POConfirmPort"/>
+ </provide>
+ <provide partnerLink="POCancelPLink">
+ <service name="bp4_4:POStatusService" port="POCancelPort"/>
+ </provide>
+ <invoke partnerLink="requestInventoryPLink">
+ <service name="bp4_2:inventoryService" port="inventoryServicePort"/>
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Added: trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/inventory.xsd
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/inventory.xsd (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/inventory.xsd 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,54 @@
+<?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:element name="inventoryFault" type="tns:inventoryFaultType"></xs:element>
+
+ <xs:complexType name="inventoryType">
+ <xs:sequence>
+ <xs:element name="inventoryStatus" type="xs:boolean"/>
+ <xs:element name="inventoryStatusMessage" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="inventoryFaultType">
+ <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:schema>
Added: trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/purchaseOrder.xsd
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/purchaseOrder.xsd (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/bpelContent/purchaseOrder.xsd 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,58 @@
+<?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: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:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="purchaseOrder" type="tns:purchaseOrderType"></xs:element>
+
+ <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:complexType name="purchaseOrderStatusType">
+ <xs:sequence>
+ <xs:element name="Status" type="xs:boolean"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="purchaseOrderStatus" type="tns:purchaseOrderStatusType"></xs:element>
+</xs:schema>
Added: trunk/samples/quickstart/BPEL-BluePrint4/build.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint4/build.xml (rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint4/build.xml 2010-03-10 17:23:24 UTC (rev 557)
@@ -0,0 +1,57 @@
+<project name="BPEL_BluePrint4" 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_BluePrint4_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_BluePrint4_PurchaseOrderService"/>
+ <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, 6 months