riftsaw SVN: r578 - trunk/distribution.
by riftsaw-commits@lists.jboss.org
Author: kurtstam
Date: 2010-03-18 20:54:23 -0400 (Thu, 18 Mar 2010)
New Revision: 578
Modified:
trunk/distribution/
Log:
adding to svn ignore
Property changes on: trunk/distribution
___________________________________________________________________
Name: svn:ignore
- *.iml
*.ipr
*.iws
target
.project
.settings
+ *.iml
*.ipr
*.iws
target
.project
.settings
.classpath
14 years, 12 months
riftsaw SVN: r577 - trunk/docs/docbook/gettingstartedguide.
by riftsaw-commits@lists.jboss.org
Author: kurtstam
Date: 2010-03-18 10:09:43 -0400 (Thu, 18 Mar 2010)
New Revision: 577
Removed:
trunk/docs/docbook/gettingstartedguide/.classpath
Log:
removing cp, so I can add it to svn.ignore next
Deleted: trunk/docs/docbook/gettingstartedguide/.classpath
===================================================================
--- trunk/docs/docbook/gettingstartedguide/.classpath 2010-03-18 13:17:46 UTC (rev 576)
+++ trunk/docs/docbook/gettingstartedguide/.classpath 2010-03-18 14:09:43 UTC (rev 577)
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
14 years, 12 months
riftsaw SVN: r576 - in trunk/docs/docbook: gettingstartedguide and 1 other directories.
by riftsaw-commits@lists.jboss.org
Author: kurtstam
Date: 2010-03-18 09:17:46 -0400 (Thu, 18 Mar 2010)
New Revision: 576
Added:
trunk/docs/docbook/gettingstartedguide/.classpath
trunk/docs/docbook/userguide/.classpath
Modified:
trunk/docs/docbook/
Log:
adding to svn ignore
Property changes on: trunk/docs/docbook
___________________________________________________________________
Name: svn:ignore
- target
*.iml
+ target
*.iml
.settings
.classpath
.project
Added: trunk/docs/docbook/gettingstartedguide/.classpath
===================================================================
--- trunk/docs/docbook/gettingstartedguide/.classpath (rev 0)
+++ trunk/docs/docbook/gettingstartedguide/.classpath 2010-03-18 13:17:46 UTC (rev 576)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
Added: trunk/docs/docbook/userguide/.classpath
===================================================================
--- trunk/docs/docbook/userguide/.classpath (rev 0)
+++ trunk/docs/docbook/userguide/.classpath 2010-03-18 13:17:46 UTC (rev 576)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
14 years, 12 months
riftsaw SVN: r575 - in trunk/samples/tutorial: BPEL-BluePrint2/bpelContent and 3 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-03-18 06:59:05 -0400 (Thu, 18 Mar 2010)
New Revision: 575
Removed:
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpelex
trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpelex
trunk/samples/tutorial/BPEL-BluePrint2/bpelContent/InventoryService.bpelex
trunk/samples/tutorial/BPEL-BluePrint2/bpelContent/POService.bpelex
trunk/samples/tutorial/BPEL-BluePrint3/bpelContent/InventoryService.bpelex
trunk/samples/tutorial/BPEL-BluePrint3/bpelContent/POService.bpelex
trunk/samples/tutorial/BPEL-BluePrint4/bpelContent/InventoryService.bpelex
trunk/samples/tutorial/BPEL-BluePrint4/bpelContent/POService.bpelex
trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/ReservationSystem.bpelex
trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/airlineReservation.bpelex
trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/carReservation.bpelex
trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/hotelReservation.bpelex
Log:
Remove bpelex files.
Deleted: trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/InventoryService.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,63 +0,0 @@
-<?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>
Deleted: trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint1/bpelContent/POService.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,99 +0,0 @@
-<?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>
Deleted: trunk/samples/tutorial/BPEL-BluePrint2/bpelContent/InventoryService.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint2/bpelContent/InventoryService.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint2/bpelContent/InventoryService.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
- <extensions>
- <extendedObject href="InventoryService.bpel#//@variables/(a)children.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@variables/(a)children.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1267643855000"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.3"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.3"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/(a)activities.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="InventoryService.bpel#//@activity/@activities.1/(a)elseIf.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CaseExtension"/>
- </extensions>
-</extensionmodel:ExtensionMap>
Deleted: trunk/samples/tutorial/BPEL-BluePrint2/bpelContent/POService.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint2/bpelContent/POService.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint2/bpelContent/POService.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,139 +0,0 @@
-<?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="1268320659000"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@variables/(a)children.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@variables/(a)children.3"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/(a)activities.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/(a)activities.3"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/(a)messages.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/@activities.0/(a)copy.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/(a)alarm.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/@activities.0/(a)copy.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/@activities.0/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/@activities.0/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/@activities.0/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/@activities.0/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.3"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.4"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.5"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
-</extensionmodel:ExtensionMap>
Deleted: trunk/samples/tutorial/BPEL-BluePrint3/bpelContent/InventoryService.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint3/bpelContent/InventoryService.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint3/bpelContent/InventoryService.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,103 +0,0 @@
-<?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="1268321524000"/>
- </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>
Deleted: trunk/samples/tutorial/BPEL-BluePrint3/bpelContent/POService.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint3/bpelContent/POService.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint3/bpelContent/POService.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,135 +0,0 @@
-<?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="1268322055000"/>
- </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#//@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#//@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>
- <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>
Deleted: trunk/samples/tutorial/BPEL-BluePrint4/bpelContent/InventoryService.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint4/bpelContent/InventoryService.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint4/bpelContent/InventoryService.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,71 +0,0 @@
-<?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>
Deleted: trunk/samples/tutorial/BPEL-BluePrint4/bpelContent/POService.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint4/bpelContent/POService.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint4/bpelContent/POService.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,167 +0,0 @@
-<?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="1268333556000"/>
- </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>
Deleted: trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/ReservationSystem.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/ReservationSystem.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/ReservationSystem.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,275 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
- <extensions>
- <extendedObject href="ReservationSystem.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268172551000"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.2/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="8" y="8"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.2/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="189" y="8"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.2/(a)activities.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="350" y="8"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.3"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="8" y="8"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/(a)messages.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/(a)alarm.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@alarm.0/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="378" y="8"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/(a)messages.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/(a)alarm.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@alarm.0/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/(a)activities.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="747" y="8"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/(a)messages.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/(a)alarm.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@alarm.0/(a)activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.4"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.5"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.3"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.4"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.5"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.6"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.7"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.8"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.9"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.10"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.3"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.4"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.5"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.6"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.7"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.8"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/@activities.1/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/@activities.1/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@alarm.0/@activity/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@alarm.0/@activity/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/@activities.1/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/@activities.1/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@alarm.0/@activity/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@alarm.0/@activity/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/@activities.1/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/@activities.1/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@alarm.0/@activity/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@alarm.0/@activity/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.3"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
-</extensionmodel:ExtensionMap>
Deleted: trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/airlineReservation.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/airlineReservation.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/airlineReservation.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
- <extensions>
- <extendedObject href="airlineReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268087941000"/>
- </extensions>
- <extensions>
- <extendedObject href="airlineReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="airlineReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="airlineReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="airlineReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="airlineReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="airlineReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="airlineReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="airlineReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="airlineReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
-</extensionmodel:ExtensionMap>
Deleted: trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/carReservation.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/carReservation.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/carReservation.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
- <extensions>
- <extendedObject href="carReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268087938000"/>
- </extensions>
- <extensions>
- <extendedObject href="carReservation.bpel#//@variables/(a)children.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="carReservation.bpel#//@variables/(a)children.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="carReservation.bpel#//@activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="carReservation.bpel#//@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="carReservation.bpel#//@activity/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="carReservation.bpel#//@activity/(a)activities.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="carReservation.bpel#//@activity/@activities.1/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="carReservation.bpel#//@activity/@activities.1/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="carReservation.bpel#//@activity/@activities.1/(a)copy.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
-</extensionmodel:ExtensionMap>
Deleted: trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/hotelReservation.bpelex
===================================================================
--- trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/hotelReservation.bpelex 2010-03-17 16:01:44 UTC (rev 574)
+++ trunk/samples/tutorial/BPEL-BluePrint5/bpelContent/hotelReservation.bpelex 2010-03-18 10:59:05 UTC (rev 575)
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
- <extensions>
- <extendedObject href="hotelReservation.bpel#/"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268087970000"/>
- </extensions>
- <extensions>
- <extendedObject href="hotelReservation.bpel#//@variables/(a)children.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="hotelReservation.bpel#//@variables/(a)children.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="hotelReservation.bpel#//@activity"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="hotelReservation.bpel#//@activity/(a)activities.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="hotelReservation.bpel#//@activity/(a)activities.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="hotelReservation.bpel#//@activity/(a)activities.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="hotelReservation.bpel#//@activity/@activities.1/(a)copy.0"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="hotelReservation.bpel#//@activity/@activities.1/(a)copy.1"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
- <extensions>
- <extendedObject href="hotelReservation.bpel#//@activity/@activities.1/(a)copy.2"/>
- <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
- </extensions>
-</extensionmodel:ExtensionMap>
14 years, 12 months
riftsaw SVN: r574 - in trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials: BluePrint2 and 2 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-03-17 12:01:44 -0400 (Wed, 17 Mar 2010)
New Revision: 574
Modified:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint1/BluePrint1TestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint2/BluePrint2TestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint3/BluePrint3TestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint4/BluePrint4TestCase.java
Log:
Updated some of the testcases to deal with differences in response format when using cxf.
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint1/BluePrint1TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint1/BluePrint1TestCase.java 2010-03-17 10:58:06 UTC (rev 573)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint1/BluePrint1TestCase.java 2010-03-17 16:01:44 UTC (rev 574)
@@ -51,6 +51,9 @@
result = result.replaceAll(" xmlns=\"\"","");
result = result.replaceAll("\"","'");
result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ result = result.replaceAll("<env:Fault>","<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>");
+ result = result.replaceAll("ns0","valueNS");
+ result = result.replaceAll("<faultstring>Fault string, and possibly fault code, not set</faultstring>","");
}
assertMessageFromFile(result, "invalid_response.xml");
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint2/BluePrint2TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint2/BluePrint2TestCase.java 2010-03-17 10:58:06 UTC (rev 573)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint2/BluePrint2TestCase.java 2010-03-17 16:01:44 UTC (rev 574)
@@ -51,6 +51,9 @@
result = result.replaceAll(" xmlns=\"\"","");
result = result.replaceAll("\"","'");
result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ result = result.replaceAll("<env:Fault>","<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>");
+ result = result.replaceAll("ns0","valueNS");
+ result = result.replaceAll("<faultstring>Fault string, and possibly fault code, not set</faultstring>","");
}
assertMessageFromFile(result, "invalid_response.xml");
@@ -66,6 +69,9 @@
result = result.replaceAll(" xmlns=\"\"","");
result = result.replaceAll("\"","'");
result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ result = result.replaceAll("<env:Fault>","<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>");
+ result = result.replaceAll("ns0","valueNS");
+ result = result.replaceAll("<faultstring>Fault string, and possibly fault code, not set</faultstring>","");
}
assertMessageFromFile(result, "timeout_response.xml");
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint3/BluePrint3TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint3/BluePrint3TestCase.java 2010-03-17 10:58:06 UTC (rev 573)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint3/BluePrint3TestCase.java 2010-03-17 16:01:44 UTC (rev 574)
@@ -51,6 +51,9 @@
result = result.replaceAll(" xmlns=\"\"","");
result = result.replaceAll("\"","'");
result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ result = result.replaceAll("<env:Fault>","<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>");
+ result = result.replaceAll("ns0","valueNS");
+ result = result.replaceAll("<faultstring>Fault string, and possibly fault code, not set</faultstring>","");
}
assertMessageFromFile(result, "invalid_response.xml");
@@ -66,6 +69,9 @@
result = result.replaceAll(" xmlns=\"\"","");
result = result.replaceAll("\"","'");
result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ result = result.replaceAll("<env:Fault>","<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>");
+ result = result.replaceAll("ns0","valueNS");
+ result = result.replaceAll("<faultstring>Fault string, and possibly fault code, not set</faultstring>","");
}
assertMessageFromFile(result, "throw_po_fault_response.xml");
@@ -81,6 +87,10 @@
result = result.replaceAll(" xmlns=\"\"","");
result = result.replaceAll("\"","'");
result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ result = result.replaceAll("<env:Fault>","<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>");
+ result = result.replaceAll("ns0","valueNS");
+ result = result.replaceAll("<faultstring>Fault string, and possibly fault code, not set</faultstring>","");
+ result = result.replaceAll("<tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/inventory' />","<tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/inventory'/>");
}
assertMessageFromFile(result, "throw_inv_fault_response.xml");
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint4/BluePrint4TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint4/BluePrint4TestCase.java 2010-03-17 10:58:06 UTC (rev 573)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint4/BluePrint4TestCase.java 2010-03-17 16:01:44 UTC (rev 574)
@@ -51,6 +51,10 @@
result = result.replaceAll(" xmlns=\"\"","");
result = result.replaceAll("\"","'");
result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ result = result.replaceAll("<env:Fault>","<env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>");
+ result = result.replaceAll("ns0","valueNS");
+ result = result.replaceAll("<faultstring>Fault string, and possibly fault code, not set</faultstring>","");
+ result = result.replaceAll("<tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/purchase' />","<tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/purchase'/>");
}
assertMessageFromFile(result, "invalid_response.xml");
14 years, 12 months
riftsaw SVN: r573 - in trunk: docs/docbook/userguide/src/main/module and 6 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-03-17 06:58:06 -0400 (Wed, 17 Mar 2010)
New Revision: 573
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel_response.xml
Modified:
trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml
trunk/docs/docbook/userguide/src/main/module/deploy.xml
trunk/integration-tests/build.xml
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java
Log:
Fixed blueprint integration tests - were missing packaging step and most of the expected response message files. Also updated docs to add info/warning about version number format as per RIFTSAW-183.
Modified: trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml
===================================================================
--- trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml 2010-03-17 04:16:20 UTC (rev 572)
+++ trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -120,6 +120,14 @@
the server will generate an exception.
</para>
</note>
+
+ <warning>
+ <para>
+ Currently the version must be specified as a single integer value. Non-numeric values, such
+ as versions expressed in a major.minor.incremental (maven style), will result in an
+ exception when deployed to the server.
+ </para>
+ </warning>
</section>
<section>
Modified: trunk/docs/docbook/userguide/src/main/module/deploy.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/module/deploy.xml 2010-03-17 04:16:20 UTC (rev 572)
+++ trunk/docs/docbook/userguide/src/main/module/deploy.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -67,6 +67,15 @@
archive (jar) containing the BPEL process (and associated artifacts)
has a version number suffix. This would need to be manually incremented
for each distinct version of the BPEL process being deployed.
+
+ <warning>
+ <para>
+ Currently the version must be specified as a single integer value. Non-numeric values, such
+ as versions expressed in a major.minor.incremental (maven style), will result in an
+ exception when deployed to the server.
+ </para>
+ </warning>
+
</listitem>
<listitem>
The next step is to define the <emphasis>deploy</emphasis> target, which
Modified: trunk/integration-tests/build.xml
===================================================================
--- trunk/integration-tests/build.xml 2010-03-17 04:16:20 UTC (rev 572)
+++ trunk/integration-tests/build.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -147,5 +147,11 @@
<ant antfile="src/test/resources/testcases/RiftSaw_163/build.xml" />
<ant antfile="src/test/resources/testcases/RiftSaw_70/build.xml" />
+ <ant antfile="src/test/resources/tutorials/BluePrint1/build.xml" />
+ <ant antfile="src/test/resources/tutorials/BluePrint2/build.xml" />
+ <ant antfile="src/test/resources/tutorials/BluePrint3/build.xml" />
+ <ant antfile="src/test/resources/tutorials/BluePrint4/build.xml" />
+ <ant antfile="src/test/resources/tutorials/BluePrint5/build.xml" />
+
</target>
</project>
Modified: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java 2010-03-17 04:16:20 UTC (rev 572)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java 2010-03-17 10:58:06 UTC (rev 573)
@@ -57,7 +57,7 @@
}
public void testSendBookHotel() throws Exception {
- String result=sendSOAPMessage("book_hoyel.xml",
+ String result=sendSOAPMessage("book_hotel.xml",
"http://localhost:8080/BPEL_BluePrint5_ReservationService");
// If testing against cxf, then result is presented slightly differently
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faultcode xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp2'>valueNS:cannotCompleteOrder</faultcode><detail><purchaseOrderFault xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/purchase'>404</tns:FaultCode>
+ <tns:FaultMessage xmlns:tns='http://manufacturing.org/xsd/purchase'>currently out of stock</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faultcode xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp2'>valueNS:cannotCompleteOrder</faultcode><detail><purchaseOrderFault xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/purchase'>408</tns:FaultCode>
+ <tns:FaultMessage xmlns:tns='http://manufacturing.org/xsd/purchase'>Time out waiting for inventory Response</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,6 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><pur:purchaseOrder xmlns:pur='http://manufacturing.org/xsd/purchase'>
+ <pur:orderId>2002</pur:orderId>
+ <pur:customerId>100656</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>49.98</pur:price>
+ </pur:purchaseOrder></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faultcode xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp3'>valueNS:cannotCompleteOrder</faultcode><detail><purchaseOrderFault xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/purchase'>404</tns:FaultCode>
+ <tns:FaultMessage xmlns:tns='http://manufacturing.org/xsd/purchase'>currently out of stock</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faultcode xmlns:valueNS='http://manufacturing.org/wsdl/inventory/bp3'>valueNS:inventoryFaultType</faultcode><detail><inventoryFault xmlns='http://manufacturing.org/xsd/inventory'>
+ <tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/inventory'/>
+ <tns:FaultMessage xmlns:tns='http://manufacturing.org/xsd/inventory'>Inventory Fault thrown for PurchaseOrder ID 456 customer ID </tns:FaultMessage>
+</inventoryFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faultcode xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp3'>valueNS:cannotCompleteOrder</faultcode><detail><purchaseOrderFault xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/purchase'>500</tns:FaultCode>
+ <tns:FaultMessage xmlns:tns='http://manufacturing.org/xsd/purchase'>throwing purchase order fault</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,6 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><pur:purchaseOrder xmlns:pur='http://manufacturing.org/xsd/purchase'>
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>49.98</pur:price>
+ </pur:purchaseOrder></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faultcode xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp4'>valueNS:cannotCompleteOrder</faultcode><detail><purchaseOrderFault xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/purchase'/>
+ <tns:FaultMessage xmlns:tns='http://manufacturing.org/xsd/purchase'>currently out of stock</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,6 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><pur:purchaseOrder xmlns:pur='http://manufacturing.org/xsd/purchase'>
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>49.98</pur:price>
+ </pur:purchaseOrder></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,5 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><reservationStatusOfAll xmlns='http://ReservationSystem.org/xsd/reserve'>
+ <tns:airlineStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</tns:airlineStatus>
+ <tns:hotelStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false</tns:hotelStatus>
+ <tns:carStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false</tns:carStatus>
+</reservationStatusOfAll></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,5 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><reservationStatusOfAll xmlns='http://ReservationSystem.org/xsd/reserve'>
+ <tns:airlineStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</tns:airlineStatus>
+ <tns:hotelStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</tns:hotelStatus>
+ <tns:carStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</tns:carStatus>
+</reservationStatusOfAll></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,5 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><reservationStatusOfAll xmlns='http://ReservationSystem.org/xsd/reserve'>
+ <tns:airlineStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false</tns:airlineStatus>
+ <tns:hotelStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false</tns:hotelStatus>
+ <tns:carStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</tns:carStatus>
+</reservationStatusOfAll></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel_response.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -0,0 +1,5 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><reservationStatusOfAll xmlns='http://ReservationSystem.org/xsd/reserve'>
+ <tns:airlineStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false</tns:airlineStatus>
+ <tns:hotelStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</tns:hotelStatus>
+ <tns:carStatus xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false</tns:carStatus>
+</reservationStatusOfAll></env:Body></env:Envelope>
\ No newline at end of file
14 years, 12 months
riftsaw SVN: r572 - in trunk/integration-tests/src/test: java/org/jboss/soa/bpel/tests/tutorials and 22 other directories.
by riftsaw-commits@lists.jboss.org
Author: bbrodt
Date: 2010-03-17 00:16:20 -0400 (Wed, 17 Mar 2010)
New Revision: 572
Added:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint1/
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint1/BluePrint1TestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint2/
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint2/BluePrint2TestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint3/
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint3/BluePrint3TestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint4/
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint4/BluePrint4TestCase.java
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java
trunk/integration-tests/src/test/resources/tutorials/
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/bpel-deploy.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/inventory.xsd
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/purchaseOrder.xsd
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/build.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/invalid.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/invalid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/valid.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/valid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/bpel-deploy.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/inventory.xsd
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/purchaseOrder.xsd
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/build.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/bpel-deploy.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/inventory.xsd
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/purchaseOrder.xsd
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/build.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POStatus.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/bpel-deploy.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/inventory.xsd
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/purchaseOrder.xsd
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/build.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/AirlineReservation.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/CarReservation.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/HotelReservation.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/Reservation.wsdl
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/ReservationSystem.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/ReservationSystem.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/airlineReservation.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/airlineReservation.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/bpel-deploy.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/carReservation.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/carReservation.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/hotelReservation.bpel
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/hotelReservation.bpelex
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/reservation.xsd
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/build.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel.xml
Log:
https://jira.jboss.org/jira/browse/RIFTSAW-145 add sun BPEL BluePrints to integration tests
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint1/BluePrint1TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint1/BluePrint1TestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint1/BluePrint1TestCase.java 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,59 @@
+package org.jboss.soa.bpel.tests.tutorials.BluePrint1;
+
+import junit.framework.Test;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+public class BluePrint1TestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "BluePrint1";
+
+ public BluePrint1TestCase() {
+ super(TEST_NAME);
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(BluePrint1TestCase.class,
+ TEST_NAME, "BluePrint1-1.jar"));
+ }
+
+ public void testSendValid() throws Exception {
+ String result=sendSOAPMessage("valid.xml",
+ "http://localhost:8080/BPEL_BluePrint1_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "valid_response.xml");
+ }
+
+ public void testSendInvalid() throws Exception {
+ String result=sendSOAPMessage("invalid.xml",
+ "http://localhost:8080/BPEL_BluePrint1_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "invalid_response.xml");
+ }
+
+}
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint2/BluePrint2TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint2/BluePrint2TestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint2/BluePrint2TestCase.java 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,74 @@
+package org.jboss.soa.bpel.tests.tutorials.BluePrint2;
+
+import junit.framework.Test;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+public class BluePrint2TestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "BluePrint2";
+
+ public BluePrint2TestCase() {
+ super(TEST_NAME);
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(BluePrint2TestCase.class,
+ TEST_NAME, "BluePrint2-1.jar"));
+ }
+
+ public void testSendValid() throws Exception {
+ String result=sendSOAPMessage("valid.xml",
+ "http://localhost:8080/BPEL_BluePrint2_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "valid_response.xml");
+ }
+
+ public void testSendInvalid() throws Exception {
+ String result=sendSOAPMessage("invalid.xml",
+ "http://localhost:8080/BPEL_BluePrint2_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "invalid_response.xml");
+ }
+
+ public void testSendTimeout() throws Exception {
+ String result=sendSOAPMessage("timeout.xml",
+ "http://localhost:8080/BPEL_BluePrint2_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "timeout_response.xml");
+ }
+
+}
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint3/BluePrint3TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint3/BluePrint3TestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint3/BluePrint3TestCase.java 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,89 @@
+package org.jboss.soa.bpel.tests.tutorials.BluePrint3;
+
+import junit.framework.Test;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+public class BluePrint3TestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "BluePrint3";
+
+ public BluePrint3TestCase() {
+ super(TEST_NAME);
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(BluePrint3TestCase.class,
+ TEST_NAME, "BluePrint3-1.jar"));
+ }
+
+ public void testSendValid() throws Exception {
+ String result=sendSOAPMessage("valid.xml",
+ "http://localhost:8080/BPEL_BluePrint3_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "valid_response.xml");
+ }
+
+ public void testSendInvalid() throws Exception {
+ String result=sendSOAPMessage("invalid.xml",
+ "http://localhost:8080/BPEL_BluePrint3_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "invalid_response.xml");
+ }
+
+ public void testSendThrowPOFault() throws Exception {
+ String result=sendSOAPMessage("throw_po_fault.xml",
+ "http://localhost:8080/BPEL_BluePrint3_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "throw_po_fault_response.xml");
+ }
+
+ public void testSendThrowInvFault() throws Exception {
+ String result=sendSOAPMessage("throw_inv_fault.xml",
+ "http://localhost:8080/BPEL_BluePrint3_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "throw_inv_fault_response.xml");
+ }
+
+}
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint4/BluePrint4TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint4/BluePrint4TestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint4/BluePrint4TestCase.java 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,59 @@
+package org.jboss.soa.bpel.tests.tutorials.BluePrint4;
+
+import junit.framework.Test;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+public class BluePrint4TestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "BluePrint4";
+
+ public BluePrint4TestCase() {
+ super(TEST_NAME);
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(BluePrint4TestCase.class,
+ TEST_NAME, "BluePrint4-1.jar"));
+ }
+
+ public void testSendValid() throws Exception {
+ String result=sendSOAPMessage("valid.xml",
+ "http://localhost:8080/BPEL_BluePrint4_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "valid_response.xml");
+ }
+
+ public void testSendInvalid() throws Exception {
+ String result=sendSOAPMessage("invalid.xml",
+ "http://localhost:8080/BPEL_BluePrint4_PurchaseOrderService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "invalid_response.xml");
+ }
+
+}
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,89 @@
+package org.jboss.soa.bpel.tests.tutorials.BluePrint5;
+
+import junit.framework.Test;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+public class BluePrint5TestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "BluePrint5";
+
+ public BluePrint5TestCase() {
+ super(TEST_NAME);
+ }
+
+ protected void setUp() throws Exception {
+ super.setUp();
+ }
+
+ protected void tearDown() throws Exception {
+ super.tearDown();
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(BluePrint5TestCase.class,
+ TEST_NAME, "BluePrint5-1.jar"));
+ }
+
+ public void testSendBookAirline() throws Exception {
+ String result=sendSOAPMessage("book_airline.xml",
+ "http://localhost:8080/BPEL_BluePrint5_ReservationService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "book_airline_response.xml");
+ }
+
+ public void testSendBookCar() throws Exception {
+ String result=sendSOAPMessage("book_car.xml",
+ "http://localhost:8080/BPEL_BluePrint5_ReservationService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "book_car_response.xml");
+ }
+
+ public void testSendBookHotel() throws Exception {
+ String result=sendSOAPMessage("book_hoyel.xml",
+ "http://localhost:8080/BPEL_BluePrint5_ReservationService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "book_hotel_response.xml");
+ }
+
+ public void testSendBookAll() throws Exception {
+ String result=sendSOAPMessage("book_all.xml",
+ "http://localhost:8080/BPEL_BluePrint5_ReservationService");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "book_all_response.xml");
+ }
+
+}
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/InventoryService.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/POService.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/bpel-deploy.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/bpel-deploy.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/bpel-deploy.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/inventory.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/inventory.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/inventory.xsd 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/purchaseOrder.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/purchaseOrder.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/bpel/purchaseOrder.xsd 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint1/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/build.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,30 @@
+<project name="BluePrint1" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/tutorials/${ant.project.name}" />
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <jar basedir="${test.dir}/bpel" destfile="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/invalid.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/invalid.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/invalid.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint1/messages/invalid_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/invalid_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/invalid_response.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,4 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><env:Fault xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faultcode xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp1'>valueNS:cannotCompleteOrder</faultcode><detail><purchaseOrderFault xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode xmlns:tns='http://manufacturing.org/xsd/purchase'>404</tns:FaultCode>
+ <tns:FaultMessage xmlns:tns='http://manufacturing.org/xsd/purchase'>currently out of stock</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/valid.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/valid.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/valid.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/valid_response.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/valid_response.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint1/messages/valid_response.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,6 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><pur:purchaseOrder xmlns:pur='http://manufacturing.org/xsd/purchase'>
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>49.97</pur:price>
+ </pur:purchaseOrder></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="InventoryService"
+ targetNamespace="http://manufacturing.org/wsdl/inventory/bp2"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
+ xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
+ xmlns:invs="http://manufacturing.org/wsdl/inventory/bp2"
+ xmlns:invsh="http://manufacturing.org/xsd/inventory"
+ xmlns:po="http://manufacturing.org/xsd/purchase">
+
+ <import namespace="http://manufacturing.org/wsdl/inventory/bp2"
+ location="InventoryService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/xsd/purchase"
+ location="purchaseOrder.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <import namespace="http://manufacturing.org/xsd/inventory"
+ location="inventory.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="inventoryServicing"
+ partnerLinkType="invs:inventoryRequestingLT"
+ myRole="inventoryService"
+ partnerRole="inventoryServiceRequester"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="inventoryServiceVar" messageType="invs:POMessage"></variable>
+ <variable name="inventoryServiceResponseVar" messageType="invs:InventoryMessage"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="inventoryService"
+ partnerLink="inventoryServicing"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ variable="inventoryServiceVar"
+ createInstance="yes">
+ </receive>
+ <if name="checkAvailability">
+ <condition>starts-with($inventoryServiceVar.purchaseOrder/po:orderDescription, 'OrderVal') = true()</condition>
+ <sequence name="Case1">
+ <assign name="Assign1">
+
+ <bpws:copy>
+ <bpws:from><bpws:literal><tns:inventory xmlns:tns="http://manufacturing.org/xsd/inventory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:orderId></tns:orderId>
+ <tns:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryServiceResponseVar" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>$inventoryServiceVar.purchaseOrder/po:orderId</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:orderId</to>
+ </copy>
+ <copy>
+ <from>true()</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>'available'</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatusMessage</to>
+ </copy>
+
+
+ </assign>
+ </sequence>
+ <bpws:elseif>
+ <bpws:condition><![CDATA[starts-with($inventoryServiceVar.purchaseOrder/po:orderDescription, 'OrderTimeout') = true()]]></bpws:condition>
+ <sequence name="Case2">
+ <bpws:wait name="Wait">
+ <bpws:for><![CDATA['PT15S']]></bpws:for>
+ </bpws:wait>
+ <assign name="Assign2">
+ <bpws:copy>
+ <bpws:from><bpws:literal><tns:inventory xmlns:tns="http://manufacturing.org/xsd/inventory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:orderId></tns:orderId>
+ <tns:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryServiceResponseVar" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>$inventoryServiceVar.purchaseOrder/po:orderId</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:orderId</to>
+ </copy>
+ <copy>
+ <from>false()</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>
+ <![CDATA['timed out searching for stock']]>
+ </from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatusMessage</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </bpws:elseif>
+ <else>
+ <sequence name="Case3">
+ <assign name="Assign3">
+ <bpws:copy>
+ <bpws:from><bpws:literal><tns:inventory xmlns:tns="http://manufacturing.org/xsd/inventory" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:orderId></tns:orderId>
+ <tns:inventoryStatus></tns:inventoryStatus>
+ <tns:inventoryStatusMessage></tns:inventoryStatusMessage>
+</tns:inventory>
+</bpws:literal></bpws:from>
+ <bpws:to variable="inventoryServiceResponseVar" part="inventoryPart"></bpws:to>
+ </bpws:copy>
+ <copy>
+ <from>$inventoryServiceVar.purchaseOrder/po:orderId</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:orderId</to>
+ </copy>
+ <copy>
+ <from>false()</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatus</to>
+ </copy>
+ <copy>
+ <from>'currently out of stock'</from>
+ <to>$inventoryServiceResponseVar.inventoryPart/invsh:inventoryStatusMessage</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </else>
+</if>
+ <invoke name="inventoryServiceResponse"
+ partnerLink="inventoryServicing"
+ portType="invs:inventoryServiceCallbackPortType"
+ operation="inventoryServiceResponse"
+ inputVariable="inventoryServiceResponseVar"/>
+ </sequence>
+</process>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1267643855000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/@else/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="InventoryService.bpel#//@activity/@activities.1/(a)elseIf.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CaseExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/InventoryService.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://manufacturing.org/wsdl/inventory/bp2"
+ name="InventoryService"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://manufacturing.org/wsdl/inventory/bp2"
+ xmlns:inv="http://manufacturing.org/xsd/inventory"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:po="http://manufacturing.org/xsd/purchase"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop">
+
+ <vprop:property name="orderID" type="xsd:int"/>
+
+ <vprop:propertyAlias propertyName="tns:orderID" messageType="tns:POMessage" part="purchaseOrder">
+ <vprop:query>po:orderId</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias propertyName="tns:orderID" messageType="tns:InventoryMessage" part="inventoryPart">
+ <vprop:query>inv:orderId</vprop:query>
+ </vprop:propertyAlias>
+
+ <plink:partnerLinkType name="inventoryRequestingLT">
+ <plink:role portType="tns:inventoryPortType" name="inventoryService"></plink:role>
+ <plink:role portType="tns:inventoryServiceCallbackPortType" name="inventoryServiceRequester"></plink:role>
+ </plink:partnerLinkType>
+
+ <types>
+ <xsd:schema targetNamespace="http://manufacturing.org/wsdl/inventory/bp2">
+ <xsd:import schemaLocation="inventory.xsd" namespace="http://manufacturing.org/xsd/inventory"/>
+ <xsd:import schemaLocation="purchaseOrder.xsd" namespace="http://manufacturing.org/xsd/purchase"/>
+ </xsd:schema>
+ </types>
+
+ <message name="InventoryMessage">
+ <part name="inventoryPart" element="inv:inventory"></part>
+ </message>
+
+ <message name="POMessage">
+ <part name="purchaseOrder" element="po:purchaseOrder"></part>
+ </message>
+
+ <portType name="inventoryPortType">
+ <operation name="inventoryService">
+ <input name="purchaseOrder" message="tns:POMessage"></input>
+ </operation>
+ </portType>
+
+ <portType name="inventoryServiceCallbackPortType">
+ <operation name="inventoryServiceResponse">
+ <input name="inventoryResponse" message="tns:InventoryMessage"></input>
+ </operation>
+ </portType>
+
+ <binding name="inventoryBinding" type="tns:inventoryPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="inventoryService">
+ <input name="purchaseOrder">
+ <soap:body parts="purchaseOrder" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="inventoryCallbackBinding" type="tns:inventoryServiceCallbackPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="inventoryServiceResponse">
+ <input name="inventoryResponse">
+ <soap:body parts="inventoryPart" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <service name="inventoryCallbackService">
+ <port name="inventoryCallbackServicePort" binding="tns:inventoryCallbackBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint2_InventoryServiceCallback"/>
+ </port>
+ </service>
+
+ <service name="inventoryService">
+ <port name="inventoryServicePort" binding="tns:inventoryBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint2_InventoryService"/>
+ </port>
+ </service>
+</definitions>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,238 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="POService"
+ targetNamespace="http://manufacturing.org/wsdl/purchase/bp2"
+ xmlns:pos="http://manufacturing.org/wsdl/purchase/bp2"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
+ xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
+ xmlns:invs="http://manufacturing.org/wsdl/inventory/bp2"
+ xmlns:invsh="http://manufacturing.org/xsd/inventory"
+ xmlns:po="http://manufacturing.org/xsd/purchase" xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
+
+ <import namespace="http://manufacturing.org/wsdl/purchase/bp2"
+ location="POService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/wsdl/inventory/bp2"
+ location="InventoryService.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://manufacturing.org/xsd/purchase"
+ location="purchaseOrder.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <import namespace="http://manufacturing.org/xsd/inventory"
+ location="inventory.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="POServicePLink"
+ partnerLinkType="pos:purchasingLT"
+ myRole="purchaseService"/>
+ <partnerLink name="inventoryRequesting"
+ partnerLinkType="invs:inventoryRequestingLT"
+ myRole="inventoryServiceRequester"
+ partnerRole="inventoryService"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="purchaseOrderRequest" messageType="pos:POMessage"></variable>
+ <variable name="purchaseOrderFault" messageType="pos:orderFaultType"></variable>
+ <variable name="inventoryServiceRequest" messageType="invs:POMessage"></variable>
+ <variable name="inventoryServiceReply" messageType="invs:InventoryMessage"></variable>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="CorrelationSet" properties="pos:corrprop"/>
+ <correlationSet name="POCorrelationSet" properties="invs:orderID"/>
+ </correlationSets>
+
+ <sequence>
+ <receive name="sendPurchaseOrder"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderRequest"
+ createInstance="yes">
+ <correlations>
+ <correlation set="CorrelationSet" initiate="yes"/>
+ </correlations>
+ </receive>
+ <assign name="Assign_2">
+ <bpel:copy>
+ <bpel:from><bpel:literal><tns:purchaseOrder xmlns:tns="http://manufacturing.org/xsd/purchase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:orderId></tns:orderId>
+ <tns:customerId></tns:customerId>
+ <tns:orderDescription></tns:orderDescription>
+ <tns:price></tns:price>
+</tns:purchaseOrder>
+</bpel:literal></bpel:from>
+ <bpel:to part="purchaseOrder" variable="inventoryServiceRequest"></bpel:to>
+ </bpel:copy>
+ <copy>
+ <from>49.98</from>
+ <to>
+
+
+ <![CDATA[$purchaseOrderRequest.purchaseOrder/po:price]]>
+ </to>
+ </copy>
+ <copy><from>$purchaseOrderRequest.purchaseOrder/po:orderId</from>
+ <to>
+ <![CDATA[$inventoryServiceRequest.purchaseOrder/po:orderId]]>
+ </to>
+
+ </copy>
+ <copy><from>$purchaseOrderRequest.purchaseOrder/po:customerId</from>
+ <to>$inventoryServiceRequest.purchaseOrder/po:customerId</to>
+
+ </copy>
+ <copy><from>$purchaseOrderRequest.purchaseOrder/po:orderDescription</from>
+ <to>$inventoryServiceRequest.purchaseOrder/po:orderDescription</to>
+
+ </copy>
+ <copy><from>$purchaseOrderRequest.purchaseOrder/po:price</from>
+ <to>$inventoryServiceRequest.purchaseOrder/po:price</to>
+
+ </copy>
+
+ </assign>
+ <invoke name="inventoryService"
+ partnerLink="inventoryRequesting"
+ portType="invs:inventoryPortType"
+ operation="inventoryService"
+ inputVariable="inventoryServiceRequest">
+ <correlations>
+ <correlation set="POCorrelationSet" initiate="yes"/>
+ </correlations>
+ </invoke>
+ <pick name="Event_Based_Decision" createInstance="no">
+ <onMessage partnerLink="inventoryRequesting"
+ portType="invs:inventoryServiceCallbackPortType"
+ operation="inventoryServiceResponse"
+ variable="inventoryServiceReply">
+ <correlations>
+ <correlation set="POCorrelationSet" initiate="no"/>
+ </correlations>
+ <sequence>
+ <if name="Decision">
+ <bpel:condition><![CDATA[$inventoryServiceReply.inventoryPart/invsh:inventoryStatus = 'true']]></bpel:condition>
+ <sequence name="Case2">
+ <reply name="sendPurchaseOrder.Reply"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderRequest"/>
+ </sequence>
+ <else>
+ <sequence name="Case1">
+ <assign name="Assign2">
+ <bpel:copy>
+ <bpel:from><bpel:literal><tns:purchaseOrderFault xmlns:tns="http://manufacturing.org/xsd/purchase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:FaultCode></tns:FaultCode>
+ <tns:FaultMessage></tns:FaultMessage>
+</tns:purchaseOrderFault>
+</bpel:literal></bpel:from>
+ <bpel:to variable="purchaseOrderFault" part="cannotCompleteOrder"></bpel:to>
+ </bpel:copy>
+
+
+
+ <bpel:copy><bpel:from>
+ <bpel:literal xml:space="preserve">404</bpel:literal>
+ </bpel:from>
+ <bpel:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+ <![CDATA[po:FaultCode]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <copy><from>$inventoryServiceReply.inventoryPart/invsh:inventoryStatusMessage</from>
+ <to>
+
+ <![CDATA[$purchaseOrderFault.cannotCompleteOrder/po:FaultMessage]]>
+ </to>
+
+ </copy>
+ </assign>
+ <reply name="sendPurchaseOrder.Fault_2"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderFault"
+ faultName="pos:cannotCompleteOrder"/>
+ </sequence>
+ </else>
+ </if>
+ </sequence>
+ </onMessage>
+ <onAlarm>
+ <bpel:for><![CDATA['PT10S']]></bpel:for>
+ <sequence>
+ <assign name="Assign">
+ <bpel:copy>
+ <bpel:from><bpel:literal><tns:purchaseOrderFault xmlns:tns="http://manufacturing.org/xsd/purchase" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:FaultCode></tns:FaultCode>
+ <tns:FaultMessage></tns:FaultMessage>
+</tns:purchaseOrderFault>
+</bpel:literal></bpel:from>
+ <bpel:to variable="purchaseOrderFault" part="cannotCompleteOrder"></bpel:to>
+ </bpel:copy>
+
+
+ <bpel:copy><bpel:from>
+ <bpel:literal xml:space="preserve">408</bpel:literal>
+ </bpel:from>
+ <bpel:to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultCode]]></bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <copy><from>'Time out waiting for inventory Response'</from>
+ <to part="cannotCompleteOrder" variable="purchaseOrderFault">
+ <bpel:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[po:FaultMessage]]></bpel:query>
+ </to>
+
+ </copy>
+ </assign>
+ <reply name="sendPurchaseOrder.Fault"
+ partnerLink="POServicePLink"
+ portType="pos:purchaseOrderPT"
+ operation="sendPurchaseOrder"
+ variable="purchaseOrderFault"
+ faultName="pos:cannotCompleteOrder"/>
+ </sequence>
+ </onAlarm>
+ </pick>
+ </sequence>
+</process>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268320659000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@variables/(a)children.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/(a)activities.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/@activities.0/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@messages.0/@activity/@activities.0/@else/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/@activities.0/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.3/@alarm.0/@activity/@activities.0/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="POService.bpel#//@activity/@activities.1/(a)copy.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/POService.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://manufacturing.org/wsdl/purchase/bp2"
+ name="POService"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://manufacturing.org/wsdl/purchase/bp2"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:inv="http://manufacturing.org/xsd/inventory"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:sns="http://manufacturing.org/xsd/purchase"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop">
+
+ <types>
+ <xsd:schema targetNamespace="http://manufacturing.org/wsdl/purchase/bp2">
+ <xsd:import schemaLocation="inventory.xsd" namespace="http://manufacturing.org/xsd/inventory"/>
+ </xsd:schema>
+ <xsd:schema targetNamespace="http://manufacturing.org/wsdl/purchase/bp2">
+ <xsd:import schemaLocation="purchaseOrder.xsd" namespace="http://manufacturing.org/xsd/purchase"/>
+ </xsd:schema>
+ </types>
+
+ <message name="POMessage">
+ <part name="purchaseOrder" element="sns:purchaseOrder"></part>
+ </message>
+
+ <message name="orderFaultType">
+ <part name="cannotCompleteOrder" element="sns:purchaseOrderFault"></part>
+ </message>
+
+ <portType name="purchaseOrderPT">
+ <operation name="sendPurchaseOrder">
+ <input name="sendPurchaseOrderRequest" message="tns:POMessage"></input>
+ <output name="sendPurchaseOrderReply" message="tns:POMessage"></output>
+ <fault name="cannotCompleteOrder" message="tns:orderFaultType"></fault>
+ </operation>
+ </portType>
+
+ <binding name="purchaseOrderBinding" type="tns:purchaseOrderPT">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="sendPurchaseOrder">
+ <input name="sendPurchaseOrderRequest">
+ <soap:body parts="purchaseOrder" use="literal"/>
+ </input>
+ <output name="sendPurchaseOrderReply">
+ <soap:body parts="purchaseOrder" use="literal"/>
+ </output>
+ <fault name="cannotCompleteOrder">
+ <soap:fault name="cannotCompleteOrder" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+
+ <service name="purchaseOrderService">
+ <port name="purchaseOrderPort"
+ binding="tns:purchaseOrderBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint2_PurchaseOrderService"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="purchasingLT">
+ <plink:role name="purchaseService" portType="tns:purchaseOrderPT"></plink:role>
+ </plink:partnerLinkType>
+
+ <vprop:property name="corrprop" type="xsd:int"/>
+
+ <vprop:propertyAlias propertyName="tns:corrprop" messageType="tns:POMessage" part="purchaseOrder">
+ <vprop:query>sns:orderId</vprop:query>
+ </vprop:propertyAlias>
+
+</definitions>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/bpel-deploy.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/bpel-deploy.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/bpel-deploy.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:bp2="http://manufacturing.org/wsdl/inventory/bp2" xmlns:bp2_1="http://manufacturing.org/wsdl/purchase/bp2">
+ <process name="bp2:InventoryService">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="inventoryServicing">
+ <service name="bp2:inventoryService" port="inventoryServicePort"/>
+ </provide>
+ <invoke partnerLink="inventoryServicing">
+ <service name="bp2:inventoryCallbackService" port="inventoryCallbackServicePort"/>
+ </invoke>
+ </process>
+ <process name="bp2_1:POService">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="POServicePLink">
+ <service name="bp2_1:purchaseOrderService" port="purchaseOrderPort"/>
+ </provide>
+ <provide partnerLink="inventoryRequesting">
+ <service name="bp2:inventoryCallbackService" port="inventoryCallbackServicePort"/>
+ </provide>
+ <invoke partnerLink="inventoryRequesting">
+ <service name="bp2:inventoryService" port="inventoryServicePort"/>
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/inventory.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/inventory.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/inventory.xsd 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://manufacturing.org/xsd/inventory"
+ xmlns:tns ="http://manufacturing.org/xsd/inventory"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
+ <xs:element name="inventory" type="tns:inventoryType">
+ </xs:element>
+
+ <xs:complexType name="inventoryType">
+ <xs:sequence>
+ <xs:element name="orderId" type="xs:int"/>
+ <xs:element name="inventoryStatus" type="xs:boolean"/>
+ <xs:element name="inventoryStatusMessage" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/purchaseOrder.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/purchaseOrder.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/bpel/purchaseOrder.xsd 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint2/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/build.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,30 @@
+<project name="BluePrint2" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/tutorials/${ant.project.name}" />
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <jar basedir="${test.dir}/bpel" destfile="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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>2001</pur:orderId>
+ <pur:customerId>100656</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/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>2003</pur:orderId>
+ <pur:customerId>100656</pur:customerId>
+ <pur:orderDescription>OrderTimeout: Simulate Inventory Service timeout</pur:orderDescription>
+ <pur:price></pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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>2002</pur:orderId>
+ <pur:customerId>100656</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
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -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">
+ <bpws:condition><![CDATA[starts-with($purchaseOrder.purchaseOrder/po:orderDescription, 'OrderVal') = true()]]></bpws: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/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -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="1268321524000"/>
+ </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/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/InventoryService.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,248 @@
+<?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"/>
+<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>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,135 @@
+<?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="1268322055000"/>
+ </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#//@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#//@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>
+ <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>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/POService.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/bpel-deploy.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/bpel-deploy.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/bpel-deploy.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/inventory.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/inventory.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/inventory.xsd 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/purchaseOrder.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/purchaseOrder.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/bpel/purchaseOrder.xsd 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint3/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/build.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,30 @@
+<project name="BluePrint3" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/tutorials/${ant.project.name}" />
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <jar basedir="${test.dir}/bpel" destfile="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/InventoryService.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -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:8080/BPEL_BluePrint4_InventoryService"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="inventoryRequestingLT">
+ <plink:role name="inventoryService" portType="tns:inventoryPortType"></plink:role>
+ </plink:partnerLinkType>
+</definitions>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,246 @@
+<?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 part="status" variable="POStatusReply">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[ns2:Status]]></bpws:query>
+ </to>
+ </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 part="status" variable="POStatusReply">
+ <bpws:query queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[ns2:Status]]></bpws:query>
+ </to>
+ </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/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -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="1268333556000"/>
+ </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/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POService.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -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:8080/BPEL_BluePrint4_PurchaseOrderService"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="purchasingLT">
+ <plink:role name="purchaseService" portType="tns:purchaseOrderPT"></plink:role>
+ </plink:partnerLinkType>
+</definitions>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POStatus.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POStatus.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/POStatus.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -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:8080/BPEL_BluePrint4_PurchaseOrderConfirmService"/>
+ </port>
+ <port name="POCancelPort" binding="tns:POCancelBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint4_PurchaseOrderCancelService"/>
+ </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/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/bpel-deploy.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/bpel-deploy.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/bpel-deploy.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/inventory.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/inventory.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/inventory.xsd 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/purchaseOrder.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/purchaseOrder.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/bpel/purchaseOrder.xsd 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint4/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/build.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,30 @@
+<project name="BluePrint4" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/tutorials/${ant.project.name}" />
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <jar basedir="${test.dir}/bpel" destfile="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -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>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/AirlineReservation.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/AirlineReservation.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/AirlineReservation.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://localhost/BluePrint5/AirlineReservation"
+ name="AirlineReservation"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://localhost/BluePrint5/AirlineReservation"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:ns="http://ReservationSystem.org/xsd/reserve"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:res="http://localhost/BluePrint5/Reservation">
+
+ <types>
+ <xsd:schema targetNamespace="http://localhost/BluePrint5/AirlineReservation">
+ <xsd:import schemaLocation="reservation.xsd" namespace="http://ReservationSystem.org/xsd/reserve"/>
+ </xsd:schema>
+ </types>
+
+ <message name="AirlineReservation">
+ <part name="reserveAirlinePart" element="ns:reserve"></part>
+ </message>
+
+ <message name="AirlineStatus">
+ <part name="status" element="ns:reserveStatus"></part>
+ </message>
+
+ <portType name="AirlineReservationPortType">
+ <operation name="reserveAirline">
+ <input name="reserveMesg" message="tns:AirlineReservation"></input>
+ </operation>
+ </portType>
+
+ <portType name="AirlineStatusPortType">
+ <operation name="sendAirlineStatus">
+ <input name="statusMesg" message="tns:AirlineStatus"></input>
+ </operation>
+ </portType>
+
+ <binding name="AirlineReservationBinding" type="tns:AirlineReservationPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="reserveAirline">
+ <soap:operation style="document"/>
+ <input name="reserveMesg">
+ <soap:body parts="reserveAirlinePart" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="AirlineStatusBinding"
+ type="tns:AirlineStatusPortType">
+ <soap:binding style="document"
+ transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="sendAirlineStatus">
+ <soap:operation style="document"/>
+ <input name="statusMesg">
+ <soap:body parts="status" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <service name="AirlineService">
+ <port name="AirlineServicePort"
+ binding="tns:AirlineReservationBinding">
+ <soap:address location="http://localhost:8080/AirlineServiceLocation"/>
+ </port>
+ </service>
+
+ <service name="AirlineStatusService">
+ <port name="AirlineStatusServicePort"
+ binding="tns:AirlineStatusBinding">
+ <soap:address location="http://localhost:8080/AirlineStatusServiceLocation"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="AirlineReservationPLinkType">
+ <plink:role portType="tns:AirlineReservationPortType"
+ name="reservingRole"></plink:role>
+ </plink:partnerLinkType>
+
+ <plink:partnerLinkType name="AirlineStatusPLinkType">
+ <plink:role portType="tns:AirlineStatusPortType"
+ name="statusReceivingRole"></plink:role>
+ </plink:partnerLinkType>
+
+ <bpws:propertyAlias part="status"
+ propertyName="res:reservationID"
+ messageType="tns:AirlineStatus">
+ <bpws:query>ns:reservationID</bpws:query>
+ </bpws:propertyAlias>
+</definitions>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/CarReservation.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/CarReservation.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/CarReservation.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://localhost/BluePrint5/CarReservation"
+ name="CarReservation"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://localhost/BluePrint5/CarReservation"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:ns="http://ReservationSystem.org/xsd/reserve"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:res="http://localhost/BluePrint5/Reservation">
+
+ <types>
+ <xsd:schema targetNamespace="http://localhost/BluePrint5/CarReservation">
+ <xsd:import schemaLocation="reservation.xsd" namespace="http://ReservationSystem.org/xsd/reserve"/>
+ </xsd:schema>
+ </types>
+
+ <message name="CarReservation">
+ <part name="reserveCarPart" element="ns:reserve"></part>
+ </message>
+
+ <message name="CarStatus">
+ <part name="status" element="ns:reserveStatus"></part>
+ </message>
+
+ <portType name="CarReservationPortType">
+ <operation name="reserveCar">
+ <input name="reserveMesg" message="tns:CarReservation"></input>
+ </operation>
+ </portType>
+
+ <portType name="CarStatusPortType">
+ <operation name="sendCarStatus">
+ <input name="statusMesg" message="tns:CarStatus"></input>
+ </operation>
+ </portType>
+
+ <binding name="CarReservationBinding" type="tns:CarReservationPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="reserveCar">
+ <soap:operation style="document"/>
+ <input name="reserveMesg">
+ <soap:body parts="reserveCarPart" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="CarStatusBinding" type="tns:CarStatusPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="sendCarStatus">
+ <soap:operation style="document"/>
+ <input name="statusMesg">
+ <soap:body parts="status" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <service name="CarService">
+ <port name="CarServicePort" binding="tns:CarReservationBinding">
+ <soap:address location="http://localhost:8080/CarServiceLocation"/>
+ </port>
+ </service>
+
+ <service name="CarStatusService">
+ <port name="CarStatusServicePort" binding="tns:CarStatusBinding">
+ <soap:address location="http://localhost:8080/CarStatusServiceLocation"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="CarReservationPLinkType">
+ <plink:role portType="tns:CarReservationPortType" name="reservingRole"></plink:role>
+ </plink:partnerLinkType>
+
+ <plink:partnerLinkType name="CarStatusPLinkType">
+ <plink:role portType="tns:CarStatusPortType" name="statusReceivingRole"></plink:role>
+ </plink:partnerLinkType>
+
+ <bpws:propertyAlias part="status"
+ propertyName="res:reservationID"
+ messageType="tns:CarStatus">
+ <bpws:query>ns:reservationID</bpws:query>
+ </bpws:propertyAlias>
+</definitions>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/HotelReservation.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/HotelReservation.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/HotelReservation.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://localhost/BluePrint5/HotelReservation"
+ name="HotelReservation"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://localhost/BluePrint5/HotelReservation"
+ xmlns:ns0="http://localhost/BluePrint5/Reservation"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:ns="http://ReservationSystem.org/xsd/reserve"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:res="http://localhost/BluePrint5/Reservation">
+
+ <types>
+ <xsd:schema targetNamespace="http://localhost/BluePrint5/HotelReservation">
+ <xsd:import schemaLocation="reservation.xsd" namespace="http://ReservationSystem.org/xsd/reserve"/>
+ </xsd:schema>
+ </types>
+
+ <message name="HotelReservation">
+ <part name="reserveHotelPart" element="ns:reserve"></part>
+ </message>
+
+ <message name="HotelStatus">
+ <part name="status" element="ns:reserveStatus"></part>
+ </message>
+
+ <portType name="HotelReservationPortType">
+ <operation name="reserveHotel">
+ <input name="reserveMesg" message="tns:HotelReservation"></input>
+ </operation>
+ </portType>
+
+ <portType name="HotelStatusPortType">
+ <operation name="sendHotelStatus">
+ <input name="statusMesg" message="tns:HotelStatus"></input>
+ </operation>
+ </portType>
+
+ <binding name="HotelReservationBinding"
+ type="tns:HotelReservationPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="reserveHotel">
+ <soap:operation style="document"/>
+ <input name="reserveMesg">
+ <soap:body parts="reserveHotelPart" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <binding name="HotelStatusBinding" type="tns:HotelStatusPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="sendHotelStatus">
+ <soap:operation style="document"/>
+ <input name="statusMesg">
+ <soap:body parts="status" use="literal"/>
+ </input>
+ </operation>
+ </binding>
+
+ <service name="HotelService">
+ <port name="HotelServicePort" binding="tns:HotelReservationBinding">
+ <soap:address location="http://localhost:8080/HotelServiceLocation"/>
+ </port>
+ </service>
+
+ <service name="HotelStatusService">
+ <port name="HotelStatusServicePort" binding="tns:HotelStatusBinding">
+ <soap:address location="http://localhost:8080/HotelStatusServiceLocation"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="HotelReservationPLinkType">
+ <plink:role name="reservingRole"
+ portType="tns:HotelReservationPortType"></plink:role>
+ </plink:partnerLinkType>
+
+ <plink:partnerLinkType name="HotelStatusPLinkType">
+ <plink:role name="statusReceivingRole"
+ portType="tns:HotelStatusPortType"></plink:role>
+ </plink:partnerLinkType>
+
+ <bpws:propertyAlias part="status"
+ propertyName="res:reservationID"
+ messageType="tns:HotelStatus">
+ <bpws:query>ns:reservationID</bpws:query>
+ </bpws:propertyAlias>
+</definitions>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/Reservation.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/Reservation.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/Reservation.wsdl 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<definitions targetNamespace="http://localhost/BluePrint5/Reservation"
+ name="Reservation"
+ xmlns:bpws="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:tns="http://localhost/BluePrint5/Reservation"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:plink="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://ReservationSystem.org/xsd/reserve">
+ <types>
+ <xsd:schema targetNamespace="http://localhost/BluePrint5/Reservation">
+ <xsd:import schemaLocation="reservation.xsd" namespace="http://ReservationSystem.org/xsd/reserve"/>
+ <xsd:element name="faultString" type="xsd:string"/>
+ </xsd:schema>
+ </types>
+
+ <message name="reserveMesg">
+ <part name="reservePart" element="ns:reserve"></part>
+ </message>
+
+ <message name="reservationStatus">
+ <part name="reservationStatusPart" element="ns:reservationStatusOfAll"></part>
+ </message>
+
+ <message name="reservationFailed">
+ <part name="faultInfo" element="tns:faultString"></part>
+ </message>
+
+ <portType name="reservationPortType">
+ <operation name="reserve">
+ <input name="reserveMesg" message="tns:reserveMesg"></input>
+ <output name="reservationStatus" message="tns:reservationStatus"></output>
+ <fault name="reservationFailed" message="tns:reservationFailed"></fault>
+ </operation>
+ </portType>
+
+ <binding name="reservationBinding" type="tns:reservationPortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="reserve">
+ <input name="reserveMesg">
+ <soap:body parts="reservePart" use="literal"/>
+ </input>
+ <output name="reservationStatus">
+ <soap:body parts="reservationStatusPart" use="literal"/>
+ </output>
+ <fault name="reservationFailed">
+ <soap:fault name="reservationFailed" use="literal"/>
+ </fault>
+ </operation>
+ </binding>
+
+ <service name="reservationService">
+ <port name="reservationServicePort"
+ binding="tns:reservationBinding">
+ <soap:address location="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
+ </port>
+ </service>
+
+ <plink:partnerLinkType name="reservationPLinkType">
+ <plink:role name="reservationServicing" portType="tns:reservationPortType"></plink:role>
+ </plink:partnerLinkType>
+
+ <bpws:property name="reservationID" type="xsd:long"></bpws:property>
+
+ <bpws:propertyAlias part="reservePart"
+ propertyName="tns:reservationID"
+ messageType="tns:reserveMesg">
+ <bpws:query>ns:reservationID</bpws:query>
+ </bpws:propertyAlias>
+</definitions>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/ReservationSystem.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/ReservationSystem.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/ReservationSystem.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,331 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="ReservationSystem"
+ targetNamespace="http://www.seebeyond.com/eInsight/ReservationSystem"
+ xmlns:tns="http://www.seebeyond.com/eInsight/ReservationSystem"
+ xmlns:ns0="http://localhost/BluePrint5/Reservation"
+ xmlns:ns1="http://localhost/BluePrint5/AirlineReservation"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:ns3="http://localhost/BluePrint5/HotelReservation"
+ xmlns:ns2="http://localhost/BluePrint5/CarReservation"
+ xmlns:rsrv="http://ReservationSystem.org/xsd/reserve">
+
+ <import namespace="http://localhost/BluePrint5/Reservation"
+ location="Reservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/AirlineReservation"
+ location="AirlineReservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/CarReservation"
+ location="CarReservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/HotelReservation"
+ location="HotelReservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://ReservationSystem.org/xsd/reserve"
+ location="reservation.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="reservationPLink" partnerLinkType="ns0:reservationPLinkType" myRole="reservationServicing"/>
+ <partnerLink name="airlineReservationPLink" partnerLinkType="ns1:AirlineReservationPLinkType" partnerRole="reservingRole"/>
+ <partnerLink name="airlineStatusPLink" partnerLinkType="ns1:AirlineStatusPLinkType" myRole="statusReceivingRole"/>
+ <partnerLink name="carReservationPLink" partnerLinkType="ns2:CarReservationPLinkType" partnerRole="reservingRole"/>
+ <partnerLink name="carStatusPLink" partnerLinkType="ns2:CarStatusPLinkType" myRole="statusReceivingRole"/>
+ <partnerLink name="hotelReservationPLink" partnerLinkType="ns3:HotelReservationPLinkType" partnerRole="reservingRole"/>
+ <partnerLink name="hotelStatusPLink" partnerLinkType="ns3:HotelStatusPLinkType" myRole="statusReceivingRole"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="reserve" messageType="ns0:reserveMesg"></variable>
+ <variable name="reservationStatus" messageType="ns0:reservationStatus"></variable>
+ <variable name="reserveAirlineVar" messageType="ns1:AirlineReservation"></variable>
+ <variable name="airlineStatusVar" messageType="ns1:AirlineStatus"></variable>
+ <variable name="reserveCarVar" messageType="ns2:CarReservation"></variable>
+ <variable name="carStatusVar" messageType="ns2:CarStatus"></variable>
+ <variable name="reserveHotelVar" messageType="ns3:HotelReservation"></variable>
+ <variable name="hotelStatusVar" messageType="ns3:HotelStatus"></variable>
+ <variable name="tempCarStatusVar" messageType="ns2:CarStatus"></variable>
+ <variable name="tempAirlineStatusVar" messageType="ns1:AirlineStatus"></variable>
+ <variable name="tempHotelStatusVar" messageType="ns3:HotelStatus"></variable>
+ </variables>
+
+ <correlationSets>
+ <correlationSet name="reservationCorrelationSet" properties="ns0:reservationID "/>
+ </correlationSets>
+
+ <sequence>
+ <receive name="reserve"
+ partnerLink="reservationPLink"
+ portType="ns0:reservationPortType"
+ operation="reserve"
+ variable="reserve"
+ createInstance="yes">
+ <correlations>
+ <correlation set="reservationCorrelationSet" initiate="yes"/>
+ </correlations>
+ </receive>
+
+ <assign name="Assign_1">
+ <copy>
+ <from><literal><tns:reserve xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:description></tns:description>
+</tns:reserve>
+</literal></from>
+ <to variable="reserveHotelVar" part="reserveHotelPart"></to>
+ </copy>
+ <copy>
+ <from><literal><tns:reserve xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:description></tns:description>
+</tns:reserve>
+</literal></from>
+ <to variable="reserveCarVar" part="reserveCarPart"></to>
+ </copy>
+ <copy>
+ <from><literal><tns:reserve xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:description></tns:description>
+</tns:reserve>
+</literal></from>
+ <to variable="reserveAirlineVar" part="reserveAirlinePart"></to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:reservationID</from>
+ <to>$reserveAirlineVar.reserveAirlinePart/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:description</from>
+ <to>$reserveAirlineVar.reserveAirlinePart/rsrv:description</to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:reservationID</from>
+ <to>$reserveCarVar.reserveCarPart/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:description</from>
+ <to>$reserveCarVar.reserveCarPart/rsrv:description</to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:reservationID</from>
+ <to>$reserveHotelVar.reserveHotelPart/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>$reserve.reservePart/rsrv:description</from>
+ <to>$reserveHotelVar.reserveHotelPart/rsrv:description</to>
+ </copy>
+
+ </assign>
+
+
+ <flow name="Flow2"><invoke name="reserveAirline" partnerLink="airlineReservationPLink" portType="ns1:AirlineReservationPortType" operation="reserveAirline" inputVariable="reserveAirlineVar"></invoke>
+ <invoke name="reserveCar" partnerLink="carReservationPLink" portType="ns2:CarReservationPortType" operation="reserveCar" inputVariable="reserveCarVar"></invoke>
+ <invoke name="reserveHotel" partnerLink="hotelReservationPLink" portType="ns3:HotelReservationPortType" operation="reserveHotel" inputVariable="reserveHotelVar"></invoke>
+
+ </flow>
+ <flow name="Flow">
+ <pick name="receiveHotelStatus">
+ <onMessage partnerLink="hotelStatusPLink"
+ portType="ns3:HotelStatusPortType"
+ operation="sendHotelStatus"
+ variable="hotelStatusVar">
+ <correlations>
+ <correlation set="reservationCorrelationSet" initiate="no"/>
+ </correlations>
+ <sequence>
+ <empty name="Empty3"></empty>
+ <assign name="Assign_7">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempHotelStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>$hotelStatusVar.status/rsrv:reservationStatus</from>
+ <to>$tempHotelStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </onMessage>
+ <onAlarm>
+ <for>'P0Y0DT2M'</for>
+ <assign name="Assign_2">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempHotelStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>false()</from>
+ <to>$tempHotelStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </onAlarm>
+ </pick>
+ <pick name="receiveCarStatus">
+ <onMessage partnerLink="carStatusPLink"
+ portType="ns2:CarStatusPortType"
+ operation="sendCarStatus"
+ variable="carStatusVar">
+ <correlations>
+ <correlation set="reservationCorrelationSet" initiate="no"/>
+ </correlations>
+ <sequence>
+ <empty name="Empty_2"></empty>
+ <assign name="Assign1">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempCarStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>$carStatusVar.status/rsrv:reservationStatus</from>
+ <to>$tempCarStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </onMessage>
+ <onAlarm>
+ <for>'P0Y0DT2M'</for>
+ <assign name="Assign_3">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempCarStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>false()</from>
+ <to>$tempCarStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </onAlarm>
+ </pick>
+ <pick name="receiveAirlineStatus">
+ <onMessage partnerLink="airlineStatusPLink"
+ portType="ns1:AirlineStatusPortType"
+ operation="sendAirlineStatus"
+ variable="airlineStatusVar">
+ <correlations>
+ <correlation set="reservationCorrelationSet" initiate="no"/>
+ </correlations>
+ <sequence>
+ <empty name="Empty"></empty>
+ <assign name="Assign">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempAirlineStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>$airlineStatusVar.status/rsrv:reservationStatus</from>
+ <to>$tempAirlineStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </sequence>
+ </onMessage>
+ <onAlarm>
+ <for>'P0Y0DT2M'</for>
+ <assign name="Assign_4">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="tempAirlineStatusVar" part="status"></to>
+ </copy>
+ <copy>
+ <from>false()</from>
+ <to>$tempAirlineStatusVar.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ </onAlarm>
+ </pick>
+ </flow>
+
+ <assign name="Assign2">
+ <copy>
+ <from><literal><tns:reservationStatusOfAll xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:airlineStatus></tns:airlineStatus>
+ <tns:hotelStatus></tns:hotelStatus>
+ <tns:carStatus></tns:carStatus>
+</tns:reservationStatusOfAll>
+</literal></from>
+ <to variable="reservationStatus" part="reservationStatusPart"></to>
+ </copy>
+ <copy>
+ <from>$tempAirlineStatusVar.status/rsrv:reservationStatus</from>
+ <to>$reservationStatus.reservationStatusPart/rsrv:airlineStatus</to>
+ </copy>
+ <copy>
+ <from>$tempCarStatusVar.status/rsrv:reservationStatus</from>
+ <to>$reservationStatus.reservationStatusPart/rsrv:carStatus</to>
+ </copy>
+ <copy>
+ <from>$tempHotelStatusVar.status/rsrv:reservationStatus</from>
+ <to>$reservationStatus.reservationStatusPart/rsrv:hotelStatus</to>
+ </copy>
+
+ </assign>
+
+ <reply name="reserve.Reply"
+ partnerLink="reservationPLink"
+ portType="ns0:reservationPortType"
+ operation="reserve"
+ variable="reservationStatus"></reply>
+ </sequence>
+</process>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/ReservationSystem.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/ReservationSystem.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/ReservationSystem.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,275 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268172551000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.2/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="8" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.2/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="189" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.2/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="350" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="8" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="378" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension" x="747" y="8"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/(a)messages.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnMessageExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/(a)alarm.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:OnAlarmExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@alarm.0/(a)activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/(a)activities.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.6"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.7"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.8"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.9"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@variables/(a)children.10"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.4"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.5"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.6"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.7"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.1/(a)copy.8"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@messages.0/@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@alarm.0/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.0/@alarm.0/@activity/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@messages.0/@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@alarm.0/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.1/@alarm.0/@activity/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@messages.0/@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@alarm.0/@activity/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.3/@activities.2/@alarm.0/@activity/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="ReservationSystem.bpel#//@activity/@activities.4/(a)copy.3"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/airlineReservation.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/airlineReservation.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/airlineReservation.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="airlineReservation"
+ targetNamespace="http://www.seebeyond.com/eInsight/airlineReservation"
+ xmlns:tns="http://www.seebeyond.com/eInsight/airlineReservation"
+ xmlns:ns0="http://localhost/BluePrint5/AirlineReservation"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:rsrv="http://ReservationSystem.org/xsd/reserve">
+
+ <import namespace="http://localhost/BluePrint5/AirlineReservation" location="AirlineReservation.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/Reservation"
+ location="Reservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+ <import namespace="http://ReservationSystem.org/xsd/reserve"
+ location="reservation.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="airlineReservationPLink" partnerLinkType="ns0:AirlineReservationPLinkType" myRole="reservingRole"/>
+ <partnerLink name="airlineStatusPLink" partnerLinkType="ns0:AirlineStatusPLinkType" partnerRole="statusReceivingRole"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="reservationMesg" messageType="ns0:AirlineReservation"></variable>
+ <variable name="sendAirlineStatus" messageType="ns0:AirlineStatus"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="reserveAirline"
+ partnerLink="airlineReservationPLink"
+ portType="ns0:AirlineReservationPortType"
+ operation="reserveAirline"
+ variable="reservationMesg"
+ createInstance="yes">
+ </receive>
+ <assign name="Assign">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="sendAirlineStatus" part="status"></to>
+ </copy>
+ <copy>
+ <from>$reservationMesg.reserveAirlinePart/rsrv:reservationID</from>
+ <to>$sendAirlineStatus.status/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>contains($reservationMesg.reserveAirlinePart/rsrv:description, 'book_airline') = true()</from>
+ <to>$sendAirlineStatus.status/rsrv:reservationStatus</to>
+ </copy>
+
+
+ </assign>
+ <invoke name="sendAirlineStatus"
+ partnerLink="airlineStatusPLink"
+ portType="ns0:AirlineStatusPortType"
+ operation="sendAirlineStatus"
+ inputVariable="sendAirlineStatus"></invoke>
+ </sequence>
+</process>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/airlineReservation.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/airlineReservation.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/airlineReservation.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268087941000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="airlineReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/bpel-deploy.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/bpel-deploy.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/bpel-deploy.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03" xmlns:AirlineReservation="http://localhost/BluePrint5/AirlineReservation" xmlns:CarReservation="http://localhost/BluePrint5/CarReservation" xmlns:HotelReservation="http://localhost/BluePrint5/HotelReservation" xmlns:Reservation="http://localhost/BluePrint5/Reservation" xmlns:ReservationSystem="http://www.seebeyond.com/eInsight/ReservationSystem" xmlns:airlineReservation="http://www.seebeyond.com/eInsight/airlineReservation" xmlns:carReservation="http://www.seebeyond.com/eInsight/carReservation" xmlns:hotelReservation="http://www.seebeyond.com/eInsight/hotelReservation">
+ <process name="ReservationSystem:ReservationSystem">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="reservationPLink">
+ <service name="Reservation:reservationService" port="reservationServicePort"/>
+ </provide>
+ <provide partnerLink="airlineStatusPLink">
+ <service name="AirlineReservation:AirlineStatusService" port="AirlineStatusServicePort"/>
+ </provide>
+ <provide partnerLink="carStatusPLink">
+ <service name="CarReservation:CarStatusService" port="CarStatusServicePort"/>
+ </provide>
+ <provide partnerLink="hotelStatusPLink">
+ <service name="HotelReservation:HotelStatusService" port="HotelStatusServicePort"/>
+ </provide>
+ <invoke partnerLink="airlineReservationPLink">
+ <service name="AirlineReservation:AirlineService" port="AirlineServicePort"/>
+ </invoke>
+ <invoke partnerLink="carReservationPLink">
+ <service name="CarReservation:CarService" port="CarServicePort"/>
+ </invoke>
+ <invoke partnerLink="hotelReservationPLink">
+ <service name="HotelReservation:HotelService" port="HotelServicePort"/>
+ </invoke>
+ </process>
+ <process name="airlineReservation:airlineReservation">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="airlineReservationPLink">
+ <service name="AirlineReservation:AirlineService" port="AirlineServicePort"/>
+ </provide>
+ <invoke partnerLink="airlineStatusPLink">
+ <service name="AirlineReservation:AirlineStatusService" port="AirlineStatusServicePort"/>
+ </invoke>
+ </process>
+ <process name="carReservation:carReservation">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="reservationPLink">
+ <service name="CarReservation:CarService" port="CarServicePort"/>
+ </provide>
+ <invoke partnerLink="reservationStatusPLink">
+ <service name="CarReservation:CarStatusService" port="CarStatusServicePort"/>
+ </invoke>
+ </process>
+ <process name="hotelReservation:hotelReservation">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="hotelReservationPLink">
+ <service name="HotelReservation:HotelService" port="HotelServicePort"/>
+ </provide>
+ <invoke partnerLink="hotelStatus">
+ <service name="HotelReservation:HotelStatusService" port="HotelStatusServicePort"/>
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/carReservation.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/carReservation.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/carReservation.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="carReservation"
+ targetNamespace="http://www.seebeyond.com/eInsight/carReservation"
+ xmlns:tns="http://www.seebeyond.com/eInsight/carReservation"
+ xmlns:ns0="http://localhost/BluePrint5/CarReservation"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:rsrv="http://ReservationSystem.org/xsd/reserve">
+
+ <import namespace="http://localhost/BluePrint5/CarReservation"
+ location="CarReservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/Reservation"
+ location="Reservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+ <import namespace="http://ReservationSystem.org/xsd/reserve"
+ location="reservation.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="reservationPLink" partnerLinkType="ns0:CarReservationPLinkType" myRole="reservingRole"/>
+ <partnerLink name="reservationStatusPLink" partnerLinkType="ns0:CarStatusPLinkType" partnerRole="statusReceivingRole"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="reserveCar" messageType="ns0:CarReservation"></variable>
+ <variable name="sendCarStatus" messageType="ns0:CarStatus"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="reserveCar"
+ partnerLink="reservationPLink"
+ portType="ns0:CarReservationPortType"
+ operation="reserveCar"
+ variable="reserveCar"
+ createInstance="yes">
+ </receive>
+ <assign name="Assign">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="sendCarStatus" part="status"></to>
+ </copy>
+ <copy>
+ <from>$reserveCar.reserveCarPart/rsrv:reservationID</from>
+ <to>$sendCarStatus.status/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>contains($reserveCar.reserveCarPart/rsrv:description, 'book_car') = true()</from>
+ <to>$sendCarStatus.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ <invoke name="sendCarStatus"
+ partnerLink="reservationStatusPLink"
+ portType="ns0:CarStatusPortType"
+ operation="sendCarStatus"
+ inputVariable="sendCarStatus"></invoke>
+ </sequence>
+</process>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/carReservation.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/carReservation.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/carReservation.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="carReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268087938000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="carReservation.bpel#//@activity/@activities.1/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/hotelReservation.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/hotelReservation.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/hotelReservation.bpel 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<process name="hotelReservation"
+ targetNamespace="http://www.seebeyond.com/eInsight/hotelReservation"
+ xmlns:tns="http://www.seebeyond.com/eInsight/hotelReservation"
+ xmlns:ns0="http://localhost/BluePrint5/HotelReservation"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:rsrv="http://ReservationSystem.org/xsd/reserve">
+
+ <import namespace="http://localhost/BluePrint5/HotelReservation"
+ location="HotelReservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"></import>
+
+ <import namespace="http://localhost/BluePrint5/Reservation"
+ location="Reservation.wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/"/>
+
+ <import namespace="http://ReservationSystem.org/xsd/reserve"
+ location="reservation.xsd"
+ importType="http://www.w3.org/2001/XMLSchema"></import>
+
+ <partnerLinks>
+ <partnerLink name="hotelReservationPLink" partnerLinkType="ns0:HotelReservationPLinkType" myRole="reservingRole"/>
+ <partnerLink name="hotelStatus" partnerLinkType="ns0:HotelStatusPLinkType" partnerRole="statusReceivingRole"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="reserveHotel" messageType="ns0:HotelReservation"></variable>
+ <variable name="sendHotelStatus" messageType="ns0:HotelStatus"></variable>
+ </variables>
+
+ <sequence>
+ <receive name="reserveHotel"
+ partnerLink="hotelReservationPLink"
+ portType="ns0:HotelReservationPortType"
+ operation="reserveHotel"
+ variable="reserveHotel"
+ createInstance="yes">
+ </receive>
+ <assign name="Assign">
+ <copy>
+ <from><literal><tns:reserveStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <tns:reservationID></tns:reservationID>
+ <tns:reservationStatus></tns:reservationStatus>
+</tns:reserveStatus>
+</literal></from>
+ <to variable="sendHotelStatus" part="status"></to>
+ </copy>
+ <copy>
+ <from>$reserveHotel.reserveHotelPart/rsrv:reservationID</from>
+ <to>$sendHotelStatus.status/rsrv:reservationID</to>
+ </copy>
+ <copy>
+ <from>contains($reserveHotel.reserveHotelPart/rsrv:description, 'book_hotel') = true()</from>
+ <to>$sendHotelStatus.status/rsrv:reservationStatus</to>
+ </copy>
+
+ </assign>
+ <invoke name="sendHotelStatus"
+ partnerLink="hotelStatus"
+ portType="ns0:HotelStatusPortType"
+ operation="sendHotelStatus"
+ inputVariable="sendHotelStatus"></invoke>
+ </sequence>
+</process>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/hotelReservation.bpelex
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/hotelReservation.bpelex (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/hotelReservation.bpelex 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="ASCII"?>
+<extensionmodel:ExtensionMap xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:extensionmodel="http:///extensionmodel.ecore" xmlns:org.eclipse.bpel.ui.uiextensionmodel="http:///org/eclipse/bpel/ui/uiextensionmodel.ecore" namespace="http://org.eclipse.bpel.ui/">
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#/"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ProcessExtension" modificationStamp="1268087970000"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@variables/(a)children.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@variables/(a)children.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:VariableExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/(a)activities.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/(a)activities.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/(a)activities.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:ActivityExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/@activities.1/(a)copy.0"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/@activities.1/(a)copy.1"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+ <extensions>
+ <extendedObject href="hotelReservation.bpel#//@activity/@activities.1/(a)copy.2"/>
+ <extensionObject xsi:type="org.eclipse.bpel.ui.uiextensionmodel:CopyExtension"/>
+ </extensions>
+</extensionmodel:ExtensionMap>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/reservation.xsd
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/reservation.xsd (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/bpel/reservation.xsd 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+ * Neither the name of Sun Microsystems, Inc. nor the names of its contributors
+ may be used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://ReservationSystem.org/xsd/reserve"
+ xmlns:tns ="http://ReservationSystem.org/xsd/reserve"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
+
+ <xs:element name="reserve" type="tns:reserveType"/>
+
+ <xs:complexType name="reserveType">
+ <xs:sequence>
+ <xs:element name="reservationID" type="xs:long"/>
+ <xs:element name="description" type="xs:string"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="reserveStatus" type="tns:reserveStatusType"/>
+
+ <xs:complexType name="reserveStatusType">
+ <xs:sequence>
+ <xs:element name="reservationID" type="xs:long"/>
+ <xs:element name="reservationStatus" type="xs:boolean"/>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:element name="reservationStatusOfAll" type="tns:reservationStatusOfAllType"/>
+
+ <xs:complexType name="reservationStatusOfAllType">
+ <xs:sequence>
+ <xs:element name="airlineStatus" type="xs:boolean"/>
+ <xs:element name="hotelStatus" type="xs:boolean"/>
+ <xs:element name="carStatus" type="xs:boolean"/>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/build.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,30 @@
+<project name="BluePrint5" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/tutorials/${ant.project.name}" />
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <jar basedir="${test.dir}/bpel" destfile="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2100</res:reservationID>
+ <res:description>book_airline</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2111</res:reservationID>
+ <res:description>book_airline book_car book_hotel</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2010</res:reservationID>
+ <res:description>book_car</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel.xml
===================================================================
--- trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel.xml 2010-03-17 04:16:20 UTC (rev 572)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2001</res:reservationID>
+ <res:description>book_hotel</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
14 years, 12 months