[jboss-svn-commits] JBL Code SVN: r11084 - in labs/jbossesb/trunk/product: core/listeners/src/org/jboss/soa/esb/listeners/config and 22 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Apr 18 07:25:22 EDT 2007
Author: tfennelly
Date: 2007-04-18 07:25:22 -0400 (Wed, 18 Apr 2007)
New Revision: 11084
Added:
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/.project
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/OrderProcess.bpel
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/OrderProcess.vbpel
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CancelOrderResponse.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CreateSalesOrderRequest.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CreateSalesOrderResponse.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderFault.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderNotificationRequest.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendOrderConfirmationResponse.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderNotificationRequestCompletedOrder.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/ShipOrderResponse.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderResponse.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/Customer.xsd
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/CustomerOrder.xsd
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/OrderManager.xsd
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/Shipping.xsd
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/StandardTypes.xsd
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/BPELRetailer.wsdl
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Customer.wsdl
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/OrderManager.wsdl
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Retailer.wsdl
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Shipping.wsdl
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/wstools-config-ordermanager.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/wstools-config-shipping.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jbmq-service.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jndi.properties
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/lib/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/log4j.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/readme.txt
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/ShipperService.java
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/resources/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/resources/WEB-INF/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/resources/WEB-INF/web.xml
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/view/
labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/view/index.jsp
Modified:
labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/soap/JBossWSAdapter.java
labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/config/ServicePublisher.java
labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/gateway/JBossRemotingGatewayListener.java
labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/message/MessageDeliveryAdapter.java
labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/eprs/DefaultJmsReplyToEpr.java
labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/util/Util.java
labs/jbossesb/trunk/product/samples/quickstarts/base-build.xml
labs/jbossesb/trunk/product/tools/jboss-esb.war/contract.jsp
labs/jbossesb/trunk/product/tools/jboss-esb.war/index.jsp
Log:
webservices_bpel quickstart - still a work in progress
Modified: labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/soap/JBossWSAdapter.java
===================================================================
--- labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/soap/JBossWSAdapter.java 2007-04-18 10:50:52 UTC (rev 11083)
+++ labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/actions/soap/JBossWSAdapter.java 2007-04-18 11:25:22 UTC (rev 11084)
@@ -80,7 +80,7 @@
ByteArrayOutputStream os = new ByteArrayOutputStream();
resMessage.writeTo(os);
- ActionUtils.setTaskObject(message, os.toByteArray());
+ ActionUtils.setTaskObject(message, new String(os.toByteArray()).trim());
}
catch (Exception ex) {
throw new ActionProcessingException("Cannot process SOAP request", ex);
Modified: labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/config/ServicePublisher.java
===================================================================
--- labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/config/ServicePublisher.java 2007-04-18 10:50:52 UTC (rev 11083)
+++ labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/config/ServicePublisher.java 2007-04-18 11:25:22 UTC (rev 11084)
@@ -21,6 +21,7 @@
private String serviceName;
private String category;
+ private String description;
private ContractPublisher contractPublisher;
private static Map<ManagedLifecycleController, List<ServicePublisher>> servicePublishers = new LinkedHashMap<ManagedLifecycleController, List<ServicePublisher>>();
@@ -41,6 +42,22 @@
}
/**
+ * Get the service description.
+ * @return Service description.
+ */
+ public String getDescription() {
+ return description;
+ }
+
+ /**
+ * Set the service description.
+ * @param description Service description.
+ */
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
* Get the name of the Service.
*
* @return The service name.
@@ -83,9 +100,11 @@
publishers.clear();
for (Service service : serviceConfigs) {
- ContractPublisher publisher = getConractPublisher(service);
+ ContractPublisher contractPublisher = getConractPublisher(service);
+ ServicePublisher servicePublisher = new ServicePublisher(service.getName(), service.getCategory(), contractPublisher);
- publishers.add(new ServicePublisher(service.getName(), service.getCategory(), publisher));
+ servicePublisher.setDescription(service.getDescription());
+ publishers.add(servicePublisher);
}
servicePublishers.put(controller, publishers);
Modified: labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/gateway/JBossRemotingGatewayListener.java
===================================================================
--- labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/gateway/JBossRemotingGatewayListener.java 2007-04-18 10:50:52 UTC (rev 11083)
+++ labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/gateway/JBossRemotingGatewayListener.java 2007-04-18 11:25:22 UTC (rev 11084)
@@ -297,7 +297,11 @@
public Object invoke(InvocationRequest invocationRequest) throws Throwable {
try {
if (synchronous) {
- return messageDeliveryAdapter.deliverSync(invocationRequest, 20000); // TODO Fix magic number
+ Object response = messageDeliveryAdapter.deliverSync(invocationRequest, 20000); // TODO Fix magic number
+ if(logger.isDebugEnabled()) {
+ logger.debug("Returning response [" + response + "].");
+ }
+ return response;
} else {
messageDeliveryAdapter.deliverAsync(invocationRequest);
}
@@ -309,7 +313,6 @@
throw t;
}
- // TODO: We need a proper/configurable acknowledgment method!!
return "<ack/>";
}
Modified: labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/message/MessageDeliveryAdapter.java
===================================================================
--- labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/message/MessageDeliveryAdapter.java 2007-04-18 10:50:52 UTC (rev 11083)
+++ labs/jbossesb/trunk/product/core/listeners/src/org/jboss/soa/esb/listeners/message/MessageDeliveryAdapter.java 2007-04-18 11:25:22 UTC (rev 11084)
@@ -49,12 +49,12 @@
/**
* The <b>category name</b> of the Service to which this instance will
- * deliverAsync messages.
+ * deliver messages.
*/
private String serviceCategory;
/**
* The <b>name</b> of the Service to which this instance will
- * deliverAsync messages.
+ * deliver messages.
*/
private String serviceName;
/**
@@ -69,7 +69,7 @@
private EPR lastSuccessfulEPR;
/**
- * Synchronous courier "pickup" deliverAsync timeout.
+ * Synchronous courier "pickup" deliver timeout.
*/
private ThreadLocal<Long> syncPickupDeliveryTimeout = new ThreadLocal<Long>();
@@ -77,9 +77,9 @@
* Public constructor.
*
* @param serviceCategory The <b>category name</b> of the Service to which this instance will
- * deliverAsync messages.
+ * deliver messages.
* @param serviceName The <b>name</b> of the Service to which this instance will
- * deliverAsync messages.
+ * deliver messages.
* @throws RegistryException Failed to lookup EPRs for the specified Service.
*/
public MessageDeliveryAdapter(String serviceCategory, String serviceName) throws RegistryException {
@@ -92,13 +92,13 @@
}
/**
- * Synchronously deliverAsync the supplied message to the target service associated with this adapter instance.
+ * Synchronously deliver the supplied message to the target service associated with this adapter instance.
*
* @param message The message to be delivered.
* @param timeoutMillis Number of milliseconds before synchronous reply pickup should timeout.
* @return Returns the reply message if the message was delivered
* without error, otherwise an exception is thrown.
- * @throws MessageDeliverException Failed to deliverAsync message, after trying all available EPRs.
+ * @throws MessageDeliverException Failed to deliver message, after trying all available EPRs.
*/
public Message deliverSync(Message message, long timeoutMillis) throws MessageDeliverException {
syncPickupDeliveryTimeout.set(timeoutMillis);
@@ -106,10 +106,10 @@
}
/**
- * Asynchronously deliverAsync the supplied message to the target service associated with this adapter instance.
+ * Asynchronously deliver the supplied message to the target service associated with this adapter instance.
*
* @param message The message to be delivered.
- * @throws MessageDeliverException Failed to deliverAsync message, after trying all available EPRs.
+ * @throws MessageDeliverException Failed to deliver message, after trying all available EPRs.
*/
public void deliverAsync(Message message) throws MessageDeliverException {
// Not interested in a reply
@@ -123,7 +123,7 @@
* @param synchronous Is the message to be delivered synchronously or not (asynchronously).
* @return Returns the message (or a reply message if synchronous) if the message was delivered
* without error, otherwise an exception is thrown.
- * @throws MessageDeliverException Failed to deliverAsync message, after trying all available EPRs.
+ * @throws MessageDeliverException Failed to deliver message, after trying all available EPRs.
*/
private Message deliver(Message message, boolean synchronous) throws MessageDeliverException {
Message replyMessage = null;
@@ -149,7 +149,7 @@
}
// Throw exception if delivery failed...
- throw new MessageDeliverException("Failed to deliverAsync message to Service [" + serviceCategory + ":" + serviceName + "]. Check for errors.");
+ throw new MessageDeliverException("Failed to deliver message to Service [" + serviceCategory + ":" + serviceName + "]. Check for errors.");
}
/**
@@ -171,7 +171,7 @@
}
/**
- * Attempt to deliverAsync the supplied message using the supplied EPR.
+ * Attempt to deliver the supplied message using the supplied EPR.
*
* @param message The message to be delivered.
* @param epr The EPR to be used in the delivery attempt.
Modified: labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/eprs/DefaultJmsReplyToEpr.java
===================================================================
--- labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/eprs/DefaultJmsReplyToEpr.java 2007-04-18 10:50:52 UTC (rev 11083)
+++ labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/addressing/eprs/DefaultJmsReplyToEpr.java 2007-04-18 11:25:22 UTC (rev 11084)
@@ -36,7 +36,8 @@
,replyDestinationName(epr)
,epr.getConnectionFactory()
,epr.getJndiEnvironment()
- , replySelector(epr)
+ ,epr.getMessageSelector()
+ //, replySelector(epr)
);
}
private static String replyDestinationName(JMSEpr toEpr)
Modified: labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/util/Util.java
===================================================================
--- labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/util/Util.java 2007-04-18 10:50:52 UTC (rev 11083)
+++ labs/jbossesb/trunk/product/core/rosetta/src/org/jboss/soa/esb/util/Util.java 2007-04-18 11:25:22 UTC (rev 11084)
@@ -231,10 +231,10 @@
{
String[] sa = sCurr.split("=");
if (sa.length != 2 || sa[1].charAt(0) != '\''
- || sa[1].charAt(-1 + sa[1].length()) != '\'')
- throw new IllegalArgumentException("Illegal message selector syntax <"
- + selector + ">");
- KeyValuePair oNew = new KeyValuePair(sa[0], sa[1].substring(0,
+ || sa[1].charAt(-1 + sa[1].length()) != '\'') {
+ throw new IllegalArgumentException("Illegal message selector syntax <" + selector + ">. Must be 2 tokens seperated by an '=' character, and the token after the '=' character must be enclosed in single quotes.");
+ }
+ KeyValuePair oNew = new KeyValuePair(sa[0], sa[1].substring(0,
-1 + sa[1].length()).substring(1));
oRet.add(oNew);
}
Modified: labs/jbossesb/trunk/product/samples/quickstarts/base-build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/base-build.xml 2007-04-18 10:50:52 UTC (rev 11083)
+++ labs/jbossesb/trunk/product/samples/quickstarts/base-build.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -1,113 +1,165 @@
<project name="Base" basedir=".">
- <property file="../quickstarts.properties" />
+ <property file="../quickstarts.properties"/>
- <property name="additional.deploys" value="" />
- <property name="deploy-after" value="true" />
+ <property name="additional.deploys" value=""/>
+ <property name="deploy-after" value="true"/>
- <property name="classes" value="build/classes" />
+ <property name="classes" value="build/classes"/>
- <path id="compile-classpath">
- <path refid="quickstart-dependencies-classpath" />
- <fileset dir="../../../lib/ext" includes="*.jar" /> <!-- Product Dependencies. -->
- <fileset dir="${esb.product.lib.dir}" includes="*.jar" /> <!-- Product Jars. -->
- </path>
- <path id="exec-classpath">
- <pathelement location="." />
- <pathelement location="src" />
- <pathelement location="build/classes" />
- <path refid="compile-classpath" />
- <fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar" /> <!-- Required for JMS Client Code. -->
- </path>
+ <path id="compile-classpath">
+ <path refid="quickstart-dependencies-classpath"/>
+ <fileset dir="../../../lib/ext" includes="*.jar"/>
+ <!-- Product Dependencies. -->
+ <fileset dir="${esb.product.lib.dir}" includes="*.jar"/>
+ <!-- Product Jars. -->
+ </path>
+ <path id="exec-classpath">
+ <pathelement location="."/>
+ <pathelement location="src"/>
+ <pathelement location="build/classes"/>
+ <path refid="compile-classpath"/>
+ <fileset dir="${jbosshome.dir}/server/default/lib" includes="jboss-j2ee.jar"/>
+ <!-- Required for JMS Client Code. -->
+ </path>
<path id="quickstart-dependencies-classpath">
- <fileset dir="lib" includes="*.jar" /> <!-- Quickstart Specific Jars. -->
+ <fileset dir="lib" includes="*.jar"/>
+ <!-- Quickstart Specific Jars. -->
</path>
<target name="compile" depends="clean">
- <mkdir dir="${classes}" />
- <javac srcdir="src" destdir="${classes}">
- <classpath refid="compile-classpath" />
- </javac>
- </target>
+ <mkdir dir="${classes}"/>
+ <javac srcdir="src" destdir="${classes}">
+ <classpath refid="compile-classpath"/>
+ </javac>
+ </target>
- <target name="run" depends="compile">
- <echo>Launching Quickstart in standalone mode...</echo>
- <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
- <arg value="./jbossesb.xml" />
- <classpath refid="exec-classpath" />
- </java>
- </target>
+ <target name="run" depends="compile">
+ <echo>Launching Quickstart in standalone mode...</echo>
+ <java fork="yes" classname="org.jboss.soa.esb.listeners.StandAloneBootStrapper" failonerror="true">
+ <arg value="./jbossesb.xml"/>
+ <classpath refid="exec-classpath"/>
+ </java>
+ </target>
<target name="deployToSAR">
- <echo message='******************' />
- <echo message='DEPRECATED!! Sorry, this target has been deprecated for Quickstart Deployment.' />
- <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}' />
- <echo message='******************' />
- <fail />
+ <echo message='******************'/>
+ <echo message='DEPRECATED!! Sorry, this target has been deprecated for Quickstart Deployment.'/>
+ <echo message='Run "ant deploy" to deploy this Quickstart to your target JBoss ESB Server.${line.separator}${line.separator}'/>
+ <echo message='******************'/>
+ <fail/>
</target>
<target name="deploy" depends="compile">
- <echo>Deploying Quickstart to JBoss ESB Server...</echo>
+ <echo>Deploying Quickstart to JBoss ESB Server...</echo>
- <mkdir dir="build/META-INF" />
+ <mkdir dir="build/META-INF"/>
<copy todir="build/META-INF">
- <fileset dir="./" includes="jboss-esb.xml,deployment.xml" />
+ <fileset dir="./" includes="jboss-esb.xml,deployment.xml"/>
</copy>
- <antcall target="quickstart-specific-assemblies" />
+ <antcall target="quickstart-specific-assemblies"/>
<jar destfile="build/${ant.project.name}.esb">
- <fileset dir="build/classes" />
- <fileset dir="build" includes="*.jar,*.war"/>
- <fileset dir="src" excludes="**/*.java" />
- <fileset dir="build" includes="META-INF/**" />
- <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
- <fileset dir="./" includes="${additional.deploys}" />
+ <fileset dir="build/classes"/>
+ <fileset dir="build" includes="*.jar,*.war"/>
+ <fileset dir="src" excludes="**/*.java"/>
+ <fileset dir="build" includes="META-INF/**"/>
+ <fileset dir="${basedir}" includes="jbm-queue-service.xml"/>
+ <fileset dir="./" includes="${additional.deploys}"/>
</jar>
- <antcall target="deploy-esb-archive-before" />
- <antcall target="quickstart-specific-deploys" />
- <antcall target="deploy-esb-archive-after" />
+ <antcall target="deploy-esb-archive-before"/>
+ <antcall target="quickstart-specific-deploys"/>
+ <antcall target="deploy-esb-archive-after"/>
- <echo message='${line.separator}******************' />
+ <echo message='${line.separator}******************'/>
<echo>Quickstart deployed to target JBoss ESB Server at '${jbosshome.dir}'.</echo>
- <echo>1. Check your ESB Server console to make sure the deployment was executed without errors.</echo>
- <echo>2. Run 'ant runtest' to run the Quickstart.</echo>
- <echo>3. Check your ESB Server console again. The Quickstart should have produced some output.</echo>
- <echo message='******************' />
+ <echo>1. Check your ESB Server console to make sure the deployment was executed without errors.</echo>
+ <echo>2. Run 'ant runtest' to run the Quickstart.</echo>
+ <echo>3. Check your ESB Server console again. The Quickstart should have produced some output.</echo>
+ <echo message='******************'/>
</target>
<target name="quickstart-specific-assemblies">
<!-- Override this target in the Quickstart in order to make Quickstart specific assemblies. -->
- <echo message="No Quickstart specific assembly tasks." />
+ <echo message="No Quickstart specific assembly tasks."/>
</target>
<target name="quickstart-specific-deploys">
<!-- Override this target in the Quickstart in order to make Quickstart specific deployments. -->
- <echo message="No Quickstart specific deployments being made." />
+ <echo message="No Quickstart specific deployments being made."/>
</target>
<target name="assert-ws-available">
- <available property="ws-available" file="${jbosshome.dir}/server/default/deploy/jbossws.sar" type="dir" />
- <fail unless="ws-available">**** DEPLOYMENT FAILED... Sorry, this Quickstart requires a JBoss Webservice container. '${jbosshome.dir}' does not have a Webservice container. Check the 'jbosshome.dir' property in ../quickstarts.properties"</fail>
- <echo message="JBoss Webservice container found on target '${jbosshome.dir}'." />
+ <available property="ws-available" file="${jbosshome.dir}/server/default/deploy/jbossws.sar" type="dir"/>
+ <fail unless="ws-available">**** DEPLOYMENT FAILED... Sorry, this Quickstart requires a JBoss Webservice
+ container. '${jbosshome.dir}' does not have a Webservice container. Check the 'jbosshome.dir' property in
+ ../quickstarts.properties"
+ </fail>
+ <echo message="JBoss Webservice container found on target '${jbosshome.dir}'."/>
</target>
+ <!--
+ Equivalent of the wstools ant task. Wasn't able to get that ant task
+ working (or wsconsume) - nullp exceptions out of some Xerces classes.
+
+ Produces a jar file in the root of the build dir. This jar will automatically be
+ added to the .esb archive.
+
+ @param "config" Path to the wstools config file.
+ @param "servicename" The name of the service for which wstools is to produce a set of artifacts.
+ -->
+ <target name="wstools">
+ <property name="workingdir" value="build/${servicename}"/>
+
+ <mkdir dir="${workingdir}/src"/>
+ <mkdir dir="${workingdir}/classes"/>
+
+ <path id="wstools-classpath">
+ <fileset dir="${jbosshome.dir}/client"
+ includes="jboss-xml-binding.jar,activation.jar,javassist.jar,jbossall-client.jar,jbossretro-rt.jar,jboss-backport-concurrent.jar,jbossws-client.jar,jbossws14-client.jar,log4j.jar,mail.jar"/>
+ </path>
+
+ <!-- java -Xms128m -Xmx256m -Xms128m -Xmx256m -Djava.endorsed.dirs="H:\jboss-4.0.5.GA\bin\\..\lib\endorsed" -Dlog4j.configuration=wstools-log4j.xml -classpath ";H:\jboss-4.0.5.GA\bin\\../client ......" org.jboss.ws.tools.WSTools -config wstools-config61774.xml -dest H:\Jboss\ActiveEndpoints\OrderManagement\resources\wsdl\src -->
+ <java fork="true" classname="org.jboss.ws.tools.WSTools" classpathref="wstools-classpath" failonerror="true">
+ <jvmarg value="-Xms128m"/>
+ <jvmarg value="-Xmx256m"/>
+ <jvmarg value="-Xms128m"/>
+ <jvmarg value="-Xmx256m"/>
+ <jvmarg value="-Djava.endorsed.dirs=${jbosshome.dir}/lib/endorsed"/>
+ <jvmarg value="-Dlog4j.configuration=${basedir}/log4j.xml"/>
+ <classpath refid="wstools-classpath"/>
+
+ <arg value="-config"/>
+ <arg value="${config}"/>
+ <arg value="-dest"/>
+ <arg value="${workingdir}/src"/>
+ </java>
+
+ <!-- Removed because they were causing compile errors. -->
+ <delete dir="${workingdir}/src" includes="**/*Service.java"/>
+
+ <javac srcdir="${workingdir}/src" destdir="${workingdir}/classes" classpathref="wstools-classpath"/>
+ <jar basedir="${workingdir}/classes" destfile="build/${servicename}-bindings.jar"/>
+
+ </target>
+
<target name="deploy-esb-archive-before" unless="deploy-after">
- <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
+ <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/"/>
</target>
<target name="deploy-esb-archive-after" if="deploy-after">
- <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/" />
+ <copy file="build/${ant.project.name}.esb" overwrite="true" todir="${jbosshome.dir}/server/default/deploy/"/>
</target>
-
+
<target name="echoCP">
- <property name="cp" refid="exec-classpath" />
- <echo message="Classpath is ${cp}" />
- </target>
+ <property name="cp" refid="exec-classpath"/>
+ <echo message="Classpath is ${cp}"/>
+ </target>
- <target name="clean">
- <delete dir="build" />
- </target>
+ <target name="clean">
+ <delete dir="build"/>
+ </target>
</project>
\ No newline at end of file
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/.project
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/.project (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/.project 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>OrderManagement</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/OrderProcess.bpel
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/OrderProcess.bpel (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/OrderProcess.bpel 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,206 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+BPEL Process Definition
+Edited using ActiveBPEL(tm) Designer Version 3.1.0 (http://www.active-endpoints.com)
+-->
+<bpel:process xmlns:aud="http://schemas.active-endpoints.com/sample/audit/2006/04/Audit.xsd" xmlns:aws="http://docs.active-endpoints.com/activebpel/sample/wsdl/audit/2006/04/Audit.wsdl" xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:brws="http://docs.active-endpoints.com/activebpel/sample/wsdl/bpelretailer/2006/04/BPELRetailer.wsdl" xmlns:cmws="http://docs.active-endpoints.com/activebpel/sample/wsdl/creditmanager/2006/04/CreditManager.wsdl" xmlns:crdmgr="http://schemas.active-endpoints.com/sample/creditmanager/2006/04/CreditManager.xsd" xmlns:cust="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd" xmlns:cws="http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Customer.wsdl" xmlns:omws="http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl" xmlns:ord="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd" xmlns:ordmgr="http://schemas!
.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd" xmlns:rws="http://docs.active-endpoints.com/activebpel/sample/wsdl/retailer/2006/04/Retailer.wsdl" xmlns:ship="http://schemas.active-endpoints.com/sample/shipping/2006/04/Shipping.xsd" xmlns:sws="http://docs.active-endpoints.com/activebpel/sample/wsdl/shipping/2006/04/Shipping.wsdl" xmlns:tns="http://docs.active-endpoints.com/activebpel/sample/bpel/OrderProcess/2006/04/OrderProcess.bpel" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="OrderProcess" suppressJoinFailure="yes" targetNamespace="http://docs.active-endpoints.com/activebpel/sample/bpel/OrderProcess/2006/04/OrderProcess.bpel">
+ <bpel:import importType="http://schemas.xmlsoap.org/wsdl/" location="resources/wsdl/Retailer.wsdl" namespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/retailer/2006/04/Retailer.wsdl"/>
+ <bpel:import importType="http://schemas.xmlsoap.org/wsdl/" location="resources/wsdl/BPELRetailer.wsdl" namespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/bpelretailer/2006/04/BPELRetailer.wsdl"/>
+ <bpel:import importType="http://schemas.xmlsoap.org/wsdl/" location="resources/wsdl/OrderManager.wsdl" namespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl"/>
+ <bpel:import importType="http://schemas.xmlsoap.org/wsdl/" location="resources/wsdl/Shipping.wsdl" namespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/shipping/2006/04/Shipping.wsdl"/>
+ <bpel:import importType="http://schemas.xmlsoap.org/wsdl/" location="resources/wsdl/Customer.wsdl" namespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Customer.wsdl"/>
+ <bpel:partnerLinks>
+ <bpel:partnerLink myRole="Seller" name="Customer" partnerLinkType="brws:PurchasingPLT" partnerRole="Buyer"/>
+ <bpel:partnerLink myRole="OrderPlacer" name="OrderManager" partnerLinkType="omws:OrderingPLT" partnerRole="OrderingSystem"/>
+ <bpel:partnerLink name="Shipper" partnerLinkType="sws:ShippingPLT" partnerRole="Shipper"/>
+ </bpel:partnerLinks>
+ <bpel:variables>
+ <bpel:variable messageType="rws:SubmitOrderRequest" name="SubmitOrderRequest"/>
+ <bpel:variable messageType="rws:SubmitOrderResponse" name="SubmitOrderResponse"/>
+ <bpel:variable messageType="omws:CreateSalesOrderRequest" name="SalesOrderRequest"/>
+ <bpel:variable messageType="omws:CreateSalesOrderResponse" name="SalesOrderResponse"/>
+ <bpel:variable messageType="omws:SendSalesOrderNotificationRequest" name="SendSalesOrderNotificationRequest"/>
+ <bpel:variable messageType="omws:SendSalesOrderNotificationResponse" name="SendSalesOrderNotificationResponse"/>
+ <bpel:variable messageType="cws:SendOrderConfirmationRequest" name="SendOrderConfirmationRequest"/>
+ <bpel:variable messageType="cws:SendOrderConfirmationResponse" name="SendOrderConfirmationResponse"/>
+ <bpel:variable messageType="omws:CancelOrderRequest" name="CancelOrderRequest"/>
+ <bpel:variable messageType="omws:CancelOrderResponse" name="CancelOrderResponse"/>
+ <bpel:variable messageType="sws:ShipOrderRequest" name="ShipOrderRequest"/>
+ <bpel:variable messageType="sws:ShipOrderResponse" name="ShipOrderResponse"/>
+ </bpel:variables>
+ <bpel:correlationSets>
+ <bpel:correlationSet name="CustomerCorrelationSet" properties="brws:poNumber brws:customerNumber"/>
+ <bpel:correlationSet name="OrderManagerCorrelationSet" properties="omws:orderNumber"/>
+ </bpel:correlationSets>
+ <bpel:flow>
+ <bpel:links>
+ <bpel:link name="L2"/>
+ </bpel:links>
+ <bpel:sequence>
+ <bpel:receive createInstance="yes" name="ReceiveCustomerOrder" operation="SubmitOrder" partnerLink="Customer" variable="SubmitOrderRequest">
+ <bpel:correlations>
+ <bpel:correlation initiate="yes" set="CustomerCorrelationSet"/>
+ </bpel:correlations>
+ </bpel:receive>
+ <bpel:assign name="AssignDataForNormalReply">
+ <bpel:copy>
+ <bpel:from>true()</bpel:from>
+ <bpel:to part="Document" variable="SubmitOrderResponse"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="AcknowledgeReceiptOfOrder" operation="SubmitOrder" partnerLink="Customer" variable="SubmitOrderResponse"/>
+ <bpel:scope>
+ <bpel:sequence>
+ <bpel:assign name="AssignDataForSalesOrder">
+ <bpel:copy>
+ <bpel:from part="Document" variable="SubmitOrderRequest"/>
+ <bpel:to part="Document" variable="SalesOrderRequest"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:invoke inputVariable="SalesOrderRequest" name="CreateSalesOrder" operation="CreateSalesOrder" outputVariable="SalesOrderResponse" partnerLink="OrderManager">
+ <bpel:correlations>
+ <bpel:correlation initiate="yes" pattern="response" set="OrderManagerCorrelationSet"/>
+ </bpel:correlations>
+ <bpel:compensationHandler>
+ <bpel:sequence>
+ <bpel:assign name="AssignDataForCancelSalesOrder">
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal>
+ <ord:cancelOrder>
+<ord:orderInquiry>
+<ord:customerNumber/>
+<ord:poNumber/>
+</ord:orderInquiry>
+</ord:cancelOrder>
+ </bpel:literal>
+ </bpel:from>
+ <bpel:to part="Document" variable="CancelOrderRequest"/>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="Document" variable="SalesOrderRequest">
+ <bpel:query>ord:header/ord:customerNumber</bpel:query>
+ </bpel:from>
+ <bpel:to part="Document" variable="CancelOrderRequest">
+ <bpel:query>ord:orderInquiry/ord:customerNumber</bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="Document" variable="SalesOrderRequest">
+ <bpel:query>ord:header/ord:poNumber</bpel:query>
+ </bpel:from>
+ <bpel:to part="Document" variable="CancelOrderRequest">
+ <bpel:query>ord:orderInquiry/ord:poNumber</bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:invoke inputVariable="CancelOrderRequest" name="CancelSalesOrder" operation="CancelOrder" outputVariable="CancelOrderResponse" partnerLink="OrderManager"/>
+ </bpel:sequence>
+ </bpel:compensationHandler>
+ </bpel:invoke>
+ <bpel:receive name="WaitForNotificationFromOrderManager" operation="SendSalesOrderNotification" partnerLink="OrderManager" variable="SendSalesOrderNotificationRequest">
+ <bpel:correlations>
+ <bpel:correlation initiate="no" set="OrderManagerCorrelationSet"/>
+ </bpel:correlations>
+ </bpel:receive>
+ <bpel:assign name="AssignDataForOrderManagerAcknowledgement">
+ <bpel:copy>
+ <bpel:from>true()</bpel:from>
+ <bpel:to part="Document" variable="SendSalesOrderNotificationResponse"/>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="AcknowledgeOrderManager" operation="SendSalesOrderNotification" partnerLink="OrderManager" variable="SendSalesOrderNotificationResponse"/>
+ <bpel:assign name="AssignDataForShipOrder">
+ <bpel:sources>
+ <bpel:source linkName="L2"/>
+ </bpel:sources>
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal>
+ <ship:shippingRequest>
+<ship:customerNumber/>
+<ship:poNumber/>
+<ship:orderNumber/>
+</ship:shippingRequest>
+ </bpel:literal>
+ </bpel:from>
+ <bpel:to part="Document" variable="ShipOrderRequest"/>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="Document" variable="SalesOrderRequest">
+ <bpel:query>ord:header/ord:customerNumber</bpel:query>
+ </bpel:from>
+ <bpel:to part="Document" variable="ShipOrderRequest">
+ <bpel:query>ship:customerNumber</bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="Document" variable="SalesOrderRequest">
+ <bpel:query>ord:header/ord:poNumber</bpel:query>
+ </bpel:from>
+ <bpel:to part="Document" variable="ShipOrderRequest">
+ <bpel:query>ship:poNumber</bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="Document" variable="SendSalesOrderNotificationRequest">
+ <bpel:query>ordmgr:orderNumber</bpel:query>
+ </bpel:from>
+ <bpel:to part="Document" variable="ShipOrderRequest">
+ <bpel:query>ship:orderNumber</bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:invoke inputVariable="ShipOrderRequest" name="ShipOrder" operation="ShipOrder" outputVariable="ShipOrderResponse" partnerLink="Shipper">
+ <bpel:targets>
+ <bpel:target linkName="L2"/>
+ </bpel:targets>
+ </bpel:invoke>
+ <bpel:assign name="AssignDataForOrderConfirmation">
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal>
+ <cust:orderConfirmation>
+<cust:customerNumber/>
+<cust:poNumber/>
+<cust:orderNumber/>
+</cust:orderConfirmation>
+ </bpel:literal>
+ </bpel:from>
+ <bpel:to part="Document" variable="SendOrderConfirmationRequest"/>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="Document" variable="SalesOrderRequest">
+ <bpel:query>ord:header/ord:customerNumber</bpel:query>
+ </bpel:from>
+ <bpel:to part="Document" variable="SendOrderConfirmationRequest">
+ <bpel:query>cust:customerNumber</bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="Document" variable="SalesOrderRequest">
+ <bpel:query>ord:header/ord:poNumber</bpel:query>
+ </bpel:from>
+ <bpel:to part="Document" variable="SendOrderConfirmationRequest">
+ <bpel:query>cust:poNumber</bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="Document" variable="SendSalesOrderNotificationRequest">
+ <bpel:query>ordmgr:orderNumber</bpel:query>
+ </bpel:from>
+ <bpel:to part="Document" variable="SendOrderConfirmationRequest">
+ <bpel:query>cust:orderNumber</bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:invoke inputVariable="SendOrderConfirmationRequest" name="SendOrderConfirmation" operation="SendOrderConfirmation" outputVariable="SendOrderConfirmationResponse" partnerLink="Customer">
+ <bpel:correlations>
+ <bpel:correlation initiate="no" pattern="request" set="CustomerCorrelationSet"/>
+ </bpel:correlations>
+ </bpel:invoke>
+ </bpel:sequence>
+ </bpel:scope>
+ </bpel:sequence>
+ </bpel:flow>
+</bpel:process>
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/OrderProcess.vbpel
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/OrderProcess.vbpel (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/OrderProcess.vbpel 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,636 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<graph id="0" name="PROCESS">
+ <att name="processName" value="OrderProcess"/>
+ <att name="targetNamespace" value="http://docs.active-endpoints.com/activebpel/sample/bpel/OrderProcess/2006/04/OrderProcess.bpel"/>
+ <att name="enableInstanceCompensation" value="false"/>
+ <att name="exitStandardFault" value="false"/>
+ <att name="disableSelectionFailure" value="false"/>
+ <att name="createXPath" value="false"/>
+ <att name="modelVersion" value="3"/>
+ <att name="processNamespace" value="http://docs.oasis-open.org/wsbpel/2.0/process/executable"/>
+ <att name="objectId" value="117373504323010683"/>
+ <node id="1" name="EXTENSION_CONTAINER">
+ <att name="ExtensionCount" value="0"/>
+ <att name="BPELDocumentation" value=""/>
+ </node>
+ <att>
+ <graph id="2" name="IMPORTS">
+ <att name="ImportCount" value="5"/>
+ <node id="3" name="IMPORT">
+ <att name="ImportLocation" value="resources/wsdl/Retailer.wsdl;http://docs.active-endpoints.com/activebpel/sample/wsdl/retailer/2006/04/Retailer.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
+ <att name="ImportNamespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/retailer/2006/04/Retailer.wsdl"/>
+ <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
+ <att name="objectId" value="117373504324610711"/>
+ </node>
+ <node id="4" name="IMPORT">
+ <att name="ImportLocation" value="resources/wsdl/BPELRetailer.wsdl;http://docs.active-endpoints.com/activebpel/sample/wsdl/bpelretailer/2006/04/BPELRetailer.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
+ <att name="ImportNamespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/bpelretailer/2006/04/BPELRetailer.wsdl"/>
+ <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
+ <att name="objectId" value="117373504324610713"/>
+ </node>
+ <node id="5" name="IMPORT">
+ <att name="ImportLocation" value="resources/wsdl/OrderManager.wsdl;http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
+ <att name="ImportNamespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl"/>
+ <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
+ <att name="objectId" value="117373504324610717"/>
+ </node>
+ <node id="6" name="IMPORT">
+ <att name="ImportLocation" value="resources/wsdl/Shipping.wsdl;http://docs.active-endpoints.com/activebpel/sample/wsdl/shipping/2006/04/Shipping.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
+ <att name="ImportNamespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/shipping/2006/04/Shipping.wsdl"/>
+ <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
+ <att name="objectId" value="117373504324610721"/>
+ </node>
+ <node id="7" name="IMPORT">
+ <att name="ImportLocation" value="resources/wsdl/Customer.wsdl;http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Customer.wsdl;http://schemas.xmlsoap.org/wsdl/"/>
+ <att name="ImportNamespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Customer.wsdl"/>
+ <att name="ImportType" value="http://schemas.xmlsoap.org/wsdl/"/>
+ <att name="objectId" value="117630467039401415"/>
+ </node>
+ </graph>
+ </att>
+ <att>
+ <graph id="8" name="NAMESPACES">
+ <att name="NamespaceCount" value="16"/>
+ <node id="9" name="NAMESPACE">
+ <att name="Prefix" value="ordmgr"/>
+ <att name="Namespace" value="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd"/>
+ <att name="objectId" value="117373504324610723"/>
+ </node>
+ <node id="10" name="NAMESPACE">
+ <att name="Prefix" value="ord"/>
+ <att name="Namespace" value="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"/>
+ <att name="objectId" value="117373504324610727"/>
+ </node>
+ <node id="11" name="NAMESPACE">
+ <att name="Prefix" value="aud"/>
+ <att name="Namespace" value="http://schemas.active-endpoints.com/sample/audit/2006/04/Audit.xsd"/>
+ <att name="objectId" value="117373504324610729"/>
+ </node>
+ <node id="12" name="NAMESPACE">
+ <att name="Prefix" value="xsd"/>
+ <att name="Namespace" value="http://www.w3.org/2001/XMLSchema"/>
+ <att name="objectId" value="117373504324610731"/>
+ </node>
+ <node id="13" name="NAMESPACE">
+ <att name="Prefix" value="omws"/>
+ <att name="Namespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl"/>
+ <att name="objectId" value="117373504324610733"/>
+ </node>
+ <node id="14" name="NAMESPACE">
+ <att name="Prefix" value="ship"/>
+ <att name="Namespace" value="http://schemas.active-endpoints.com/sample/shipping/2006/04/Shipping.xsd"/>
+ <att name="objectId" value="117373504324610735"/>
+ </node>
+ <node id="15" name="NAMESPACE">
+ <att name="Prefix" value="crdmgr"/>
+ <att name="Namespace" value="http://schemas.active-endpoints.com/sample/creditmanager/2006/04/CreditManager.xsd"/>
+ <att name="objectId" value="117373504324610737"/>
+ </node>
+ <node id="16" name="NAMESPACE">
+ <att name="Prefix" value="cws"/>
+ <att name="Namespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Customer.wsdl"/>
+ <att name="objectId" value="117373504324610739"/>
+ </node>
+ <node id="17" name="NAMESPACE">
+ <att name="Prefix" value="cust"/>
+ <att name="Namespace" value="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd"/>
+ <att name="objectId" value="117373504324610741"/>
+ </node>
+ <node id="18" name="NAMESPACE">
+ <att name="Prefix" value="brws"/>
+ <att name="Namespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/bpelretailer/2006/04/BPELRetailer.wsdl"/>
+ <att name="objectId" value="117373504324610743"/>
+ </node>
+ <node id="19" name="NAMESPACE">
+ <att name="Prefix" value="bpel"/>
+ <att name="Namespace" value="http://docs.oasis-open.org/wsbpel/2.0/process/executable"/>
+ <att name="objectId" value="117373504324610745"/>
+ </node>
+ <node id="20" name="NAMESPACE">
+ <att name="Prefix" value="cmws"/>
+ <att name="Namespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/creditmanager/2006/04/CreditManager.wsdl"/>
+ <att name="objectId" value="117373504324610747"/>
+ </node>
+ <node id="21" name="NAMESPACE">
+ <att name="Prefix" value="sws"/>
+ <att name="Namespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/shipping/2006/04/Shipping.wsdl"/>
+ <att name="objectId" value="117373504324610749"/>
+ </node>
+ <node id="22" name="NAMESPACE">
+ <att name="Prefix" value="rws"/>
+ <att name="Namespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/retailer/2006/04/Retailer.wsdl"/>
+ <att name="objectId" value="117373504324610751"/>
+ </node>
+ <node id="23" name="NAMESPACE">
+ <att name="Prefix" value="aws"/>
+ <att name="Namespace" value="http://docs.active-endpoints.com/activebpel/sample/wsdl/audit/2006/04/Audit.wsdl"/>
+ <att name="objectId" value="117373504324610753"/>
+ </node>
+ <node id="24" name="NAMESPACE">
+ <att name="Prefix" value="tns"/>
+ <att name="Namespace" value="http://docs.active-endpoints.com/activebpel/sample/bpel/OrderProcess/2006/04/OrderProcess.bpel"/>
+ <att name="objectId" value="117383247993704899"/>
+ </node>
+ </graph>
+ </att>
+ <att>
+ <graph id="25" name="PARTNER_LINKS">
+ <att name="PartnerLinkCount" value="3"/>
+ <node id="26" name="PARTNER_LINK">
+ <att name="PartnerLinkName" value="Customer"/>
+ <att name="PartnerLinkType" value="brws:PurchasingPLT"/>
+ <att name="PartnerRole" value="Buyer"/>
+ <att name="MyRole" value="Seller"/>
+ <att name="visible" value="true,false,false,false,false,"/>
+ <att name="objectId" value="117373504324610755"/>
+ <att name="InitializePartnerRole" value=""/>
+ </node>
+ <node id="27" name="PARTNER_LINK">
+ <att name="PartnerLinkName" value="OrderManager"/>
+ <att name="PartnerLinkType" value="omws:OrderingPLT"/>
+ <att name="PartnerRole" value="OrderingSystem"/>
+ <att name="MyRole" value="OrderPlacer"/>
+ <att name="visible" value="true,false,false,false,false,"/>
+ <att name="objectId" value="117373504324610767"/>
+ <att name="InitializePartnerRole" value=""/>
+ </node>
+ <node id="28" name="PARTNER_LINK">
+ <att name="PartnerLinkName" value="Shipper"/>
+ <att name="PartnerLinkType" value="sws:ShippingPLT"/>
+ <att name="PartnerRole" value="Shipper"/>
+ <att name="visible" value="true,false,false,false,false,"/>
+ <att name="objectId" value="117373504324610803"/>
+ <att name="InitializePartnerRole" value=""/>
+ </node>
+ </graph>
+ </att>
+ <att>
+ <graph id="29" name="VARIABLE_CONTAINERS">
+ <att name="VariableCount" value="12"/>
+ <node id="30" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="SubmitOrderRequest"/>
+ <att name="VariableSpecification" value="MessageType=rws:SubmitOrderRequest"/>
+ <att name="objectId" value="117373504324610815"/>
+ </node>
+ <node id="31" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="SubmitOrderResponse"/>
+ <att name="VariableSpecification" value="MessageType=rws:SubmitOrderResponse"/>
+ <att name="objectId" value="117373504324610817"/>
+ </node>
+ <node id="32" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="SalesOrderRequest"/>
+ <att name="VariableSpecification" value="MessageType=omws:CreateSalesOrderRequest"/>
+ <att name="objectId" value="117373504324610819"/>
+ </node>
+ <node id="33" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="SalesOrderResponse"/>
+ <att name="VariableSpecification" value="MessageType=omws:CreateSalesOrderResponse"/>
+ <att name="objectId" value="117373504324610821"/>
+ </node>
+ <node id="34" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="SendSalesOrderNotificationRequest"/>
+ <att name="VariableSpecification" value="MessageType=omws:SendSalesOrderNotificationRequest"/>
+ <att name="objectId" value="117373504324610823"/>
+ </node>
+ <node id="35" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="SendSalesOrderNotificationResponse"/>
+ <att name="VariableSpecification" value="MessageType=omws:SendSalesOrderNotificationResponse"/>
+ <att name="objectId" value="117373504324610825"/>
+ </node>
+ <node id="36" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="SendOrderConfirmationRequest"/>
+ <att name="VariableSpecification" value="MessageType=cws:SendOrderConfirmationRequest"/>
+ <att name="objectId" value="117373504324610827"/>
+ </node>
+ <node id="37" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="SendOrderConfirmationResponse"/>
+ <att name="VariableSpecification" value="MessageType=cws:SendOrderConfirmationResponse"/>
+ <att name="objectId" value="117373504324610829"/>
+ </node>
+ <node id="38" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="CancelOrderRequest"/>
+ <att name="VariableSpecification" value="MessageType=omws:CancelOrderRequest"/>
+ <att name="objectId" value="117373504324610831"/>
+ </node>
+ <node id="39" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="CancelOrderResponse"/>
+ <att name="VariableSpecification" value="MessageType=omws:CancelOrderResponse"/>
+ <att name="objectId" value="117373504324610833"/>
+ </node>
+ <node id="40" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="ShipOrderRequest"/>
+ <att name="VariableSpecification" value="MessageType=sws:ShipOrderRequest"/>
+ <att name="objectId" value="117373504324610847"/>
+ </node>
+ <node id="41" name="VARIABLE_CONTAINER">
+ <att name="VariableName" value="ShipOrderResponse"/>
+ <att name="VariableSpecification" value="MessageType=sws:ShipOrderResponse"/>
+ <att name="objectId" value="117373504324610849"/>
+ </node>
+ </graph>
+ </att>
+ <att>
+ <graph id="42" name="CORRELATION_CONTAINERS">
+ <att name="CorrSetCount" value="2"/>
+ <node id="43" name="CORRELATION_CONTAINER">
+ <att name="SetName" value="CustomerCorrelationSet"/>
+ <att name="SetProperties" value="poNumber=http://docs.active-endpoints.com/activebpel/sample/wsdl/bpelretailer/2006/04/BPELRetailer.wsdl;customerNumber=http://docs.active-endpoints.com/activebpel/sample/wsdl/bpelretailer/2006/04/BPELRetailer.wsdl"/>
+ <att name="objectId" value="117373504324610855"/>
+ </node>
+ <node id="44" name="CORRELATION_CONTAINER">
+ <att name="SetName" value="OrderManagerCorrelationSet"/>
+ <att name="SetProperties" value="orderNumber=http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl"/>
+ <att name="objectId" value="117373504324610857"/>
+ </node>
+ </graph>
+ </att>
+ <att>
+ <graph id="45" name="SCOPE_ACTIVITY">
+ <att name="text" value="Process Activities"/>
+ <att>
+ <graph id="46" name="SEQUENCE">
+ <att name="objectId" value="117373504333910925"/>
+ <att name="location" value="LOC {5,5}"/>
+ <att name="size" value="DIM {570,1761}"/>
+ <att name="gap" value="50"/>
+ <node id="47" name="RECEIVE">
+ <att name="objectId" value="117373504335510927"/>
+ <att name="size" value="DIM {185,56}"/>
+ <att name="name" value="ReceiveCustomerOrder"/>
+ <att name="partnerLink" value="Customer"/>
+ <att name="operation" value="SubmitOrder"/>
+ <att name="correlations" value="CustomerCorrelationSet,yes#false"/>
+ <att name="createInstance" value="true"/>
+ <att name="variable" value="SubmitOrderRequest"/>
+ <att name="fromParts" value="0"/>
+ </node>
+ <att>
+ <graph id="48" name="ASSIGN">
+ <att name="objectId" value="117623753602612073"/>
+ <att name="size" value="DIM {203,56}"/>
+ <att name="name" value="AssignDataForNormalReply"/>
+ <att name="copy" value="1"/>
+ <att name="validateVars" value="false"/>
+ <node id="49" name="ASSIGN_COPY">
+ <att name="fromExpression" value="true()"/>
+ <att name="fromType" value="3"/>
+ <att name="objectId" value="117623753602612074"/>
+ <att name="toVariable" value="SubmitOrderResponse"/>
+ <att name="toPart" value="Document"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ </graph>
+ </att>
+ <node id="50" name="REPLY">
+ <att name="objectId" value="117623753602612075"/>
+ <att name="size" value="DIM {212,56}"/>
+ <att name="name" value="AcknowledgeReceiptOfOrder"/>
+ <att name="partnerLink" value="Customer"/>
+ <att name="operation" value="SubmitOrder"/>
+ <att name="variable" value="SubmitOrderResponse"/>
+ <att name="toParts" value="0"/>
+ </node>
+ <att>
+ <graph id="51" name="SCOPE">
+ <att name="objectId" value="117373504335510977"/>
+ <att name="size" value="DIM {550,1376}"/>
+ <att name="exitStandardFaultScope" value=""/>
+ <att name="showTerminationHandler" value="false"/>
+ <node id="52" name="VARIABLE_CONTAINERS">
+ <att name="VariableCount" value="0"/>
+ </node>
+ <node id="53" name="CORRELATION_CONTAINERS">
+ <att name="CorrSetCount" value="0"/>
+ </node>
+ <node id="54" name="PARTNER_LINKS">
+ <att name="PartnerLinkCount" value="0"/>
+ </node>
+ <att>
+ <graph id="55" name="SCOPE_ACTIVITY">
+ <att name="objectId" value="117373504335510985"/>
+ <att name="size" value="DIM {520,1308}"/>
+ <att>
+ <graph id="56" name="SEQUENCE">
+ <att name="objectId" value="117373504335511021"/>
+ <att name="location" value="LOC {5,5}"/>
+ <att name="size" value="DIM {500,1260}"/>
+ <att name="gap" value="50"/>
+ <att>
+ <graph id="57" name="ASSIGN">
+ <att name="objectId" value="117373504335511023"/>
+ <att name="size" value="DIM {196,56}"/>
+ <att name="name" value="AssignDataForSalesOrder"/>
+ <att name="copy" value="1"/>
+ <att name="validateVars" value="false"/>
+ <node id="58" name="ASSIGN_COPY">
+ <att name="fromVariable" value="SubmitOrderRequest"/>
+ <att name="fromPart" value="Document"/>
+ <att name="fromType" value="0"/>
+ <att name="objectId" value="117373504335511025"/>
+ <att name="toVariable" value="SalesOrderRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ </graph>
+ </att>
+ <att>
+ <graph id="59" name="SCOPE">
+ <att name="objectId" value="117468359456116045"/>
+ <att name="size" value="DIM {480,345}"/>
+ <att name="name" value="CreateSalesOrder"/>
+ <att name="exitStandardFaultScope" value=""/>
+ <att name="showTerminationHandler" value="false"/>
+ <att name="showCompensator" value="true"/>
+ <node id="60" name="VARIABLE_CONTAINERS">
+ <att name="VariableCount" value="0"/>
+ </node>
+ <node id="61" name="CORRELATION_CONTAINERS">
+ <att name="CorrSetCount" value="0"/>
+ </node>
+ <node id="62" name="PARTNER_LINKS">
+ <att name="PartnerLinkCount" value="0"/>
+ </node>
+ <att>
+ <graph id="63" name="SCOPE_ACTIVITY">
+ <att name="objectId" value="117468359456116053"/>
+ <att name="size" value="DIM {180,109}"/>
+ <node id="64" name="INVOKE">
+ <att name="objectId" value="117373504335511027"/>
+ <att name="location" value="LOC {5,5}"/>
+ <att name="size" value="DIM {159,56}"/>
+ <att name="name" value="CreateSalesOrder"/>
+ <att name="partnerLink" value="OrderManager"/>
+ <att name="operation" value="CreateSalesOrder"/>
+ <att name="correlations" value="OrderManagerCorrelationSet,yes,response#true"/>
+ <att name="inputVariable" value="SalesOrderRequest"/>
+ <att name="outputVariable" value="SalesOrderResponse"/>
+ <att name="fromParts" value="0"/>
+ <att name="toParts" value="0"/>
+ </node>
+ </graph>
+ </att>
+ <node id="65" name="SCOPE_FAULTHANDLER">
+ <att name="objectId" value="117468359456116057"/>
+ </node>
+ <node id="66" name="SCOPE_EVENTHANDLER">
+ <att name="objectId" value="117468359456116059"/>
+ </node>
+ <node id="67" name="SCOPE_TERMINATIONHANDLER">
+ <att name="objectId" value="117468359456116061"/>
+ </node>
+ <att>
+ <graph id="68" name="SCOPE_COMPENSATOR">
+ <att name="objectId" value="117468359456116055"/>
+ <att name="size" value="DIM {270,277}"/>
+ <att>
+ <graph id="69" name="SEQUENCE">
+ <att name="objectId" value="117373504335511013"/>
+ <att name="location" value="LOC {5,5}"/>
+ <att name="size" value="DIM {250,229}"/>
+ <att name="gap" value="50"/>
+ <att>
+ <graph id="70" name="ASSIGN">
+ <att name="objectId" value="117373504335511015"/>
+ <att name="size" value="DIM {228,56}"/>
+ <att name="name" value="AssignDataForCancelSalesOrder"/>
+ <att name="copy" value="3"/>
+ <att name="validateVars" value="false"/>
+ <node id="71" name="ASSIGN_COPY">
+ <att name="fromLiteral" value="<ord:cancelOrder xmlns:ord="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"> <ord:orderInquiry> <ord:customerNumber></ord:customerNumber> <ord:poNumber></ord:poNumber> </ord:orderInquiry> </ord:cancelOrder>"/>
+ <att name="fromType" value="4"/>
+ <att name="objectId" value="117382100174303791"/>
+ <att name="toVariable" value="CancelOrderRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ <node id="72" name="ASSIGN_COPY">
+ <att name="fromVariable" value="SalesOrderRequest"/>
+ <att name="fromPart" value="Document"/>
+ <att name="fromQuery" value="ord:header/ord:customerNumber"/>
+ <att name="fromType" value="0"/>
+ <att name="objectId" value="117382100174303787"/>
+ <att name="toVariable" value="CancelOrderRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="toQuery" value="ord:orderInquiry/ord:customerNumber"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ <node id="73" name="ASSIGN_COPY">
+ <att name="fromVariable" value="SalesOrderRequest"/>
+ <att name="fromPart" value="Document"/>
+ <att name="fromQuery" value="ord:header/ord:poNumber"/>
+ <att name="fromType" value="0"/>
+ <att name="objectId" value="117382100174303789"/>
+ <att name="toVariable" value="CancelOrderRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="toQuery" value="ord:orderInquiry/ord:poNumber"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ </graph>
+ </att>
+ <node id="74" name="INVOKE">
+ <att name="objectId" value="117373504335511019"/>
+ <att name="size" value="DIM {158,56}"/>
+ <att name="name" value="CancelSalesOrder"/>
+ <att name="partnerLink" value="OrderManager"/>
+ <att name="operation" value="CancelOrder"/>
+ <att name="inputVariable" value="CancelOrderRequest"/>
+ <att name="outputVariable" value="CancelOrderResponse"/>
+ <att name="fromParts" value="0"/>
+ <att name="toParts" value="0"/>
+ </node>
+ </graph>
+ </att>
+ </graph>
+ </att>
+ </graph>
+ </att>
+ <node id="75" name="RECEIVE">
+ <att name="objectId" value="117373504335511029"/>
+ <att name="size" value="DIM {259,56}"/>
+ <att name="name" value="WaitForNotificationFromOrderManager"/>
+ <att name="partnerLink" value="OrderManager"/>
+ <att name="operation" value="SendSalesOrderNotification"/>
+ <att name="correlations" value="OrderManagerCorrelationSet,no#false"/>
+ <att name="variable" value="SendSalesOrderNotificationRequest"/>
+ <att name="fromParts" value="0"/>
+ </node>
+ <att>
+ <graph id="76" name="ASSIGN">
+ <att name="objectId" value="117373504335511031"/>
+ <att name="size" value="DIM {300,56}"/>
+ <att name="name" value="AssignDataForOrderManagerAcknowledgement"/>
+ <att name="copy" value="1"/>
+ <att name="validateVars" value="false"/>
+ <node id="77" name="ASSIGN_COPY">
+ <att name="fromExpression" value="true()"/>
+ <att name="fromType" value="3"/>
+ <att name="objectId" value="117373504335511033"/>
+ <att name="toVariable" value="SendSalesOrderNotificationResponse"/>
+ <att name="toPart" value="Document"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ </graph>
+ </att>
+ <node id="78" name="REPLY">
+ <att name="objectId" value="117373504335511035"/>
+ <att name="size" value="DIM {206,56}"/>
+ <att name="name" value="AcknowledgeOrderManager"/>
+ <att name="partnerLink" value="OrderManager"/>
+ <att name="operation" value="SendSalesOrderNotification"/>
+ <att name="variable" value="SendSalesOrderNotificationResponse"/>
+ <att name="toParts" value="0"/>
+ </node>
+ <att>
+ <graph id="79" name="ASSIGN">
+ <att name="objectId" value="117373504335511037"/>
+ <att name="size" value="DIM {191,56}"/>
+ <att name="name" value="AssignDataForShipOrder"/>
+ <att name="copy" value="4"/>
+ <att name="validateVars" value="false"/>
+ <node id="80" name="ASSIGN_COPY">
+ <att name="fromLiteral" value="<ship:shippingRequest xmlns:ship="http://schemas.active-endpoints.com/sample/shipping/2006/04/Shipping.xsd"> <ship:customerNumber></ship:customerNumber> <ship:poNumber></ship:poNumber> <ship:orderNumber></ship:orderNumber> </ship:shippingRequest>"/>
+ <att name="fromType" value="4"/>
+ <att name="objectId" value="117381962974701999"/>
+ <att name="toVariable" value="ShipOrderRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ <node id="81" name="ASSIGN_COPY">
+ <att name="fromVariable" value="SalesOrderRequest"/>
+ <att name="fromPart" value="Document"/>
+ <att name="fromQuery" value="ord:header/ord:customerNumber"/>
+ <att name="fromType" value="0"/>
+ <att name="objectId" value="117381962974701993"/>
+ <att name="toVariable" value="ShipOrderRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="toQuery" value="ship:customerNumber"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ <node id="82" name="ASSIGN_COPY">
+ <att name="fromVariable" value="SalesOrderRequest"/>
+ <att name="fromPart" value="Document"/>
+ <att name="fromQuery" value="ord:header/ord:poNumber"/>
+ <att name="fromType" value="0"/>
+ <att name="objectId" value="117381962974701995"/>
+ <att name="toVariable" value="ShipOrderRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="toQuery" value="ship:poNumber"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ <node id="83" name="ASSIGN_COPY">
+ <att name="fromVariable" value="SendSalesOrderNotificationRequest"/>
+ <att name="fromPart" value="Document"/>
+ <att name="fromQuery" value="ordmgr:orderNumber"/>
+ <att name="fromType" value="0"/>
+ <att name="objectId" value="117381962974701997"/>
+ <att name="toVariable" value="ShipOrderRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="toQuery" value="ship:orderNumber"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ </graph>
+ </att>
+ <node id="84" name="INVOKE">
+ <att name="objectId" value="117373504335511045"/>
+ <att name="size" value="DIM {121,56}"/>
+ <att name="name" value="ShipOrder"/>
+ <att name="partnerLink" value="Shipper"/>
+ <att name="operation" value="ShipOrder"/>
+ <att name="inputVariable" value="ShipOrderRequest"/>
+ <att name="outputVariable" value="ShipOrderResponse"/>
+ <att name="fromParts" value="0"/>
+ <att name="toParts" value="0"/>
+ </node>
+ <att>
+ <graph id="85" name="ASSIGN">
+ <att name="objectId" value="117373504335511047"/>
+ <att name="size" value="DIM {232,56}"/>
+ <att name="name" value="AssignDataForOrderConfirmation"/>
+ <att name="copy" value="4"/>
+ <att name="validateVars" value="false"/>
+ <node id="86" name="ASSIGN_COPY">
+ <att name="fromLiteral" value="<cust:orderConfirmation xmlns:cust="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd"> <cust:customerNumber></cust:customerNumber> <cust:poNumber></cust:poNumber> <cust:orderNumber></cust:orderNumber> </cust:orderConfirmation>"/>
+ <att name="fromType" value="4"/>
+ <att name="objectId" value="117638692243704189"/>
+ <att name="toVariable" value="SendOrderConfirmationRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ <node id="87" name="ASSIGN_COPY">
+ <att name="fromVariable" value="SalesOrderRequest"/>
+ <att name="fromPart" value="Document"/>
+ <att name="fromQuery" value="ord:header/ord:customerNumber"/>
+ <att name="fromType" value="0"/>
+ <att name="objectId" value="117638690585604183"/>
+ <att name="toVariable" value="SendOrderConfirmationRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="toQuery" value="cust:customerNumber"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ <node id="88" name="ASSIGN_COPY">
+ <att name="fromVariable" value="SalesOrderRequest"/>
+ <att name="fromPart" value="Document"/>
+ <att name="fromQuery" value="ord:header/ord:poNumber"/>
+ <att name="fromType" value="0"/>
+ <att name="objectId" value="117638690585604185"/>
+ <att name="toVariable" value="SendOrderConfirmationRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="toQuery" value="cust:poNumber"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ <node id="89" name="ASSIGN_COPY">
+ <att name="fromVariable" value="SendSalesOrderNotificationRequest"/>
+ <att name="fromPart" value="Document"/>
+ <att name="fromQuery" value="ordmgr:orderNumber"/>
+ <att name="fromType" value="0"/>
+ <att name="objectId" value="117638690585604187"/>
+ <att name="toVariable" value="SendOrderConfirmationRequest"/>
+ <att name="toPart" value="Document"/>
+ <att name="toQuery" value="cust:orderNumber"/>
+ <att name="ignoreMissingFromData" value="false"/>
+ </node>
+ </graph>
+ </att>
+ <node id="90" name="INVOKE">
+ <att name="objectId" value="117373504335511057"/>
+ <att name="size" value="DIM {186,56}"/>
+ <att name="name" value="SendOrderConfirmation"/>
+ <att name="partnerLink" value="Customer"/>
+ <att name="operation" value="SendOrderConfirmation"/>
+ <att name="correlations" value="CustomerCorrelationSet,no,request#true"/>
+ <att name="inputVariable" value="SendOrderConfirmationRequest"/>
+ <att name="outputVariable" value="SendOrderConfirmationResponse"/>
+ <att name="fromParts" value="0"/>
+ <att name="toParts" value="0"/>
+ </node>
+ </graph>
+ </att>
+ </graph>
+ </att>
+ <node id="91" name="SCOPE_FAULTHANDLER">
+ <att name="objectId" value="117373504335510989"/>
+ <att name="size" value="DIM {80,109}"/>
+ </node>
+ <node id="92" name="SCOPE_EVENTHANDLER">
+ <att name="objectId" value="117373504335510991"/>
+ </node>
+ <node id="93" name="SCOPE_TERMINATIONHANDLER">
+ <att name="objectId" value="117373504335510993"/>
+ </node>
+ <node id="94" name="SCOPE_COMPENSATOR">
+ <att name="objectId" value="117373504335510987"/>
+ <att name="size" value="DIM {80,109}"/>
+ </node>
+ </graph>
+ </att>
+ </graph>
+ </att>
+ </graph>
+ </att>
+ <node id="95" name="SCOPE_FAULTHANDLER"/>
+ <node id="96" name="SCOPE_EVENTHANDLER"/>
+ <edge id="0" source="79" target="84">
+ <att name="objectId" value="117373504333910911"/>
+ <att name="linkName" value="L2"/>
+ </edge>
+</graph>
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CancelOrderResponse.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CancelOrderResponse.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CancelOrderResponse.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<tns:cancelOrderAck
+ xmlns:tns="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd">
+ true
+</tns:cancelOrderAck>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CancelOrderResponse.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CreateSalesOrderRequest.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CreateSalesOrderRequest.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CreateSalesOrderRequest.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ord:customerOrder
+ xmlns:ord="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"
+ xmlns:std="http://schemas.active-endpoints.com/sample/standardtypes/2006/04/StandardTypes.xsd">
+ <ord:header>
+ <ord:customerNumber>123456</ord:customerNumber>
+ <ord:poNumber>PO000123</ord:poNumber>
+ <ord:orderDate>2006-05-01</ord:orderDate>
+ <ord:orderTotal>88500.00</ord:orderTotal>
+ <ord:billTo>
+ <std:company>Active Steel</std:company>
+ <std:contact>
+ <std:name>Bob Active</std:name>
+ <std:phone>(203) 555-1234</std:phone>
+ <std:fax>(203) 555-1235</std:fax>
+ <std:email>bob at activeSteel.com</std:email>
+ </std:contact>
+ <std:address>
+ <std:street1>160 Active Lane</std:street1>
+ <std:city>Shelton</std:city>
+ <std:state>CT</std:state>
+ <std:zip>06484</std:zip>
+ </std:address>
+ </ord:billTo>
+ <ord:shipTo>
+ <std:company>Active Steel</std:company>
+ <std:contact>
+ <std:name>Bob Active</std:name>
+ <std:phone>(203) 555-1234</std:phone>
+ <std:fax>(203) 555-1235</std:fax>
+ <std:email>bob at activeSteel.com</std:email>
+ </std:contact>
+ <std:address>
+ <std:street1>160 Active Lane</std:street1>
+ <std:city>Shelton</std:city>
+ <std:state>CT</std:state>
+ <std:zip>06484</std:zip>
+ </std:address>
+ </ord:shipTo>
+ <ord:partialShipPreference>yes</ord:partialShipPreference>
+ </ord:header>
+ <ord:items>
+ <ord:item>
+ <ord:partNumber>FLT16100</ord:partNumber>
+ <ord:description>Flat 16 feet 100 count</ord:description>
+ <ord:quantity>50</ord:quantity>
+ <ord:price>490.00</ord:price>
+ <ord:extensionAmount>24500.00</ord:extensionAmount>
+ </ord:item>
+ <ord:item>
+ <ord:partNumber>RND32050</ord:partNumber>
+ <ord:description>Round 32 feet 100 count</ord:description>
+ <ord:quantity>100</ord:quantity>
+ <ord:price>640.00</ord:price>
+ <ord:extensionAmount>64000.00</ord:extensionAmount>
+ </ord:item>
+ </ord:items>
+</ord:customerOrder>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CreateSalesOrderRequest.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CreateSalesOrderResponse.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CreateSalesOrderResponse.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CreateSalesOrderResponse.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ordmgr:orderNumber
+ xmlns:ordmgr="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd">2006-31982</ordmgr:orderNumber>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/CreateSalesOrderResponse.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderFault.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderFault.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderFault.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ordmgr:salesOrderFault
+ xmlns:ordmgr="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd">
+<ordmgr:reason>system error</ordmgr:reason>
+</ordmgr:salesOrderFault>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderFault.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderNotificationRequest.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderNotificationRequest.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderNotificationRequest.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ordmgr:salesOrderNotification xmlns:ordmgr="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd OrderManager.xsd ">
+ <ordmgr:orderNumber>2006-31982</ordmgr:orderNumber>
+</ordmgr:salesOrderNotification>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SalesOrderNotificationRequest.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendOrderConfirmationResponse.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendOrderConfirmationResponse.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendOrderConfirmationResponse.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cws:orderConfirmationAck
+ xmlns:cws="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd">
+ true
+</cws:orderConfirmationAck>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendOrderConfirmationResponse.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderNotificationRequestCompletedOrder.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderNotificationRequestCompletedOrder.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderNotificationRequestCompletedOrder.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ordmgr:salesOrderNotification xmlns:ordmgr="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd OrderManager.xsd ">
+ <ordmgr:orderNumber>2006-31982</ordmgr:orderNumber>
+</ordmgr:salesOrderNotification>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SendSalesOrderNotificationRequestCompletedOrder.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/ShipOrderResponse.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/ShipOrderResponse.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/ShipOrderResponse.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<tns:shippingResponse
+ xmlns:tns="http://schemas.active-endpoints.com/sample/shipping/2006/04/Shipping.xsd">
+ <tns:orderShipped>true</tns:orderShipped>
+</tns:shippingResponse>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/ShipOrderResponse.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ord:customerOrder
+ xmlns:ord="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"
+ xmlns:std="http://schemas.active-endpoints.com/sample/standardtypes/2006/04/StandardTypes.xsd">
+ <ord:header>
+ <ord:customerNumber>123456</ord:customerNumber>
+ <ord:poNumber>PO000123</ord:poNumber>
+ <ord:orderDate>2006-05-01</ord:orderDate>
+ <ord:orderTotal>88500.00</ord:orderTotal>
+ <ord:billTo>
+ <std:company>Active Steel</std:company>
+ <std:contact>
+ <std:name>Bob Active</std:name>
+ <std:phone>(203) 555-1234</std:phone>
+ <std:fax>(203) 555-1235</std:fax>
+ <std:email>bob at activeSteel.com</std:email>
+ </std:contact>
+ <std:address>
+ <std:street1>160 Active Lane</std:street1>
+ <std:city>Shelton</std:city>
+ <std:state>CT</std:state>
+ <std:zip>06484</std:zip>
+ </std:address>
+ </ord:billTo>
+ <ord:shipTo>
+ <std:company>Active Steel</std:company>
+ <std:contact>
+ <std:name>Bob Active</std:name>
+ <std:phone>(203) 555-1234</std:phone>
+ <std:fax>(203) 555-1235</std:fax>
+ <std:email>bob at activeSteel.com</std:email>
+ </std:contact>
+ <std:address>
+ <std:street1>160 Active Lane</std:street1>
+ <std:city>Shelton</std:city>
+ <std:state>CT</std:state>
+ <std:zip>06484</std:zip>
+ </std:address>
+ </ord:shipTo>
+ </ord:header>
+ <ord:items>
+ <ord:item>
+ <ord:partNumber>FLT16100</ord:partNumber>
+ <ord:description>Flat 16 feet 100 count</ord:description>
+ <ord:quantity>50</ord:quantity>
+ <ord:price>490.00</ord:price>
+ <ord:extensionAmount>24500.00</ord:extensionAmount>
+ </ord:item>
+ <ord:item>
+ <ord:partNumber>RND32050</ord:partNumber>
+ <ord:description>Round 32 feet 100 count</ord:description>
+ <ord:quantity>100</ord:quantity>
+ <ord:price>640.00</ord:price>
+ <ord:extensionAmount>64000.00</ord:extensionAmount>
+ </ord:item>
+ </ord:items>
+</ord:customerOrder>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderRequest.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderResponse.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderResponse.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderResponse.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cust:customerOrderAck xmlns:cust="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd">true</cust:customerOrderAck>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/sampleData/SubmitOrderResponse.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/Customer.xsd
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/Customer.xsd (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/Customer.xsd 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,20 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<xs:schema elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ targetNamespace="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd"
+ xmlns:tns="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="orderConfirmation" type="tns:OrderConfirmation" />
+ <xs:element name="orderConfirmationAck" type="xs:boolean" />
+
+ <xs:complexType name="OrderConfirmation">
+ <xs:sequence>
+ <xs:element name="customerNumber" type="xs:string" />
+ <xs:element name="poNumber" type="xs:string" />
+ <xs:element name="orderNumber" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/Customer.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/CustomerOrder.xsd
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/CustomerOrder.xsd (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/CustomerOrder.xsd 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ targetNamespace="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"
+ xmlns:tns="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"
+ xmlns:std="http://schemas.active-endpoints.com/sample/standardtypes/2006/04/StandardTypes.xsd"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:import
+ namespace="http://schemas.active-endpoints.com/sample/standardtypes/2006/04/StandardTypes.xsd"
+ schemaLocation="StandardTypes.xsd" />
+
+ <xs:element name="customerOrder" type="tns:CustomerOrder" />
+ <xs:element name="header" type="tns:OrderHeader" />
+ <xs:element name="items" type="tns:OrderItems" />
+ <xs:element name="item" type="tns:Item" />
+ <xs:element name="customerOrderAck" type="xs:boolean" />
+ <xs:element name="orderInquiry" type="tns:OrderInquiry" />
+ <xs:element name="customerNumber" type="xs:string" />
+ <xs:element name="poNumber" type="xs:string" />
+ <xs:element name="orderStatus" type="xs:string" />
+ <xs:element name="cancelOrder" type="tns:CancelOrder" />
+
+ <xs:complexType name="CustomerOrder">
+ <xs:sequence>
+ <xs:element ref="tns:header" />
+ <xs:element ref="tns:items" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="OrderHeader">
+ <xs:sequence>
+ <xs:element ref="tns:customerNumber" />
+ <xs:element ref="tns:poNumber" />
+ <xs:element name="orderDate" type="xs:date" />
+ <xs:element name="orderTotal" type="std:Amount" />
+ <xs:element name="billTo" type="std:Party" />
+ <xs:element name="shipTo" type="std:Party" />
+ <xs:element name="billTerms" type="xs:string" minOccurs="0"
+ maxOccurs="1" />
+ <xs:element name="shipTerms" type="xs:string" minOccurs="0"
+ maxOccurs="1" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="OrderItems">
+ <xs:sequence>
+ <xs:element ref="tns:item" maxOccurs="unbounded"
+ minOccurs="1" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Item">
+ <xs:sequence>
+ <xs:element name="partNumber" type="std:SKU" />
+ <xs:element name="description" type="xs:string" />
+ <xs:element name="quantity" type="xs:unsignedShort" />
+ <xs:element name="price" type="std:Amount" />
+ <xs:element name="extensionAmount" type="std:Amount" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="OrderInquiry">
+ <xs:sequence>
+ <xs:element ref="tns:customerNumber" />
+ <xs:element ref="tns:poNumber" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="CancelOrder">
+ <xs:sequence>
+ <xs:element ref="tns:orderInquiry" />
+ </xs:sequence>
+ </xs:complexType>
+
+
+
+</xs:schema>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/CustomerOrder.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/OrderManager.xsd
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/OrderManager.xsd (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/OrderManager.xsd 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ targetNamespace="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd"
+ xmlns:tns="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="salesOrderNotification"
+ type="tns:SalesOrderNotification" />
+ <xs:element name="orderNumber" type="xs:string" />
+ <xs:element name="salesOrderNotificationAck" type="xs:boolean" />
+ <xs:element name="cancelOrderAck" type="xs:boolean" />
+ <xs:element name="salesOrderFault" type="tns:SalesOrderFault" />
+
+ <xs:complexType name="SalesOrderNotification">
+ <xs:sequence>
+ <xs:element ref="tns:orderNumber" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="SalesOrderFault">
+ <xs:sequence>
+ <xs:element name="reason" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/OrderManager.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/Shipping.xsd
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/Shipping.xsd (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/Shipping.xsd 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ targetNamespace="http://schemas.active-endpoints.com/sample/shipping/2006/04/Shipping.xsd"
+ xmlns:tns="http://schemas.active-endpoints.com/sample/shipping/2006/04/Shipping.xsd"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:element name="shippingRequest" type="tns:ShippingRequest" />
+ <xs:element name="shippingResponse" type="tns:ShippingResponse" />
+
+ <xs:complexType name="ShippingRequest">
+ <xs:sequence>
+ <xs:element name="customerNumber" type="xs:string" />
+ <xs:element name="poNumber" type="xs:string" />
+ <xs:element name="orderNumber" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="ShippingResponse">
+ <xs:sequence>
+ <xs:element name="orderShipped" type="xs:boolean" />
+ </xs:sequence>
+ </xs:complexType>
+
+</xs:schema>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/Shipping.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/StandardTypes.xsd
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/StandardTypes.xsd (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/StandardTypes.xsd 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xs:schema elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ targetNamespace="http://schemas.active-endpoints.com/sample/standardtypes/2006/04/StandardTypes.xsd"
+ xmlns:tns="http://schemas.active-endpoints.com/sample/standardtypes/2006/04/StandardTypes.xsd"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:complexType name="Party">
+ <xs:sequence>
+ <xs:element name="company" type="xs:string" />
+ <xs:element name="contact" type="tns:Contact" />
+ <xs:element name="address" type="tns:Address" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Contact">
+ <xs:sequence>
+ <xs:element name="name" type="xs:string" />
+ <xs:element name="phone" type="xs:string" />
+ <xs:element name="fax" type="xs:string" />
+ <xs:element name="email" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="Address">
+ <xs:sequence>
+ <xs:element name="street1" type="xs:string" />
+ <xs:element name="street2" type="xs:string" minOccurs="0"
+ maxOccurs="1" />
+ <xs:element name="city" type="xs:string" />
+ <xs:element name="state" type="xs:string" />
+ <xs:element name="zip" type="xs:string" />
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:simpleType name="SKU">
+ <xs:restriction base="xs:string">
+ <xs:length value="8" />
+ <xs:pattern value="[A-Z]{3}[0-9]{5}" />
+ </xs:restriction>
+ </xs:simpleType>
+
+ <xs:simpleType name="Amount">
+ <xs:restriction base="xs:decimal">
+ <xs:totalDigits value="8" />
+ <xs:fractionDigits value="2" />
+ <xs:minExclusive value="0" />
+ </xs:restriction>
+ </xs:simpleType>
+
+</xs:schema>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/schema/StandardTypes.xsd
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/BPELRetailer.wsdl
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/BPELRetailer.wsdl (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/BPELRetailer.wsdl 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="BPELRetailer"
+ targetNamespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/bpelretailer/2006/04/BPELRetailer.wsdl"
+ xmlns:tns="http://docs.active-endpoints.com/activebpel/sample/wsdl/bpelretailer/2006/04/BPELRetailer.wsdl"
+ xmlns:cws="http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Customer.wsdl"
+ xmlns:ord="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"
+ xmlns:cust="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd"
+ xmlns:rws="http://docs.active-endpoints.com/activebpel/sample/wsdl/retailer/2006/04/Retailer.wsdl"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+
+ <wsdl:import
+ namespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/retailer/2006/04/Retailer.wsdl"
+ location="Retailer.wsdl" />
+ <wsdl:import
+ namespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Customer.wsdl"
+ location="Customer.wsdl" />
+
+ <plnk:partnerLinkType name="PurchasingPLT">
+ <plnk:role name="Buyer" portType="cws:CustomerPortType" />
+ <plnk:role name="Seller" portType="rws:RetailerPortType" />
+ </plnk:partnerLinkType>
+
+ <vprop:property name="customerNumber" type="xsd:string" />
+ <vprop:property name="poNumber" type="xsd:string" />
+
+ <vprop:propertyAlias messageType="cws:SendOrderConfirmationRequest"
+ part="Document" propertyName="tns:customerNumber">
+ <vprop:query>/cust:orderConfirmation/cust:customerNumber</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias messageType="rws:SubmitOrderRequest"
+ part="Document" propertyName="tns:customerNumber">
+ <vprop:query>/ord:customerOrder/ord:header/ord:customerNumber</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias messageType="cws:SendOrderConfirmationRequest"
+ part="Document" propertyName="tns:poNumber">
+ <vprop:query>/cust:orderConfirmation/cust:poNumber</vprop:query>
+ </vprop:propertyAlias>
+
+ <vprop:propertyAlias messageType="rws:SubmitOrderRequest"
+ part="Document" propertyName="tns:poNumber">
+ <vprop:query>/ord:customerOrder/ord:header/ord:poNumber</vprop:query>
+ </vprop:propertyAlias>
+
+</wsdl:definitions>
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Customer.wsdl
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Customer.wsdl (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Customer.wsdl 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="Customer"
+ targetNamespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Customer.wsdl"
+ xmlns:tns="http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Customer.wsdl"
+ xmlns:cust="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+
+ <wsdl:types>
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:import
+ namespace="http://schemas.active-endpoints.com/sample/customer/2006/04/Customer.xsd"
+ schemaLocation="../schema/Customer.xsd" />
+ </xs:schema>
+ </wsdl:types>
+
+ <wsdl:message name="SendOrderConfirmationRequest">
+ <wsdl:part name="Document" element="cust:orderConfirmation" />
+ </wsdl:message>
+
+ <wsdl:message name="SendOrderConfirmationResponse">
+ <wsdl:part name="Document" element="cust:orderConfirmationAck" />
+ </wsdl:message>
+
+ <wsdl:portType name="CustomerPortType">
+ <wsdl:operation name="SendOrderConfirmation">
+ <wsdl:input message="tns:SendOrderConfirmationRequest" />
+ <wsdl:output message="tns:SendOrderConfirmationResponse" />
+ </wsdl:operation>
+
+ </wsdl:portType>
+
+ <wsdl:binding name="CustomerSoap" type="tns:CustomerPortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="SendOrderConfirmation">
+ <soap:operation
+ soapAction="http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Customer.wsdl/SendOrderConfirmation"
+ style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="CustomerService">
+ <wsdl:port name="CustomerSoap" binding="tns:CustomerSoap">
+ <soap:address
+ location="http://localhost:8080/active-bpel/services/ABI_Customer" />
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/OrderManager.wsdl
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/OrderManager.wsdl (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/OrderManager.wsdl 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="OrderManager"
+ targetNamespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl"
+ xmlns:tns="http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl"
+ xmlns:ordmgr="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd"
+ xmlns:ord="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype">
+
+ <plnk:partnerLinkType name="OrderingPLT">
+ <plnk:role name="OrderingSystem"
+ portType="tns:OrderManagerPortType" />
+ <plnk:role name="OrderPlacer"
+ portType="tns:RetailerCallbackPortType" />
+ </plnk:partnerLinkType>
+
+ <vprop:property name="orderNumber" type="xsd:string" />
+ <vprop:propertyAlias messageType="tns:CreateSalesOrderResponse"
+ part="Document" propertyName="tns:orderNumber">
+ <vprop:query>/ordmgr:orderNumber</vprop:query>
+ </vprop:propertyAlias>
+ <vprop:propertyAlias
+ messageType="tns:SendSalesOrderNotificationRequest" part="Document"
+ propertyName="tns:orderNumber">
+ <vprop:query>
+ /ordmgr:salesOrderNotification/ordmgr:orderNumber
+ </vprop:query>
+ </vprop:propertyAlias>
+
+ <wsdl:types>
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:import
+ namespace="http://schemas.active-endpoints.com/sample/ordermanager/2006/04/OrderManager.xsd"
+ schemaLocation="../schema/OrderManager.xsd" />
+ <xs:import
+ namespace="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"
+ schemaLocation="../schema/CustomerOrder.xsd" />
+ </xs:schema>
+ </wsdl:types>
+
+ <wsdl:message name="CreateSalesOrderResponse">
+ <wsdl:part name="Document" element="ordmgr:orderNumber" />
+ </wsdl:message>
+
+ <wsdl:message name="CancelOrderRequest">
+ <wsdl:part name="Document" element="ord:cancelOrder" />
+ </wsdl:message>
+
+ <wsdl:message name="CancelOrderResponse">
+ <wsdl:part name="Document" element="ordmgr:cancelOrderAck" />
+ </wsdl:message>
+
+ <wsdl:message name="CreateSalesOrderRequest">
+ <wsdl:part name="Document" element="ord:customerOrder" />
+ </wsdl:message>
+
+ <wsdl:message name="SendSalesOrderNotificationRequest">
+ <wsdl:part name="Document" element="ordmgr:salesOrderNotification" />
+ </wsdl:message>
+
+ <wsdl:message name="SendSalesOrderNotificationResponse">
+ <wsdl:part name="Document" element="ordmgr:salesOrderNotificationAck" />
+ </wsdl:message>
+
+ <wsdl:message name="SalesOrderFault">
+ <wsdl:part name="Fault" element="ordmgr:salesOrderFault" />
+ </wsdl:message>
+
+ <wsdl:portType name="OrderManagerPortType">
+ <wsdl:operation name="CreateSalesOrder">
+ <wsdl:input message="tns:CreateSalesOrderRequest" />
+ <wsdl:output message="tns:CreateSalesOrderResponse" />
+ <wsdl:fault name="SalesOrderFault" message="tns:SalesOrderFault" />
+ </wsdl:operation>
+ <wsdl:operation name="CancelOrder">
+ <wsdl:input message="tns:CancelOrderRequest" />
+ <wsdl:output message="tns:CancelOrderResponse" />
+ </wsdl:operation>
+
+ </wsdl:portType>
+
+ <wsdl:portType name="RetailerCallbackPortType">
+ <wsdl:operation name="SendSalesOrderNotification">
+ <wsdl:input message="tns:SendSalesOrderNotificationRequest" />
+ <wsdl:output
+ message="tns:SendSalesOrderNotificationResponse" />
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="RetailerCallbackSoap"
+ type="tns:RetailerCallbackPortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ <wsdl:operation name="SendSalesOrderNotification">
+ <soap:operation
+ soapAction="http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl/SendSalesOrderNotification"
+ style="document" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ <wsdl:input>
+ <soap:body use="literal"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:binding name="OrderManagerSoap"
+ type="tns:OrderManagerPortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ <wsdl:operation name="CreateSalesOrder">
+ <soap:operation
+ soapAction="http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl/EnterSalesOrder"
+ style="document" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ <wsdl:input>
+ <soap:body use="literal"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ </wsdl:output>
+ <wsdl:fault name="SalesOrderFault">
+ <soap:fault name="SalesOrderFault" use="literal" />
+ </wsdl:fault>
+ </wsdl:operation>
+ <wsdl:operation name="CancelOrder">
+ <soap:operation
+ soapAction="http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl/CancelSalesOrder"
+ style="document" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ <wsdl:input>
+ <soap:body use="literal"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="RetailerCallbackService">
+ <wsdl:port name="RetailerCallbackSoap"
+ binding="tns:RetailerCallbackSoap">
+ <soap:address
+ location="http://localhost:8080/active-bpel/services/OrderManagerCallback"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ </wsdl:port>
+ </wsdl:service>
+
+ <wsdl:service name="OrderManagerService">
+ <wsdl:port name="OrderManagerSoap"
+ binding="tns:OrderManagerSoap">
+ <soap:address
+ location="http://localhost:8080/active-bpel/services/ABI_OrderManager"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />
+ </wsdl:port>
+ </wsdl:service>
+
+</wsdl:definitions>
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Retailer.wsdl
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Retailer.wsdl (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Retailer.wsdl 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="Retailer"
+ targetNamespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/retailer/2006/04/Retailer.wsdl"
+ xmlns:tns="http://docs.active-endpoints.com/activebpel/sample/wsdl/retailer/2006/04/Retailer.wsdl"
+ xmlns:cust="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"
+ xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+
+ <wsdl:types>
+ <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+ <xsd:import
+ namespace="http://schemas.active-endpoints.com/sample/customerorder/2006/04/CustomerOrder.xsd"
+ schemaLocation="../schema/CustomerOrder.xsd" />
+ </xsd:schema>
+ </wsdl:types>
+
+ <wsdl:message name="SubmitOrderRequest">
+ <wsdl:part name="Document" element="cust:customerOrder" />
+ </wsdl:message>
+
+ <wsdl:message name="SubmitOrderResponse">
+ <wsdl:part name="Document" element="cust:customerOrderAck" />
+ </wsdl:message>
+
+ <wsdl:portType name="RetailerPortType">
+ <wsdl:operation name="SubmitOrder">
+ <wsdl:input message="tns:SubmitOrderRequest" />
+ <wsdl:output message="tns:SubmitOrderResponse" />
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Shipping.wsdl
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Shipping.wsdl (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/Shipping.wsdl 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions name="Audit"
+ targetNamespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/shipping/2006/04/Shipping.wsdl"
+ xmlns:tns="http://docs.active-endpoints.com/activebpel/sample/wsdl/shipping/2006/04/Shipping.wsdl"
+ xmlns:ship="http://schemas.active-endpoints.com/sample/shipping/2006/04/Shipping.xsd"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/">
+
+ <plnk:partnerLinkType name="ShippingPLT">
+ <plnk:role name="Shipper" portType="tns:ShippingPortType" />
+ </plnk:partnerLinkType>
+
+ <wsdl:types>
+ <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+ <xs:import
+ namespace="http://schemas.active-endpoints.com/sample/shipping/2006/04/Shipping.xsd"
+ schemaLocation="../schema/Shipping.xsd" />
+ </xs:schema>
+ </wsdl:types>
+
+ <wsdl:message name="ShipOrderRequest">
+ <wsdl:part name="Document" element="ship:shippingRequest" />
+ </wsdl:message>
+
+ <wsdl:message name="ShipOrderResponse">
+ <wsdl:part name="Document" element="ship:shippingResponse" />
+ </wsdl:message>
+
+ <wsdl:portType name="ShippingPortType">
+ <wsdl:operation name="ShipOrder">
+ <wsdl:input message="tns:ShipOrderRequest" />
+ <wsdl:output message="tns:ShipOrderResponse" />
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="ShippingSoap" type="tns:ShippingPortType">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="ShipOrder">
+ <soap:operation
+ soapAction="http://docs.active-endpoints.com/activebpel/sample/wsdl/customer/2006/04/Shipping.wsdl/ShipOrder"
+ style="document" />
+ <wsdl:input>
+ <soap:body use="literal" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal" />
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+
+ <wsdl:service name="ShippingService">
+ <wsdl:port name="ShippingSoap" binding="tns:ShippingSoap">
+ <soap:address
+ location="http://localhost:8080/active-bpel/services/ABI_Shipping" />
+ </wsdl:port>
+ </wsdl:service>
+
+</wsdl:definitions>
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/wstools-config-ordermanager.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/wstools-config-ordermanager.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/wstools-config-ordermanager.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,7 @@
+<configuration xmlns="http://www.jboss.org/jbossws-tools" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <global>
+ <package-namespace package="com.activebpel.ordermanagement" namespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/ordermanager/2006/04/OrderManager.wsdl"/>
+ </global>
+ <wsdl-java file="bpel/resources/wsdl/OrderManager.wsdl" unwrap="false" />
+</configuration>
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/wstools-config-ordermanager.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/wstools-config-shipping.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/wstools-config-shipping.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/wstools-config-shipping.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,7 @@
+<configuration xmlns="http://www.jboss.org/jbossws-tools" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.org/jbossws-tools http://www.jboss.org/jbossws-tools/schema/jbossws-tool_1_0.xsd">
+ <global>
+ <package-namespace package="com.activebpel.shipping" namespace="http://docs.active-endpoints.com/activebpel/sample/wsdl/shipping/2006/04/Shipping.wsdl"/>
+ </global>
+ <wsdl-java file="bpel/resources/wsdl/Shipping.wsdl" unwrap="false" />
+</configuration>
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/bpel/resources/wsdl/wstools-config-shipping.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,43 @@
+<project name="Quickstart_webservice_bpel" default="deploy" basedir=".">
+
+ <property name="additional.deploys" value="jbmq-service.xml"/>
+
+ <!-- Import the base Ant build script... -->
+ <import file="../base-build.xml"/>
+
+ <target name="compile" depends="clean">
+ <antcall target="wstools">
+ <param name="config" value="bpel/resources/wsdl/wstools-config-ordermanager.xml"/>
+ <param name="servicename" value="OrderManager"/>
+ </antcall>
+ <antcall target="wstools">
+ <param name="config" value="bpel/resources/wsdl/wstools-config-shipping.xml"/>
+ <param name="servicename" value="Shipping"/>
+ </antcall>
+
+ <mkdir dir="${classes}" />
+ <javac srcdir="src" destdir="${classes}">
+ <classpath>
+ <path refid="compile-classpath" />
+ <fileset dir="${jbosshome.dir}/client" includes="jbossws-client.jar,jboss-remoting.jar"/>
+ <fileset dir="build" includes="*-bindings.jar"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="quickstart-specific-assemblies" depends="assert-ws-available">
+ <!-- Overriden from the target of the same name in base-build.xml. -->
+ <!-- Called by the "deploy" target. Don't call directly!! -->
+
+ <property name="web-inf.dir" value="${basedir}/war/resources/WEB-INF"/>
+
+ <!-- Build the webservice... -->
+ <war warfile="build/${ant.project.name}.war"
+ webxml="${web-inf.dir}/web.xml">
+ <fileset dir="${basedir}/war/view">
+ <include name="**/*"/>
+ </fileset>
+ </war>
+ </target>
+
+</project>
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/build.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jbmq-service.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jbmq-service.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jbmq-service.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.mq.destination:service=Queue,name=quickstart_webservice_bpel_gw">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.mq.destination:service=Queue,name=quickstart_webservice_bpel_esb">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+ <mbean code="org.jboss.mq.server.jmx.Queue"
+ name="jboss.mq.destination:service=Queue,name=quickstart_webservice_bpel_esb_reply">
+ <depends optional-attribute-name="DestinationManager">
+ jboss.mq:service=DestinationManager
+ </depends>
+ </mbean>
+</server>
\ No newline at end of file
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jbmq-service.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,87 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb
+ xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"
+ parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory"
+ jndi-context-factory="org.jnp.interfaces.NamingContextFactory"
+ jndi-URL="localhost">
+
+ <jms-bus busid="OrderManagerGateway">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_bpel_gw"/>
+ </jms-bus>
+ <jms-bus busid="OrderManagerService">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_bpel_esb"
+ selector="service='ordermanager'"/>
+ </jms-bus>
+ <jms-bus busid="ShipperService">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_webservice_bpel_esb"
+ selector="service='shipper'"/>
+ </jms-bus>
+ </jms-provider>
+
+ <jbr-provider name="JBR-Http-1" protocol="http" host="localhost">
+ <jbr-bus busid="Http-1" port="8865"/>
+ </jbr-provider>
+
+ <jbr-provider name="JBR-Http-2" protocol="http" host="localhost">
+ <jbr-bus busid="Http-2" port="8866"/>
+ </jbr-provider>
+
+ <jbr-provider name="JBR-Socket" protocol="socket" host="localhost">
+ <jbr-bus busid="Socket-1" port="8988"/>
+ </jbr-provider>
+
+ </providers>
+
+ <services>
+
+ <service category="ABI_OrderManager" name="ABI_OrderManager" description="ABI OrderManager Service">
+
+ <listeners>
+ <jms-listener name="JMS-Gateway" busidref="OrderManagerGateway" is-gateway="true" maxThreads="1"/>
+ <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true" maxThreads="1"/>
+ <jbr-listener name="Socket-Gateway" busidref="Socket-1" is-gateway="true" maxThreads="1"/>
+
+ <jms-listener name="JMS-ESBListener" busidref="OrderManagerService" maxThreads="1"/>
+ </listeners>
+ <actions>
+ <action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="message"
+ value="[Quickstart_webservice_bpel] Message before invoking 'ABI_OrderManager' endpoint"/>
+ </action>
+ <action name="JBossWSAdapter" class="org.jboss.soa.esb.actions.soap.JBossWSAdapter">
+ <property name="jbossws-endpoint" value="ABI_OrderManager"/>
+ </action>
+ <action name="print-after" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="message"
+ value="[Quickstart_webservice_bpel] Message after invoking 'ABI_OrderManager' endpoint"/>
+ </action>
+ </actions>
+ </service>
+
+ <service category="ABI_Shipper" name="ABI_Shipper" description="ABI Shipper Service">
+
+ <listeners>
+ <jbr-listener name="Http-Gateway" busidref="Http-2" is-gateway="true" maxThreads="1"/>
+
+ <jms-listener name="JMS-ESBListener" busidref="ShipperService" maxThreads="1"/>
+ </listeners>
+ <actions>
+ <action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="message"
+ value="[Quickstart_webservice_bpel] Message before invoking 'ABI_Shipping' endpoint"/>
+ </action>
+ <action name="JBossWSAdapter" class="org.jboss.soa.esb.actions.soap.JBossWSAdapter">
+ <property name="jbossws-endpoint" value="ABI_Shipping"/>
+ </action>
+ <action name="print-after" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="message"
+ value="[Quickstart_webservice_bpel] Message after invoking 'ABI_Shipping' endpoint"/>
+ </action>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jboss-esb.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jndi.properties
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jndi.properties (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jndi.properties 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,5 @@
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.provider.url=jnp://localhost:1099
+java.naming.factory.url.pkgs=org.jboss.naming
+java.naming.factory.url.pkgs=org.jnp.interfaces
+
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/jndi.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/log4j.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/log4j.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/log4j.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id: log4j.xml,v 1.26.2.5 2005/09/15 09:31:02 dimitris Exp $ -->
+
+<!--
+ | For more configuration infromation and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%t][%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="org.jboss">
+ <priority value="WARN"/>
+ </category>
+ <category name="org.jboss.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.jboss.soa.esb.listeners.gateway.JBossRemotingGatewayListener">
+ <priority value="DEBUG"/>
+ </category>
+ <category name="org.jboss.internal.soa.esb">
+ <priority value="ERROR"/>
+ </category>
+ <category name="org.apache">
+ <priority value="ERROR"/>
+ </category>
+ <category name="quickstart">
+ <priority value="INFO"/>
+ </category>
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <appender-ref ref="CONSOLE"/>
+ </root>
+
+</log4j:configuration>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/log4j.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/readme.txt
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/readme.txt (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/readme.txt 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,19 @@
+Overview:
+=========
+ TODO
+
+
+Before Running:
+===============
+1. Update the "jbosshome.dir" property in the quickstarts.properties file in "../".
+2. Make sure the jbossesb.sar is deployed on your JBoss Application Server.
+ In the ESB "install" folder update deployment.properties and then run "ant".
+ This example does require you to use a version for 4.0.4+ with the EJB3 profile.
+3. Make sure the JBoss Application server is running.
+
+
+To Run:
+=======
+1. In the first command window, execute "ant". This will compile the project, build
+the needed jars and deploy the ESB archive component to the Application Server. If you are
+monitoring the Application Server console you will see it hot deploy the WAR.
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.esb.quickstarts.bpel;
+
+import com.activebpel.ordermanagement.OrderManager;
+import com.activebpel.ordermanagement.CustomerOrder;
+import com.activebpel.ordermanagement.SalesOrderFault;
+import com.activebpel.ordermanagement.CancelOrder;
+
+import javax.jws.WebService;
+import javax.jws.WebMethod;
+import javax.jws.soap.SOAPBinding;
+import java.rmi.RemoteException;
+
+/**
+ * Order Manager Service wrapper webservice.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+ at WebService(name = "OrderManagerPortType",
+ targetNamespace = "http://org.jboss.esb/quickstarts/bpel/ABI_OrderManager")
+ at SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.BARE) // Unable to generate a DOC/Lit style endpoint - get ClassNotFound exception on deployment
+public class OrderManagerService implements OrderManager {
+
+ @WebMethod(operationName = "customerOrder")
+ public String createSalesOrder(CustomerOrder customerOrder) throws SalesOrderFault, RemoteException {
+ return "1234";
+ }
+
+ @WebMethod(operationName = "cancelOrder")
+ public boolean cancelOrder(CancelOrder cancelOrder) throws RemoteException {
+ return true;
+ }
+}
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/OrderManagerService.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/ShipperService.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/ShipperService.java (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/ShipperService.java 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2005-2006, JBoss Inc.
+ */
+package org.jboss.esb.quickstarts.bpel;
+
+import com.activebpel.shipping.Shipping;
+import com.activebpel.shipping.ShippingResponse;
+import com.activebpel.shipping.ShippingRequest;
+
+import javax.jws.WebService;
+import javax.jws.WebMethod;
+import javax.jws.soap.SOAPBinding;
+import java.rmi.RemoteException;
+
+/**
+ * Shipper Service wrapper webservice.
+ *
+ * @author <a href="mailto:tom.fennelly at jboss.com">tom.fennelly at jboss.com</a>
+ */
+ at WebService(name = "ShippingPortType",
+ targetNamespace = "http://org.jboss.esb/quickstarts/bpel/ABI_Shipping")
+ at SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public class ShipperService implements Shipping {
+
+ @WebMethod(operationName = "shippingRequest")
+ public ShippingResponse shipOrder(ShippingRequest shippingRequest) throws RemoteException {
+ ShippingResponse response = new ShippingResponse();
+
+ response.setOrderShipped(true);
+
+ return response;
+ }
+}
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/src/org/jboss/esb/quickstarts/bpel/ShipperService.java
___________________________________________________________________
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/resources/WEB-INF/web.xml
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/resources/WEB-INF/web.xml (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/resources/WEB-INF/web.xml 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>ABI_OrderManager</servlet-name>
+ <servlet-class>org.jboss.esb.quickstarts.bpel.OrderManagerService</servlet-class>
+ </servlet>
+
+ <servlet>
+ <servlet-name>ABI_Shipping</servlet-name>
+ <servlet-class>org.jboss.esb.quickstarts.bpel.ShipperService</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>ABI_OrderManager</servlet-name>
+ <url-pattern>/ABI_OrderManager</url-pattern>
+ </servlet-mapping>
+
+ <servlet-mapping>
+ <servlet-name>ABI_Shipping</servlet-name>
+ <url-pattern>/ABI_Shipping</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Property changes on: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/resources/WEB-INF/web.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added: labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/view/index.jsp
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/view/index.jsp (rev 0)
+++ labs/jbossesb/trunk/product/samples/quickstarts/webservice_bpel/war/view/index.jsp 2007-04-18 11:25:22 UTC (rev 11084)
@@ -0,0 +1,9 @@
+<html>
+ <body>
+ This is just a place holder.<br>
+ Verify the that the WS has been deployed by hitting
+ <a href="http://localhost:8080/jbossws">
+ http://localhost:8080/jbossws
+ </a>
+ </body>
+</html>
\ No newline at end of file
Modified: labs/jbossesb/trunk/product/tools/jboss-esb.war/contract.jsp
===================================================================
--- labs/jbossesb/trunk/product/tools/jboss-esb.war/contract.jsp 2007-04-18 10:50:52 UTC (rev 11083)
+++ labs/jbossesb/trunk/product/tools/jboss-esb.war/contract.jsp 2007-04-18 11:25:22 UTC (rev 11084)
@@ -30,7 +30,7 @@
}
try {
- eprs = (List) registry.findEPRs(serviceCategory + "-gateway", serviceName);
+ eprs = (List) registry.findEPRs(serviceCategory, serviceName);
} catch (RegistryException e) {
// ignore for now - just return an empty list
eprs = new ArrayList();
@@ -55,5 +55,4 @@
response.setContentType("text/xml");
}
}
-%>
-<%=contractData%>
\ No newline at end of file
+%><%=contractData%>
\ No newline at end of file
Modified: labs/jbossesb/trunk/product/tools/jboss-esb.war/index.jsp
===================================================================
--- labs/jbossesb/trunk/product/tools/jboss-esb.war/index.jsp 2007-04-18 10:50:52 UTC (rev 11083)
+++ labs/jbossesb/trunk/product/tools/jboss-esb.war/index.jsp 2007-04-18 11:25:22 UTC (rev 11084)
@@ -37,6 +37,7 @@
%>
<fieldset>
<legend><b><%=serviceCategory%>:<%=serviceName%></b></legend>
+ <%=publisher.getDescription()%>
<%
for (int ii = 0; ii < eprs.size(); ii++) {
EPR epr = (EPR) eprs.get(ii);
More information about the jboss-svn-commits
mailing list