riftsaw SVN: r789 - in branches/RiftSaw-2.1.x: distribution/src/main/release/install and 3 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-24 18:31:56 -0400 (Thu, 24 Jun 2010)
New Revision: 789
Removed:
branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/images/RetailerReqMesg.png
branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/images/RetailerRespMesg.png
branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/images/process-overview.png
branches/RiftSaw-2.1.x/samples/esb/webservice_esb_bpel/
Modified:
branches/RiftSaw-2.1.x/distribution/src/main/assembly/bin.xml
branches/RiftSaw-2.1.x/distribution/src/main/release/install/build.xml
branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/module/examples.xml
branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/module/installation.xml
Log:
Update to remove the webservice_esb_bpel example, and also remove the 'deploy-esb-examples' installation step.
Modified: branches/RiftSaw-2.1.x/distribution/src/main/assembly/bin.xml
===================================================================
--- branches/RiftSaw-2.1.x/distribution/src/main/assembly/bin.xml 2010-06-24 22:12:37 UTC (rev 788)
+++ branches/RiftSaw-2.1.x/distribution/src/main/assembly/bin.xml 2010-06-24 22:31:56 UTC (rev 789)
@@ -68,7 +68,6 @@
<include>esb/bpel_loan_fault/**</include>
<include>esb/invoke_esb_ebws/**</include>
<include>esb/simple_esb_proxy_invoke/**</include>
- <include>esb/webservice_esb_bpel/**</include>
<include>quickstart/bpel_event_listener/**</include>
<include>quickstart/hello_world/**</include>
<include>quickstart/hello_world_header_ode/**</include>
Modified: branches/RiftSaw-2.1.x/distribution/src/main/release/install/build.xml
===================================================================
--- branches/RiftSaw-2.1.x/distribution/src/main/release/install/build.xml 2010-06-24 22:12:37 UTC (rev 788)
+++ branches/RiftSaw-2.1.x/distribution/src/main/release/install/build.xml 2010-06-24 22:31:56 UTC (rev 789)
@@ -126,21 +126,7 @@
<delete file="${server.lib.dir}/gwt-console-rpc.jar"/>
</target>
- <target name="deploy-esb-examples" depends="check.deploy.props" description="Deploys BPEL example to JBossESB">
- <echo message="Deploy BPEL ESB examples" />
- <copy todir="${esb.examples.dir}">
- <fileset dir="${samples}/${bpel-esb-examples}" />
- </copy>
- </target>
- <target name="undeploy-esb-examples" depends="check.deploy.props" description="Undeploys BPEL example from JBossESB">
- <echo message="Undeploy BPEL example" />
- <delete dir="${esb.examples.dir}/bpel_helloworld" />
- <delete dir="${esb.examples.dir}/bpel_loan_fault" />
- <delete dir="${esb.examples.dir}/webservice_esb_bpel" />
- </target>
-
-
<!-- install database specific driver -->
<target name="internal.install.riftsaw.into.jboss.db.hsql">
<!-- If the older version of h2 exists, as installed by the ESB (4.7), then rename it -->
Deleted: branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/images/RetailerReqMesg.png
===================================================================
(Binary files differ)
Deleted: branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/images/RetailerRespMesg.png
===================================================================
(Binary files differ)
Deleted: branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/images/process-overview.png
===================================================================
(Binary files differ)
Modified: branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/module/examples.xml
===================================================================
--- branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/module/examples.xml 2010-06-24 22:12:37 UTC (rev 788)
+++ branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/module/examples.xml 2010-06-24 22:31:56 UTC (rev 789)
@@ -185,91 +185,6 @@
</para>
</section>
-
- <section>
- <title>ESB Examples - Order Management</title>
-
- <para>
- The ESB/BPEL example we are going to try out is the
- 'order management' example. When the ESB examples have been
- deployed, as described in the Installation chapter, then
- this example will be located in the
- <filename>${JBossESB}/samples/quickstarts/webservice_esb_bpel</filename>
- folder.
- </para>
-
- <para>
- This example is different to the previous ESB example, in that
- it uses the BPEL process running inside RiftSaw as a Web Service.
- There is no direct invocation of the BPEL process.
- </para>
-
- <para>
- The first step is to deploy the example to the running JBossAS
- server. This is achieved using the following command:
- </para>
-
- <code>
- ant deploy
- </code>
-
- <para>
- When the ant script indicates that it has completed successfully,
- the next step is to invoke the BPEL process we have just deployed.
- This can be achieved using any SOAP client, such as SOAPUI (available
- from <ulink url="http://www.soapui.org/">http://www.soapui.org/</ulink>).
- </para>
-
- <para>
- The WSDL definition is located in the <filename>bpel</filename>
- folder, and can be used to initialise the SOAPUI client. The
- service location is:
- <ulink url="http://localhost:8080/Webservice_esb_bpel_Retailer">http://localhost:8080/Webservice_esb_bpel_Retailer</ulink>.
- </para>
-
- <para>
- An example message can be found in the <filename>bpel/sampleData</filename>
- subfolder.
- </para>
-
- <imageobject>
- <imagedata fileref="images/RetailerReqMesg.png" align="center" width="6in" />
- </imageobject>
-
- <para>
- When the message is submitted to the BPEL process, the response received is:
- </para>
-
- <imageobject>
- <imagedata fileref="images/RetailerRespMesg.png" align="center" width="6in" />
- </imageobject>
-
- <para>
- This is an acknowledgement that the order has been received, and is awaiting approval.
- At this point, you can access the BPEL console, to see that the BPEL process triggered
- by the request message is still active.
- </para>
-
- <para>
- The next step is to access the order manager, located at:
- <ulink url="http://localhost:8080/order-manager">http://localhost:8080/order-manager</ulink>.
- </para>
-
- <imageobject>
- <imagedata fileref="images/RetailerReqMesg.png" align="center" width="6in" />
- </imageobject>
-
- <para>
- Once the order has been approved, by pressing the <emphasis>Approve</emphasis> further processing
- will be triggered using ESB components, as outlined in the following diagram.
- </para>
-
- <imageobject>
- <imagedata fileref="images/process-overview.png" align="center" width="6in" />
- </imageobject>
-
- </section>
-
<section>
<title>Importing Examples into Eclipse</title>
Modified: branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/module/installation.xml
===================================================================
--- branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/module/installation.xml 2010-06-24 22:12:37 UTC (rev 788)
+++ branches/RiftSaw-2.1.x/docs/docbook/gettingstartedguide/src/main/module/installation.xml 2010-06-24 22:31:56 UTC (rev 789)
@@ -100,10 +100,6 @@
</para>
</note>
</listitem>
- <listitem>
- If JBossESB has been installed, then run: <command>ant deploy-esb-examples</command> to
- install the BPEL/ESB examples into the JBossESB samples/quickstart folder.
- </listitem>
</itemizedlist>
</para>
</listitem>
@@ -122,10 +118,6 @@
RiftSaw from JBossAS. The database option should specify the same value used
during installation of RiftSaw.
</listitem>
- <listitem>
- If JBossESB has been installed, then run: <command>ant undeploy-esb-examples</command> to
- remove the BPEL/ESB examples from the JBossESB samples/quickstart folder.
- </listitem>
</itemizedlist>
</para>
</listitem>
13 years, 12 months
riftsaw SVN: r788 - in trunk/samples/esb: bpel_loan_fault and 2 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-24 18:12:37 -0400 (Thu, 24 Jun 2010)
New Revision: 788
Added:
trunk/samples/esb/bpel_loan_fault/esbcontent/
trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/
trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/deployment.xml
trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/jbm-queue-service.xml
trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/jboss-esb.xml
Removed:
trunk/samples/esb/bpel_loan_fault/deployment.xml
trunk/samples/esb/bpel_loan_fault/jbm-queue-service.xml
trunk/samples/esb/bpel_loan_fault/jbmq-queue-service.xml
trunk/samples/esb/bpel_loan_fault/jboss-esb.xml
Modified:
trunk/samples/esb/bpel_helloworld/build.xml
trunk/samples/esb/bpel_helloworld/readme.txt
trunk/samples/esb/bpel_loan_fault/build.xml
trunk/samples/esb/bpel_loan_fault/readme.txt
Log:
Updated second ESB example to run locally.
Modified: trunk/samples/esb/bpel_helloworld/build.xml
===================================================================
--- trunk/samples/esb/bpel_helloworld/build.xml 2010-06-24 22:10:06 UTC (rev 787)
+++ trunk/samples/esb/bpel_helloworld/build.xml 2010-06-24 22:12:37 UTC (rev 788)
@@ -17,25 +17,6 @@
<property name="sample.esb.name" value="${ant.project.name}.esb" />
- <property name="client.build.dir" location="build/client/classes"/>
-
- <path id="compile-classpath">
- <fileset dir="${org.jboss.as.home}/client" includes="*.jar" />
- <fileset dir="${org.jboss.esb.home}/lib/jbossesb.sar/lib" includes="*.jar" />
- <fileset dir="${org.jboss.esb.home}/lib" includes="*.jar" />
- <fileset dir="${org.jboss.esb.home}/lib/ext" includes="*.jar" />
- </path>
- <property name="compile-classpath" refid="compile-classpath"/>
-
- <target name="buildclient" description="build client" >
- <mkdir dir="${client.build.dir}" />
- <javac srcdir="src" destdir="${client.build.dir}" debug="true">
- <classpath>
- <path refid="compile-classpath" />
- </classpath>
- </javac>
- </target>
-
<target name="deployesb" >
<jar basedir="esbcontent" destfile="${deploy.dir}/${sample.esb.name}" />
</target>
Modified: trunk/samples/esb/bpel_helloworld/readme.txt
===================================================================
--- trunk/samples/esb/bpel_helloworld/readme.txt 2010-06-24 22:10:06 UTC (rev 787)
+++ trunk/samples/esb/bpel_helloworld/readme.txt 2010-06-24 22:12:37 UTC (rev 788)
@@ -2,7 +2,9 @@
======================================================
This is a simple example that calls an ESB service, which then invokes a
-BPEL process (hello_world) using the BPELInvoke ESB action.
+BPEL process (hello_world) using the BPELInvoke ESB action. Therefore
+before deploying and running this example, you will need to deploy
+the "quickstart/hello_world" example.
To deploy the example, open a command line window in the example's folder,
and simply type 'ant deploy'. To undeploy, use the command 'ant undeploy'.
Modified: trunk/samples/esb/bpel_loan_fault/build.xml
===================================================================
--- trunk/samples/esb/bpel_loan_fault/build.xml 2010-06-24 22:10:06 UTC (rev 787)
+++ trunk/samples/esb/bpel_loan_fault/build.xml 2010-06-24 22:12:37 UTC (rev 788)
@@ -1,4 +1,4 @@
-<project name="Quickstart_esb_bpel_loan_fault" default="run" basedir=".">
+<project name="Quickstart_esb_bpel_loan_fault" default="deploy" basedir=".">
<description>
${ant.project.name}
@@ -6,8 +6,36 @@
</description>
<!-- Import the base Ant build script... -->
- <import file="../conf/base-build.xml"/>
+ <property file="../../../install/deployment.properties" />
+ <property name="version" value="1" />
+
+ <property name="server.dir" value="${org.jboss.as.home}/server/${org.jboss.as.config}"/>
+ <property name="conf.dir" value="${server.dir}/conf"/>
+ <property name="deploy.dir" value="${server.dir}/deploy"/>
+ <property name="server.lib.dir" value="${server.dir}/lib"/>
+
+ <property name="sample.esb.name" value="${ant.project.name}.esb" />
+
+ <target name="deployesb" >
+ <jar basedir="esbcontent" destfile="${deploy.dir}/${sample.esb.name}" />
+ </target>
+
+ <target name="undeployesb">
+ <delete file="${deploy.dir}/${sample.esb.name}"/>
+ </target>
+
+ <target name="deploy" depends="deployesb" >
+ <echo>Deploy ${ant.project.name}</echo>
+ </target>
+
+ <target name="undeploy" depends="undeployesb" >
+ <echo>Undeploy ${ant.project.name}</echo>
+ </target>
+
+ <!-- Import the base Ant build script... -->
+ <import file="${org.jboss.esb.home}/samples/quickstarts/conf/base-build.xml"/>
+
<target name="runtest" depends="compile"
description="Will send an esb Message">
<echo>Runs Test ESB Message Sender</echo>
Deleted: trunk/samples/esb/bpel_loan_fault/deployment.xml
===================================================================
--- trunk/samples/esb/bpel_loan_fault/deployment.xml 2010-06-24 22:10:06 UTC (rev 787)
+++ trunk/samples/esb/bpel_loan_fault/deployment.xml 2010-06-24 22:12:37 UTC (rev 788)
@@ -1,6 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.bpel:service=BPELEngine</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb_reply</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_gw</depends>
-</jbossesb-deployment>
Added: trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/deployment.xml
===================================================================
--- trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/deployment.xml (rev 0)
+++ trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/deployment.xml 2010-06-24 22:12:37 UTC (rev 788)
@@ -0,0 +1,6 @@
+<jbossesb-deployment>
+ <depends>jboss.bpel:service=BPELEngine</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_gw</depends>
+</jbossesb-deployment>
Added: trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/jbm-queue-service.xml
===================================================================
--- trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/jbm-queue-service.xml (rev 0)
+++ trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/jbm-queue-service.xml 2010-06-24 22:12:37 UTC (rev 788)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Added: trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/jboss-esb.xml
===================================================================
--- trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/jboss-esb.xml (rev 0)
+++ trunk/samples/esb/bpel_loan_fault/esbcontent/META-INF/jboss-esb.xml 2010-06-24 22:12:37 UTC (rev 788)
@@ -0,0 +1,52 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_loan_fault_Request_gw"
+ />
+ </jms-bus>
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_loan_fault_Request_esb"
+ />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service
+ category="LoanFaultBPELESB"
+ name="LoanFail"
+ description="Fail to get loan approved">
+ <listeners>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true" />
+ <jms-listener name="loanFault"
+ busidref="quickstartEsbChannel" />
+ </listeners>
+ <actions>
+ <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
+ <property name="service" value="{http://example.com/loan-approval/wsdl/}loanService"/>
+ <property name="operation" value="request" />
+ <property name="abortOnFault" value="true" />
+ </action>
+ <action name="action3" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <!-- The next action is for Continuous Integration testing -->
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
Deleted: trunk/samples/esb/bpel_loan_fault/jbm-queue-service.xml
===================================================================
--- trunk/samples/esb/bpel_loan_fault/jbm-queue-service.xml 2010-06-24 22:10:06 UTC (rev 787)
+++ trunk/samples/esb/bpel_loan_fault/jbm-queue-service.xml 2010-06-24 22:12:37 UTC (rev 788)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb_reply"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_gw"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
Deleted: trunk/samples/esb/bpel_loan_fault/jbmq-queue-service.xml
===================================================================
--- trunk/samples/esb/bpel_loan_fault/jbmq-queue-service.xml 2010-06-24 22:10:06 UTC (rev 787)
+++ trunk/samples/esb/bpel_loan_fault/jbmq-queue-service.xml 2010-06-24 22:12:37 UTC (rev 788)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb_reply">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_gw">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Deleted: trunk/samples/esb/bpel_loan_fault/jboss-esb.xml
===================================================================
--- trunk/samples/esb/bpel_loan_fault/jboss-esb.xml 2010-06-24 22:10:06 UTC (rev 787)
+++ trunk/samples/esb/bpel_loan_fault/jboss-esb.xml 2010-06-24 22:12:37 UTC (rev 788)
@@ -1,52 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
-
- <providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
- <jms-bus busid="quickstartGwChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_bpel_loan_fault_Request_gw"
- />
- </jms-bus>
- <jms-bus busid="quickstartEsbChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_bpel_loan_fault_Request_esb"
- />
- </jms-bus>
-
- </jms-provider>
- </providers>
-
- <services>
- <service
- category="LoanFaultBPELESB"
- name="LoanFail"
- description="Fail to get loan approved">
- <listeners>
- <jms-listener name="JMS-Gateway"
- busidref="quickstartGwChannel"
- is-gateway="true" />
- <jms-listener name="loanFault"
- busidref="quickstartEsbChannel" />
- </listeners>
- <actions>
- <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
- <property name="printfull" value="true"/>
- </action>
- <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
- <property name="service" value="{http://example.com/loan-approval/wsdl/}loanService"/>
- <property name="operation" value="request" />
- <property name="abortOnFault" value="true" />
- </action>
- <action name="action3" class="org.jboss.soa.esb.actions.SystemPrintln">
- <property name="printfull" value="true"/>
- </action>
- <!-- The next action is for Continuous Integration testing -->
- <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
- </actions>
- </service>
- </services>
-
-</jbossesb>
Modified: trunk/samples/esb/bpel_loan_fault/readme.txt
===================================================================
--- trunk/samples/esb/bpel_loan_fault/readme.txt 2010-06-24 22:10:06 UTC (rev 787)
+++ trunk/samples/esb/bpel_loan_fault/readme.txt 2010-06-24 22:12:37 UTC (rev 788)
@@ -1,21 +1,17 @@
-Overview:
-=========
- The purpose of the bpel loan fault quickstart sample is to demonstrate
- fault handling when invoking a BPEL process using an ESB action.
+ESB Examples - Using BPELInvoke to call a BPEL process
+======================================================
-Running this quickstart:
-========================
- Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts
- and a more detailed descripton of the different ways to run the quickstarts.
+This is a simple example that calls an ESB service, which then invokes a
+BPEL process (loan_approval) using the BPELInvoke ESB action, which causes
+a BPEL fault to be raised. This fault is then propagated through the
+ESB service back to the ESB client. Therefore before deploying and running
+this example, you will need to deploy the "quickstart/loan_approval" example.
-To Run '.esb' archive mode:
-===========================
- Before deploying this example, you will need to deploy the BPEL 'loan_approval'
- quickstart example. The ESB action deployed and executed in this example will
- invoke this 'loan_approval' BPEL example.
-
- 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
- 2. Open another command terminal window in this folder ("Window2"), type
- 'ant runtest'.
- 3. Switch back to Application Server console to see the output from the ESB
- 4. In this folder ("Window1"), type 'ant undeploy'.
+To deploy the example, open a command line window in the example's folder,
+and simply type 'ant deploy'. To undeploy, use the command 'ant undeploy'.
+
+Alternatively, use the 'ant runtest' command (from a command line window)
+to send the example message directly to the deployed process.
+
+Some handy URLs:
+http://localhost:8080/bpel-console is the BPEL console
13 years, 12 months
riftsaw SVN: r787 - in branches/RiftSaw-2.1.x/samples/esb: bpel_loan_fault and 2 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-24 18:10:06 -0400 (Thu, 24 Jun 2010)
New Revision: 787
Added:
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/deployment.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/jbm-queue-service.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/jboss-esb.xml
Removed:
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/deployment.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jbm-queue-service.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jbmq-queue-service.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jboss-esb.xml
Modified:
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/build.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/readme.txt
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/build.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/readme.txt
Log:
Updated second ESB example to run locally.
Modified: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/build.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/build.xml 2010-06-24 18:22:39 UTC (rev 786)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/build.xml 2010-06-24 22:10:06 UTC (rev 787)
@@ -17,25 +17,6 @@
<property name="sample.esb.name" value="${ant.project.name}.esb" />
- <property name="client.build.dir" location="build/client/classes"/>
-
- <path id="compile-classpath">
- <fileset dir="${org.jboss.as.home}/client" includes="*.jar" />
- <fileset dir="${org.jboss.esb.home}/lib/jbossesb.sar/lib" includes="*.jar" />
- <fileset dir="${org.jboss.esb.home}/lib" includes="*.jar" />
- <fileset dir="${org.jboss.esb.home}/lib/ext" includes="*.jar" />
- </path>
- <property name="compile-classpath" refid="compile-classpath"/>
-
- <target name="buildclient" description="build client" >
- <mkdir dir="${client.build.dir}" />
- <javac srcdir="src" destdir="${client.build.dir}" debug="true">
- <classpath>
- <path refid="compile-classpath" />
- </classpath>
- </javac>
- </target>
-
<target name="deployesb" >
<jar basedir="esbcontent" destfile="${deploy.dir}/${sample.esb.name}" />
</target>
Modified: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/readme.txt
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/readme.txt 2010-06-24 18:22:39 UTC (rev 786)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/readme.txt 2010-06-24 22:10:06 UTC (rev 787)
@@ -2,7 +2,9 @@
======================================================
This is a simple example that calls an ESB service, which then invokes a
-BPEL process (hello_world) using the BPELInvoke ESB action.
+BPEL process (hello_world) using the BPELInvoke ESB action. Therefore
+before deploying and running this example, you will need to deploy
+the "quickstart/hello_world" example.
To deploy the example, open a command line window in the example's folder,
and simply type 'ant deploy'. To undeploy, use the command 'ant undeploy'.
Modified: branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/build.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/build.xml 2010-06-24 18:22:39 UTC (rev 786)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/build.xml 2010-06-24 22:10:06 UTC (rev 787)
@@ -1,4 +1,4 @@
-<project name="Quickstart_esb_bpel_loan_fault" default="run" basedir=".">
+<project name="Quickstart_esb_bpel_loan_fault" default="deploy" basedir=".">
<description>
${ant.project.name}
@@ -6,8 +6,36 @@
</description>
<!-- Import the base Ant build script... -->
- <import file="../conf/base-build.xml"/>
+ <property file="../../../install/deployment.properties" />
+ <property name="version" value="1" />
+
+ <property name="server.dir" value="${org.jboss.as.home}/server/${org.jboss.as.config}"/>
+ <property name="conf.dir" value="${server.dir}/conf"/>
+ <property name="deploy.dir" value="${server.dir}/deploy"/>
+ <property name="server.lib.dir" value="${server.dir}/lib"/>
+
+ <property name="sample.esb.name" value="${ant.project.name}.esb" />
+
+ <target name="deployesb" >
+ <jar basedir="esbcontent" destfile="${deploy.dir}/${sample.esb.name}" />
+ </target>
+
+ <target name="undeployesb">
+ <delete file="${deploy.dir}/${sample.esb.name}"/>
+ </target>
+
+ <target name="deploy" depends="deployesb" >
+ <echo>Deploy ${ant.project.name}</echo>
+ </target>
+
+ <target name="undeploy" depends="undeployesb" >
+ <echo>Undeploy ${ant.project.name}</echo>
+ </target>
+
+ <!-- Import the base Ant build script... -->
+ <import file="${org.jboss.esb.home}/samples/quickstarts/conf/base-build.xml"/>
+
<target name="runtest" depends="compile"
description="Will send an esb Message">
<echo>Runs Test ESB Message Sender</echo>
Deleted: branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/deployment.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/deployment.xml 2010-06-24 18:22:39 UTC (rev 786)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/deployment.xml 2010-06-24 22:10:06 UTC (rev 787)
@@ -1,6 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.bpel:service=BPELEngine</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb_reply</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_gw</depends>
-</jbossesb-deployment>
Copied: branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/deployment.xml (from rev 724, branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/deployment.xml)
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/deployment.xml (rev 0)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/deployment.xml 2010-06-24 22:10:06 UTC (rev 787)
@@ -0,0 +1,6 @@
+<jbossesb-deployment>
+ <depends>jboss.bpel:service=BPELEngine</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_gw</depends>
+</jbossesb-deployment>
Copied: branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/jbm-queue-service.xml (from rev 724, branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jbm-queue-service.xml)
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/jbm-queue-service.xml (rev 0)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/jbm-queue-service.xml 2010-06-24 22:10:06 UTC (rev 787)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Copied: branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/jboss-esb.xml (from rev 724, branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jboss-esb.xml)
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/jboss-esb.xml (rev 0)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/esbcontent/META-INF/jboss-esb.xml 2010-06-24 22:10:06 UTC (rev 787)
@@ -0,0 +1,52 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_loan_fault_Request_gw"
+ />
+ </jms-bus>
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_loan_fault_Request_esb"
+ />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service
+ category="LoanFaultBPELESB"
+ name="LoanFail"
+ description="Fail to get loan approved">
+ <listeners>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true" />
+ <jms-listener name="loanFault"
+ busidref="quickstartEsbChannel" />
+ </listeners>
+ <actions>
+ <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
+ <property name="service" value="{http://example.com/loan-approval/wsdl/}loanService"/>
+ <property name="operation" value="request" />
+ <property name="abortOnFault" value="true" />
+ </action>
+ <action name="action3" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <!-- The next action is for Continuous Integration testing -->
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
Deleted: branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jbm-queue-service.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jbm-queue-service.xml 2010-06-24 18:22:39 UTC (rev 786)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jbm-queue-service.xml 2010-06-24 22:10:06 UTC (rev 787)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb_reply"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_gw"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
Deleted: branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jbmq-queue-service.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jbmq-queue-service.xml 2010-06-24 18:22:39 UTC (rev 786)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jbmq-queue-service.xml 2010-06-24 22:10:06 UTC (rev 787)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_esb_reply">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_loan_fault_Request_gw">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Deleted: branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jboss-esb.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jboss-esb.xml 2010-06-24 18:22:39 UTC (rev 786)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/jboss-esb.xml 2010-06-24 22:10:06 UTC (rev 787)
@@ -1,52 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
-
- <providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
- <jms-bus busid="quickstartGwChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_bpel_loan_fault_Request_gw"
- />
- </jms-bus>
- <jms-bus busid="quickstartEsbChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_bpel_loan_fault_Request_esb"
- />
- </jms-bus>
-
- </jms-provider>
- </providers>
-
- <services>
- <service
- category="LoanFaultBPELESB"
- name="LoanFail"
- description="Fail to get loan approved">
- <listeners>
- <jms-listener name="JMS-Gateway"
- busidref="quickstartGwChannel"
- is-gateway="true" />
- <jms-listener name="loanFault"
- busidref="quickstartEsbChannel" />
- </listeners>
- <actions>
- <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
- <property name="printfull" value="true"/>
- </action>
- <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
- <property name="service" value="{http://example.com/loan-approval/wsdl/}loanService"/>
- <property name="operation" value="request" />
- <property name="abortOnFault" value="true" />
- </action>
- <action name="action3" class="org.jboss.soa.esb.actions.SystemPrintln">
- <property name="printfull" value="true"/>
- </action>
- <!-- The next action is for Continuous Integration testing -->
- <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
- </actions>
- </service>
- </services>
-
-</jbossesb>
Modified: branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/readme.txt
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/readme.txt 2010-06-24 18:22:39 UTC (rev 786)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_loan_fault/readme.txt 2010-06-24 22:10:06 UTC (rev 787)
@@ -1,21 +1,17 @@
-Overview:
-=========
- The purpose of the bpel loan fault quickstart sample is to demonstrate
- fault handling when invoking a BPEL process using an ESB action.
+ESB Examples - Using BPELInvoke to call a BPEL process
+======================================================
-Running this quickstart:
-========================
- Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts
- and a more detailed descripton of the different ways to run the quickstarts.
+This is a simple example that calls an ESB service, which then invokes a
+BPEL process (loan_approval) using the BPELInvoke ESB action, which causes
+a BPEL fault to be raised. This fault is then propagated through the
+ESB service back to the ESB client. Therefore before deploying and running
+this example, you will need to deploy the "quickstart/loan_approval" example.
-To Run '.esb' archive mode:
-===========================
- Before deploying this example, you will need to deploy the BPEL 'loan_approval'
- quickstart example. The ESB action deployed and executed in this example will
- invoke this 'loan_approval' BPEL example.
-
- 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
- 2. Open another command terminal window in this folder ("Window2"), type
- 'ant runtest'.
- 3. Switch back to Application Server console to see the output from the ESB
- 4. In this folder ("Window1"), type 'ant undeploy'.
+To deploy the example, open a command line window in the example's folder,
+and simply type 'ant deploy'. To undeploy, use the command 'ant undeploy'.
+
+Alternatively, use the 'ant runtest' command (from a command line window)
+to send the example message directly to the deployed process.
+
+Some handy URLs:
+http://localhost:8080/bpel-console is the BPEL console
13 years, 12 months
riftsaw SVN: r786 - in trunk/samples/esb/bpel_helloworld: esbcontent and 1 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-24 14:22:39 -0400 (Thu, 24 Jun 2010)
New Revision: 786
Added:
trunk/samples/esb/bpel_helloworld/esbcontent/
trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/
trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/deployment.xml
trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/jbm-queue-service.xml
trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/jboss-esb.xml
trunk/samples/esb/bpel_helloworld/esbcontent/lib/
Removed:
trunk/samples/esb/bpel_helloworld/deployment.xml
trunk/samples/esb/bpel_helloworld/jbm-queue-service.xml
trunk/samples/esb/bpel_helloworld/jbmq-queue-service.xml
trunk/samples/esb/bpel_helloworld/jboss-esb.xml
trunk/samples/esb/bpel_helloworld/lib/
Modified:
trunk/samples/esb/bpel_helloworld/build.xml
trunk/samples/esb/bpel_helloworld/readme.txt
Log:
Updated ESB example to run within the RiftSaw distribution.
Modified: trunk/samples/esb/bpel_helloworld/build.xml
===================================================================
--- trunk/samples/esb/bpel_helloworld/build.xml 2010-06-24 18:17:07 UTC (rev 785)
+++ trunk/samples/esb/bpel_helloworld/build.xml 2010-06-24 18:22:39 UTC (rev 786)
@@ -1,4 +1,4 @@
-<project name="Quickstart_esb_bpel_hello_world" default="run" basedir=".">
+<project name="Quickstart_esb_bpel_hello_world" default="deploy" basedir=".">
<description>
${ant.project.name}
@@ -6,8 +6,55 @@
</description>
<!-- Import the base Ant build script... -->
- <import file="../conf/base-build.xml"/>
+ <property file="../../../install/deployment.properties" />
+ <property name="version" value="1" />
+
+ <property name="server.dir" value="${org.jboss.as.home}/server/${org.jboss.as.config}"/>
+ <property name="conf.dir" value="${server.dir}/conf"/>
+ <property name="deploy.dir" value="${server.dir}/deploy"/>
+ <property name="server.lib.dir" value="${server.dir}/lib"/>
+
+ <property name="sample.esb.name" value="${ant.project.name}.esb" />
+
+ <property name="client.build.dir" location="build/client/classes"/>
+
+ <path id="compile-classpath">
+ <fileset dir="${org.jboss.as.home}/client" includes="*.jar" />
+ <fileset dir="${org.jboss.esb.home}/lib/jbossesb.sar/lib" includes="*.jar" />
+ <fileset dir="${org.jboss.esb.home}/lib" includes="*.jar" />
+ <fileset dir="${org.jboss.esb.home}/lib/ext" includes="*.jar" />
+ </path>
+ <property name="compile-classpath" refid="compile-classpath"/>
+
+ <target name="buildclient" description="build client" >
+ <mkdir dir="${client.build.dir}" />
+ <javac srcdir="src" destdir="${client.build.dir}" debug="true">
+ <classpath>
+ <path refid="compile-classpath" />
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="deployesb" >
+ <jar basedir="esbcontent" destfile="${deploy.dir}/${sample.esb.name}" />
+ </target>
+
+ <target name="undeployesb">
+ <delete file="${deploy.dir}/${sample.esb.name}"/>
+ </target>
+
+ <target name="deploy" depends="deployesb" >
+ <echo>Deploy ${ant.project.name}</echo>
+ </target>
+
+ <target name="undeploy" depends="undeployesb" >
+ <echo>Undeploy ${ant.project.name}</echo>
+ </target>
+
+ <!-- Import the base Ant build script... -->
+ <import file="${org.jboss.esb.home}/samples/quickstarts/conf/base-build.xml"/>
+
<target name="runtest" depends="compile"
description="Will send an esb Message">
<echo>Runs Test ESB Message Sender</echo>
Deleted: trunk/samples/esb/bpel_helloworld/deployment.xml
===================================================================
--- trunk/samples/esb/bpel_helloworld/deployment.xml 2010-06-24 18:17:07 UTC (rev 785)
+++ trunk/samples/esb/bpel_helloworld/deployment.xml 2010-06-24 18:22:39 UTC (rev 786)
@@ -1,6 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.bpel:service=BPELEngine</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw</depends>
-</jbossesb-deployment>
Added: trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/deployment.xml
===================================================================
--- trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/deployment.xml (rev 0)
+++ trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/deployment.xml 2010-06-24 18:22:39 UTC (rev 786)
@@ -0,0 +1,6 @@
+<jbossesb-deployment>
+ <depends>jboss.bpel:service=BPELEngine</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw</depends>
+</jbossesb-deployment>
Added: trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/jbm-queue-service.xml
===================================================================
--- trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/jbm-queue-service.xml (rev 0)
+++ trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/jbm-queue-service.xml 2010-06-24 18:22:39 UTC (rev 786)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Added: trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/jboss-esb.xml
===================================================================
--- trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/jboss-esb.xml (rev 0)
+++ trunk/samples/esb/bpel_helloworld/esbcontent/META-INF/jboss-esb.xml 2010-06-24 18:22:39 UTC (rev 786)
@@ -0,0 +1,50 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_helloworld_Request_gw"
+ />
+ </jms-bus>
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_helloworld_Request_esb"
+ />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service
+ category="HelloWorldBPELESB"
+ name="SayHello"
+ description="Hello World">
+ <listeners>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true" />
+ <jms-listener name="helloWorld"
+ busidref="quickstartEsbChannel" />
+ </listeners>
+ <actions>
+ <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
+ <property name="service" value="{http://www.jboss.org/bpel/examples/wsdl}HelloService"/>
+ <property name="operation" value="hello" />
+ <property name="requestPartName" value="TestPart" />
+ <property name="responsePartName" value="TestPart" />
+ </action>
+ <!-- The next action is for Continuous Integration testing -->
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
Copied: trunk/samples/esb/bpel_helloworld/esbcontent/lib (from rev 784, trunk/samples/esb/bpel_helloworld/lib)
Deleted: trunk/samples/esb/bpel_helloworld/jbm-queue-service.xml
===================================================================
--- trunk/samples/esb/bpel_helloworld/jbm-queue-service.xml 2010-06-24 18:17:07 UTC (rev 785)
+++ trunk/samples/esb/bpel_helloworld/jbm-queue-service.xml 2010-06-24 18:22:39 UTC (rev 786)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
Deleted: trunk/samples/esb/bpel_helloworld/jbmq-queue-service.xml
===================================================================
--- trunk/samples/esb/bpel_helloworld/jbmq-queue-service.xml 2010-06-24 18:17:07 UTC (rev 785)
+++ trunk/samples/esb/bpel_helloworld/jbmq-queue-service.xml 2010-06-24 18:22:39 UTC (rev 786)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Deleted: trunk/samples/esb/bpel_helloworld/jboss-esb.xml
===================================================================
--- trunk/samples/esb/bpel_helloworld/jboss-esb.xml 2010-06-24 18:17:07 UTC (rev 785)
+++ trunk/samples/esb/bpel_helloworld/jboss-esb.xml 2010-06-24 18:22:39 UTC (rev 786)
@@ -1,50 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
-
- <providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
- <jms-bus busid="quickstartGwChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_bpel_helloworld_Request_gw"
- />
- </jms-bus>
- <jms-bus busid="quickstartEsbChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_bpel_helloworld_Request_esb"
- />
- </jms-bus>
-
- </jms-provider>
- </providers>
-
- <services>
- <service
- category="HelloWorldBPELESB"
- name="SayHello"
- description="Hello World">
- <listeners>
- <jms-listener name="JMS-Gateway"
- busidref="quickstartGwChannel"
- is-gateway="true" />
- <jms-listener name="helloWorld"
- busidref="quickstartEsbChannel" />
- </listeners>
- <actions>
- <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
- <property name="printfull" value="true"/>
- </action>
- <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
- <property name="service" value="{http://www.jboss.org/bpel/examples/wsdl}HelloService"/>
- <property name="operation" value="hello" />
- <property name="requestPartName" value="TestPart" />
- <property name="responsePartName" value="TestPart" />
- </action>
- <!-- The next action is for Continuous Integration testing -->
- <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
- </actions>
- </service>
- </services>
-
-</jbossesb>
Modified: trunk/samples/esb/bpel_helloworld/readme.txt
===================================================================
--- trunk/samples/esb/bpel_helloworld/readme.txt 2010-06-24 18:17:07 UTC (rev 785)
+++ trunk/samples/esb/bpel_helloworld/readme.txt 2010-06-24 18:22:39 UTC (rev 786)
@@ -1,21 +1,14 @@
-Overview:
-=========
- The purpose of the bpel helloworld quickstart sample is to demonstrate
- a simple invocation of a BPEL process using an ESB action.
+ESB Examples - Using BPELInvoke to call a BPEL process
+======================================================
-Running this quickstart:
-========================
- Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts
- and a more detailed descripton of the different ways to run the quickstarts.
+This is a simple example that calls an ESB service, which then invokes a
+BPEL process (hello_world) using the BPELInvoke ESB action.
-To Run '.esb' archive mode:
-===========================
- Before deploying this example, you will need to deploy the BPEL 'hello_world'
- quickstart example. The ESB action deployed and executed in this example will
- invoke this 'hello_world' BPEL example.
-
- 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
- 2. Open another command terminal window in this folder ("Window2"), type
- 'ant runtest'.
- 3. Switch back to Application Server console to see the output from the ESB
- 4. In this folder ("Window1"), type 'ant undeploy'.
+To deploy the example, open a command line window in the example's folder,
+and simply type 'ant deploy'. To undeploy, use the command 'ant undeploy'.
+
+Alternatively, use the 'ant runtest' command (from a command line window)
+to send the example message directly to the deployed process.
+
+Some handy URLs:
+http://localhost:8080/bpel-console is the BPEL console
13 years, 12 months
riftsaw SVN: r785 - in branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld: esbcontent and 1 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-24 14:17:07 -0400 (Thu, 24 Jun 2010)
New Revision: 785
Added:
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/deployment.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/jbm-queue-service.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/jboss-esb.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/lib/
Removed:
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/deployment.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jbm-queue-service.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jbmq-queue-service.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jboss-esb.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/lib/
Modified:
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/build.xml
branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/readme.txt
Log:
Updated ESB example to run within the RiftSaw distribution.
Modified: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/build.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/build.xml 2010-06-24 13:08:50 UTC (rev 784)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/build.xml 2010-06-24 18:17:07 UTC (rev 785)
@@ -1,4 +1,4 @@
-<project name="Quickstart_esb_bpel_hello_world" default="run" basedir=".">
+<project name="Quickstart_esb_bpel_hello_world" default="deploy" basedir=".">
<description>
${ant.project.name}
@@ -6,8 +6,55 @@
</description>
<!-- Import the base Ant build script... -->
- <import file="../conf/base-build.xml"/>
+ <property file="../../../install/deployment.properties" />
+ <property name="version" value="1" />
+
+ <property name="server.dir" value="${org.jboss.as.home}/server/${org.jboss.as.config}"/>
+ <property name="conf.dir" value="${server.dir}/conf"/>
+ <property name="deploy.dir" value="${server.dir}/deploy"/>
+ <property name="server.lib.dir" value="${server.dir}/lib"/>
+
+ <property name="sample.esb.name" value="${ant.project.name}.esb" />
+
+ <property name="client.build.dir" location="build/client/classes"/>
+
+ <path id="compile-classpath">
+ <fileset dir="${org.jboss.as.home}/client" includes="*.jar" />
+ <fileset dir="${org.jboss.esb.home}/lib/jbossesb.sar/lib" includes="*.jar" />
+ <fileset dir="${org.jboss.esb.home}/lib" includes="*.jar" />
+ <fileset dir="${org.jboss.esb.home}/lib/ext" includes="*.jar" />
+ </path>
+ <property name="compile-classpath" refid="compile-classpath"/>
+
+ <target name="buildclient" description="build client" >
+ <mkdir dir="${client.build.dir}" />
+ <javac srcdir="src" destdir="${client.build.dir}" debug="true">
+ <classpath>
+ <path refid="compile-classpath" />
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="deployesb" >
+ <jar basedir="esbcontent" destfile="${deploy.dir}/${sample.esb.name}" />
+ </target>
+
+ <target name="undeployesb">
+ <delete file="${deploy.dir}/${sample.esb.name}"/>
+ </target>
+
+ <target name="deploy" depends="deployesb" >
+ <echo>Deploy ${ant.project.name}</echo>
+ </target>
+
+ <target name="undeploy" depends="undeployesb" >
+ <echo>Undeploy ${ant.project.name}</echo>
+ </target>
+
+ <!-- Import the base Ant build script... -->
+ <import file="${org.jboss.esb.home}/samples/quickstarts/conf/base-build.xml"/>
+
<target name="runtest" depends="compile"
description="Will send an esb Message">
<echo>Runs Test ESB Message Sender</echo>
Deleted: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/deployment.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/deployment.xml 2010-06-24 13:08:50 UTC (rev 784)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/deployment.xml 2010-06-24 18:17:07 UTC (rev 785)
@@ -1,6 +0,0 @@
-<jbossesb-deployment>
- <depends>jboss.bpel:service=BPELEngine</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply</depends>
- <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw</depends>
-</jbossesb-deployment>
Copied: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/deployment.xml (from rev 724, branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/deployment.xml)
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/deployment.xml (rev 0)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/deployment.xml 2010-06-24 18:17:07 UTC (rev 785)
@@ -0,0 +1,6 @@
+<jbossesb-deployment>
+ <depends>jboss.bpel:service=BPELEngine</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw</depends>
+</jbossesb-deployment>
Copied: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/jbm-queue-service.xml (from rev 724, branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jbm-queue-service.xml)
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/jbm-queue-service.xml (rev 0)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/jbm-queue-service.xml 2010-06-24 18:17:07 UTC (rev 785)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Copied: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/jboss-esb.xml (from rev 724, branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jboss-esb.xml)
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/jboss-esb.xml (rev 0)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/META-INF/jboss-esb.xml 2010-06-24 18:17:07 UTC (rev 785)
@@ -0,0 +1,50 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_helloworld_Request_gw"
+ />
+ </jms-bus>
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter
+ dest-type="QUEUE"
+ dest-name="queue/quickstart_bpel_helloworld_Request_esb"
+ />
+ </jms-bus>
+
+ </jms-provider>
+ </providers>
+
+ <services>
+ <service
+ category="HelloWorldBPELESB"
+ name="SayHello"
+ description="Hello World">
+ <listeners>
+ <jms-listener name="JMS-Gateway"
+ busidref="quickstartGwChannel"
+ is-gateway="true" />
+ <jms-listener name="helloWorld"
+ busidref="quickstartEsbChannel" />
+ </listeners>
+ <actions>
+ <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="printfull" value="true"/>
+ </action>
+ <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
+ <property name="service" value="{http://www.jboss.org/bpel/examples/wsdl}HelloService"/>
+ <property name="operation" value="hello" />
+ <property name="requestPartName" value="TestPart" />
+ <property name="responsePartName" value="TestPart" />
+ </action>
+ <!-- The next action is for Continuous Integration testing -->
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+ </services>
+
+</jbossesb>
Copied: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/esbcontent/lib (from rev 724, branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/lib)
Deleted: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jbm-queue-service.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jbm-queue-service.xml 2010-06-24 13:08:50 UTC (rev 784)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jbm-queue-service.xml 2010-06-24 18:17:07 UTC (rev 785)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-</server>
Deleted: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jbmq-queue-service.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jbmq-queue-service.xml 2010-06-24 13:08:50 UTC (rev 784)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jbmq-queue-service.xml 2010-06-24 18:17:07 UTC (rev 785)
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<server>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_esb_reply">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
- <mbean code="org.jboss.mq.server.jmx.Queue"
- name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_bpel_helloworld_Request_gw">
- <depends optional-attribute-name="DestinationManager">
- jboss.mq:service=DestinationManager
- </depends>
- </mbean>
-</server>
Deleted: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jboss-esb.xml
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jboss-esb.xml 2010-06-24 13:08:50 UTC (rev 784)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/jboss-esb.xml 2010-06-24 18:17:07 UTC (rev 785)
@@ -1,50 +0,0 @@
-<?xml version = "1.0" encoding = "UTF-8"?>
-<jbossesb xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..." parameterReloadSecs="5">
-
- <providers>
- <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
- <jms-bus busid="quickstartGwChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_bpel_helloworld_Request_gw"
- />
- </jms-bus>
- <jms-bus busid="quickstartEsbChannel">
- <jms-message-filter
- dest-type="QUEUE"
- dest-name="queue/quickstart_bpel_helloworld_Request_esb"
- />
- </jms-bus>
-
- </jms-provider>
- </providers>
-
- <services>
- <service
- category="HelloWorldBPELESB"
- name="SayHello"
- description="Hello World">
- <listeners>
- <jms-listener name="JMS-Gateway"
- busidref="quickstartGwChannel"
- is-gateway="true" />
- <jms-listener name="helloWorld"
- busidref="quickstartEsbChannel" />
- </listeners>
- <actions>
- <action name="action1" class="org.jboss.soa.esb.actions.SystemPrintln">
- <property name="printfull" value="true"/>
- </action>
- <action name="action2" class="org.jboss.soa.esb.actions.bpel.BPELInvoke">
- <property name="service" value="{http://www.jboss.org/bpel/examples/wsdl}HelloService"/>
- <property name="operation" value="hello" />
- <property name="requestPartName" value="TestPart" />
- <property name="responsePartName" value="TestPart" />
- </action>
- <!-- The next action is for Continuous Integration testing -->
- <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
- </actions>
- </service>
- </services>
-
-</jbossesb>
Modified: branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/readme.txt
===================================================================
--- branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/readme.txt 2010-06-24 13:08:50 UTC (rev 784)
+++ branches/RiftSaw-2.1.x/samples/esb/bpel_helloworld/readme.txt 2010-06-24 18:17:07 UTC (rev 785)
@@ -1,21 +1,14 @@
-Overview:
-=========
- The purpose of the bpel helloworld quickstart sample is to demonstrate
- a simple invocation of a BPEL process using an ESB action.
+ESB Examples - Using BPELInvoke to call a BPEL process
+======================================================
-Running this quickstart:
-========================
- Please refer to 'ant help-quickstarts' for prerequisites about the quickstarts
- and a more detailed descripton of the different ways to run the quickstarts.
+This is a simple example that calls an ESB service, which then invokes a
+BPEL process (hello_world) using the BPELInvoke ESB action.
-To Run '.esb' archive mode:
-===========================
- Before deploying this example, you will need to deploy the BPEL 'hello_world'
- quickstart example. The ESB action deployed and executed in this example will
- invoke this 'hello_world' BPEL example.
-
- 1. In a command terminal window in this folder ("Window1"), type 'ant deploy'.
- 2. Open another command terminal window in this folder ("Window2"), type
- 'ant runtest'.
- 3. Switch back to Application Server console to see the output from the ESB
- 4. In this folder ("Window1"), type 'ant undeploy'.
+To deploy the example, open a command line window in the example's folder,
+and simply type 'ant deploy'. To undeploy, use the command 'ant undeploy'.
+
+Alternatively, use the 'ant runtest' command (from a command line window)
+to send the example message directly to the deployed process.
+
+Some handy URLs:
+http://localhost:8080/bpel-console is the BPEL console
13 years, 12 months
riftsaw SVN: r784 - in branches/RiftSaw-2.1.x/integration-tests: src/test/java/org/jboss/soa/bpel/tests/samples and 19 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-24 09:08:50 -0400 (Thu, 24 Jun 2010)
New Revision: 784
Added:
branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartSimpleESBProxyInvokeTestCase.java
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.component
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.project.facet.core.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/HelloWorldWS.wsdl
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.bpel
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.wsdl
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/bpel-deploy.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/build.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/deployment.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jbm-queue-service.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jboss-esb.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_request1.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_response1.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/classes/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/lib/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/web.xml
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/simple_invoke/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/simple_invoke/HelloWorldWS.java
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/view/
branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/view/index.jsp
Modified:
branches/RiftSaw-2.1.x/integration-tests/build.xml
Log:
Added integration test for ESB proxy invoke.
Modified: branches/RiftSaw-2.1.x/integration-tests/build.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/build.xml 2010-06-24 13:06:34 UTC (rev 783)
+++ branches/RiftSaw-2.1.x/integration-tests/build.xml 2010-06-24 13:08:50 UTC (rev 784)
@@ -143,6 +143,7 @@
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_hello_world_no_extended_timeout/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_loan_fault/build.xml" />
+ <ant antfile="src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/build.xml" />
<ant antfile="src/test/resources/samples/Tutorial_bpel_atm/build.xml" />
<ant antfile="src/test/resources/samples/Tutorial_bpel_purchase/build.xml" />
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartSimpleESBProxyInvokeTestCase.java
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartSimpleESBProxyInvokeTestCase.java (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartSimpleESBProxyInvokeTestCase.java 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.samples;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the ESB simple_esb_proxy_invoke sample.
+ */
+public class QuickstartSimpleESBProxyInvokeTestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "Quickstart_simple_esb_proxy_invoke";
+
+ public QuickstartSimpleESBProxyInvokeTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartSimpleESBProxyInvokeTestCase.class,
+ TEST_NAME, "Quickstart_simple_esb_proxy_invoke-1.jar,Quickstart_simple_esb_proxy_invoke.war,Quickstart_simple_esb_proxy_invoke.esb"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendSOAPMessage("hello_request1.xml",
+ "http://localhost:8080/Quickstart_bpel_simple_invokeWS");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "hello_response1.xml");
+ }
+}
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.component
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.component (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.component 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="Quickstart_bpel_simple_invoke">
+ <wb-resource deploy-path="/" source-path="/bpelContent"/>
+ <dependent-module deploy-path="/" handle="module:/org.jboss.ide.eclipse.as.wtp.core.vcf.outputFolders/">
+ <dependency-type>consumes</dependency-type>
+ </dependent-module>
+ </wb-module>
+</project-modules>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.project.facet.core.xml 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <fixed facet="jbt.bpel.facet.core"/>
+ <installed facet="jbt.bpel.facet.core" version="2.0"/>
+</faceted-project>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/HelloWorldWS.wsdl
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/HelloWorldWS.wsdl (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/HelloWorldWS.wsdl 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<definitions name='HelloWorldWSService'
+targetNamespace='http://simple_invoke/helloworld'
+xmlns='http://schemas.xmlsoap.org/wsdl/'
+xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
+xmlns:tns='http://simple_invoke/helloworld'
+xmlns:xsd='http://www.w3.org/2001/XMLSchema'
+xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+>
+ <types>
+ <xs:schema targetNamespace='http://simple_invoke/helloworld' version='1.0' xmlns:tns='http://simple_invoke/helloworld' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='sayGoodbye' type='tns:sayGoodbye'/>
+ <xs:element name='sayGoodbyeResponse' type='tns:sayGoodbyeResponse'/>
+ <xs:element name='sayHello' type='tns:sayHello'/>
+ <xs:element name='sayHelloResponse' type='tns:sayHelloResponse'/>
+ <xs:complexType name='sayGoodbye'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='toWhom' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name='sayGoodbyeResponse'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='return' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name='sayHello'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='toWhom' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name='sayHelloResponse'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='return' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+ </types>
+ <message name='HelloWorld_sayGoodbye'>
+ <part element='tns:sayGoodbye' name='sayGoodbye'></part>
+ </message>
+ <message name='HelloWorld_sayHello'>
+ <part element='tns:sayHello' name='sayHello'></part>
+ </message>
+ <message name='HelloWorld_sayHelloResponse'>
+ <part element='tns:sayHelloResponse' name='sayHelloResponse'></part>
+ </message>
+ <message name='HelloWorld_sayGoodbyeResponse'>
+ <part element='tns:sayGoodbyeResponse' name='sayGoodbyeResponse'></part>
+ </message>
+ <portType name='HelloWorld'>
+ <operation name='sayGoodbye' parameterOrder='sayGoodbye'>
+ <input message='tns:HelloWorld_sayGoodbye'></input>
+ <output message='tns:HelloWorld_sayGoodbyeResponse'></output>
+ </operation>
+ <operation name='sayHello' parameterOrder='sayHello'>
+ <input message='tns:HelloWorld_sayHello'></input>
+ <output message='tns:HelloWorld_sayHelloResponse'></output>
+ </operation>
+ </portType>
+ <binding name='HelloWorldBinding' type='tns:HelloWorld'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='sayGoodbye'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ <operation name='sayHello'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='HelloWorldWSService'>
+ <port binding='tns:HelloWorldBinding' name='HelloWorldPort'>
+ <soap:address location='http://127.0.0.1:8765'/>
+ </port>
+ </service>
+ <plnk:partnerLinkType name="theExternalService_PartnerLinkType">
+ <plnk:role name="callingTheExternalService" portType="tns:HelloWorld"/>
+ </plnk:partnerLinkType>
+</definitions>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.bpel
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.bpel (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.bpel 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,96 @@
+<!--
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, 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.
+ -->
+<process name="SimpleInvoke"
+ targetNamespace="http://www.jboss.org/bpel/examples"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:tns="http://www.jboss.org/bpel/examples"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:intf="http://www.jboss.org/bpel/examples/wsdl"
+ xmlns:intf2="http://simple_invoke/helloworld"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+
+ <import location="SimpleInvoke.wsdl"
+ namespace="http://www.jboss.org/bpel/examples/wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+
+ <import location="HelloWorldWS.wsdl"
+ namespace="http://simple_invoke/helloworld"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+
+ <partnerLinks>
+ <partnerLink name="theClient_PartnerLink"
+ partnerLinkType="intf:myClientCalling_PartnerLinkType"
+ myRole="me" />
+ <partnerLink name="theExternalService_PartnerLink"
+ partnerLinkType="intf2:theExternalService_PartnerLinkType"
+ partnerRole="callingTheExternalService"
+ initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="myVar" messageType="intf:GreetingTarget_Message"/>
+ <variable name="inVar" messageType="intf2:HelloWorld_sayHello"/>
+ <variable name="outVar" messageType="intf2:HelloWorld_sayHelloResponse"/>
+ <variable name="tempVar" type="xsd:string"/>
+ </variables>
+
+ <sequence>
+ <receive
+ name="request"
+ partnerLink="theClient_PartnerLink"
+ portType="intf:SimpleInvoke_PortType"
+ operation="sayHelloTo"
+ variable="myVar"
+ createInstance="yes"/>
+
+ <assign name="assignRequestToHelloWorldWS">
+ <!-- Ode requires variable initialization -->
+ <copy>
+ <from><literal><intf2:sayHello><toWhom xmlns=""/></intf2:sayHello></literal></from>
+ <to variable="inVar" part="sayHello"/>
+ </copy>
+ <!-- now the real copy -->
+ <copy>
+ <from variable="myVar" part="ToWhom"/>
+ <to>$inVar.sayHello/toWhom</to>
+ </copy>
+ </assign>
+
+ <invoke name="ICallTheExternalService"
+ partnerLink="theExternalService_PartnerLink"
+ portType="intf2:HelloWorld"
+ operation="sayHello"
+ inputVariable="inVar"
+ outputVariable="outVar"
+ />
+
+ <assign name="assignResponseOfHelloWorldWS">
+ <copy>
+ <from>concat($outVar.sayHelloResponse/return,' and BPEL')</from>
+ <to variable="myVar" part="ToWhom"/>
+ </copy>
+ </assign>
+
+ <reply name="response"
+ partnerLink="theClient_PartnerLink"
+ portType="intf:SimpleInvoke_PortType"
+ operation="sayHelloTo"
+ variable="myVar"/>
+ </sequence>
+</process>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.wsdl
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.wsdl (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.wsdl 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, 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.
+ -->
+<wsdl:definitions
+ targetNamespace="http://www.jboss.org/bpel/examples/wsdl"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:tns="http://www.jboss.org/bpel/examples/wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ 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">
+
+ <wsdl:message name="GreetingTarget_Message">
+ <wsdl:part name="ToWhom" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:portType name="SimpleInvoke_PortType">
+ <wsdl:operation name="sayHelloTo">
+ <wsdl:input message="tns:GreetingTarget_Message" name="TestIn"/>
+ <wsdl:output message="tns:GreetingTarget_Message" name="TestOut"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="SimpleInvoke_SoapBinding" type="tns:SimpleInvoke_PortType">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="sayHelloTo">
+ <soap:operation soapAction="" style="rpc"/>
+ <wsdl:input>
+ <soap:body
+ namespace="http://www.jboss.org/bpel/examples/wsdl"
+ use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body
+ namespace="http://www.jboss.org/bpel/examples/wsdl"
+ use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="SimpleInvoke_Service">
+ <wsdl:port name="SimpleInvoke_Port" binding="tns:SimpleInvoke_SoapBinding">
+ <soap:address location="http://localhost:8080/Quickstart_bpel_simple_invokeWS"/>
+ </wsdl:port>
+ </wsdl:service>
+
+ <plnk:partnerLinkType name="myClientCalling_PartnerLinkType">
+ <plnk:role name="me" portType="tns:SimpleInvoke_PortType"/>
+ <plnk:role name="you" portType="tns:SimpleInvoke_PortType"/>
+ </plnk:partnerLinkType>
+</wsdl:definitions>
+
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/bpel-deploy.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/bpel-deploy.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/bpel-deploy.xml 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,32 @@
+<!--
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, 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.
+ -->
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
+ xmlns:bpl="http://www.jboss.org/bpel/examples"
+ xmlns:intf="http://www.jboss.org/bpel/examples/wsdl"
+ xmlns:intf2="http://simple_invoke/helloworld">
+
+ <process name="bpl:SimpleInvoke">
+ <active>true</active>
+ <provide partnerLink="theClient_PartnerLink">
+ <service name="intf:SimpleInvoke_Service" port="SimpleInvoke_Port"/>
+ </provide>
+ <invoke partnerLink="theExternalService_PartnerLink">
+ <service name="intf2:HelloWorldWSService" port="HelloWorldPort"/>
+ </invoke>
+ </process>
+</deploy>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/build.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/build.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/build.xml 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,78 @@
+<project name="Quickstart_simple_esb_proxy_invoke" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/samples/${ant.project.name}" />
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+ <property name="sample.esb.name" value="${ant.project.name}.esb" />
+
+ <property name="war.build.dir" location="${deploy.dir}/${ant.project.name}/build/war/classes"/>
+
+ <path id="compile-classpath">
+ <fileset dir="${org.jboss.as.home}/client" includes="*.jar" /> <!-- Required for JMS Client Code. -->
+ </path>
+ <property name="compile-classpath" refid="compile-classpath"/>
+
+ <target name="deploywar" description="make war">
+ <!-- Compile... -->
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+
+ <mkdir dir="${war.build.dir}" />
+
+ <javac fork="true" srcdir="${test.dir}/war/src" destdir="${war.build.dir}" debug="true">
+ <classpath>
+ <path refid="compile-classpath" />
+ <fileset dir="${test.dir}/war/resources/WEB-INF/lib" includes="*.jar" />
+ </classpath>
+ </javac>
+
+ <!-- War... -->
+ <war warfile="${deploy.dir}/${ant.project.name}/${ant.project.name}.war"
+ webxml="${test.dir}/war/resources/WEB-INF/web.xml">
+ <webinf dir="${test.dir}/war/resources/WEB-INF">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <classes dir="${war.build.dir}" includes="**/*.class"/>
+ <fileset dir="${test.dir}/war/view">
+ <include name="**/*"/>
+ </fileset>
+ <classes dir="${test.dir}">
+ <include name="juddi.properties"/>
+ </classes>
+ </war>
+ </target>
+
+ <target name="undeploywar">
+ <echo>Undeploy WAR</echo>
+ <delete file="${deploy.dir}/${ant.project.name}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="deployesb" >
+ <jar basedir="${test.dir}/esbcontent" destfile="${deploy.dir}/${ant.project.name}/${sample.esb.name}" />
+ </target>
+
+ <target name="undeployesb">
+ <delete file="${deploy.dir}/${ant.project.name}/${sample.esb.name}"/>
+ </target>
+
+ <target name="deploy" depends="deploywar,deployesb" >
+ <echo>Deploy ${ant.project.name}</echo>
+ <jar basedir="${test.dir}/bpel" destfile="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy" depends="undeploywar,undeployesb" >
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+</project>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/deployment.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/deployment.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/deployment.xml 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,7 @@
+<jbossesb-deployment>
+ <depends>jboss.esb:deployment=soap.esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_gw</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_esb_reply
+ </depends>
+</jbossesb-deployment>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jbm-queue-service.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jbm-queue-service.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jbm-queue-service.xml 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jboss-esb.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jboss-esb.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jboss-esb.xml 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,55 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb
+ xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_simple_esb_proxy_invoke_gw"/>
+ </jms-bus>
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_simple_esb_proxy_invoke_esb"/>
+ </jms-bus>
+ </jms-provider>
+
+ <jbr-provider name="JBR-Http" protocol="http" host="localhost">
+ <jbr-bus busid="Http-1" port="8765" />
+ </jbr-provider>
+
+ <jbr-provider name="JBR-Socket" protocol="socket" host="localhost">
+ <jbr-bus busid="Socket-1" port="8888" />
+ </jbr-provider>
+
+ </providers>
+
+ <services>
+
+ <service category="MyServiceCategory" name="MyWSProducerService" description="WS Frontend speaks natively to the ESB">
+
+ <listeners>
+ <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" is-gateway="true"/>
+ <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true"/>
+ <jbr-listener name="Socket-Gateway" busidref="Socket-1" is-gateway="true"/>
+
+ <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel"/>
+ </listeners>
+ <actions>
+ <action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="message"
+ value="[Quickstart_simple_esb_proxy_invoke] BEFORE invoking jbossws endpoint"/>
+ </action>
+ <action name="JBossWSAdapter" class="org.jboss.soa.esb.actions.soap.SOAPProcessor">
+ <property name="jbossws-endpoint" value="HelloWorldWS"/>
+ </action>
+ <action name="print-after" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="message"
+ value="[Quickstart_simple_esb_proxy_invoke] AFTER invoking jbossws endpoint"/>
+ </action>
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+
+ </services>
+
+</jbossesb>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_request1.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_request1.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_request1.xml 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,8 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:sayHelloTo>
+ <ToWhom>ME</ToWhom>
+ </wsdl:sayHelloTo>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_response1.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_response1.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_response1.xml 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><odens:sayHelloToResponse xmlns:odens='http://www.jboss.org/bpel/examples/wsdl'><ToWhom>Hello ME. Sincerely, JBossWS and BPEL</ToWhom></odens:sayHelloToResponse></env:Body></env:Envelope>
\ No newline at end of file
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/web.xml
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/web.xml (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/web.xml 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,18 @@
+<?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>HelloWorldWS</servlet-name>
+ <servlet-class>org.jboss.soa.bpel.samples.quickstart.simple_invoke.HelloWorldWS</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>HelloWorldWS</servlet-name>
+ <url-pattern>/HelloWorldWS</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/simple_invoke/HelloWorldWS.java
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/simple_invoke/HelloWorldWS.java (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/simple_invoke/HelloWorldWS.java 2010-06-24 13:08:50 UTC (rev 784)
@@ -0,0 +1,56 @@
+/*
+ * 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,
+ * @author JBoss Inc.
+ */
+
+package org.jboss.soa.bpel.samples.quickstart.simple_invoke;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.WebParam;
+
+@WebService(name = "HelloWorld", targetNamespace = "http://simple_invoke/helloworld")
+public class HelloWorldWS
+{
+ @WebMethod
+ public String sayHello(@WebParam(name = "toWhom")
+ String toWhom)
+ {
+ System.out.println("\n");
+ System.out.println("*************************************************");
+ System.out.println("toWhom Parameter: " + toWhom );
+ System.out.println("*************************************************");
+ System.out.println("\n");
+ String greeting = "Hello " + toWhom + ". Sincerely, JBossWS";
+ return greeting;
+
+ }
+
+ @WebMethod
+ public String sayGoodbye(@WebParam(name = "toWhom")
+ String toWhom)
+ {
+
+ String greeting = "Goodbye Cruel World, sincerely '" + toWhom + "' at " + new java.util.Date();
+
+ return greeting;
+
+ }
+}
Added: branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/view/index.jsp
===================================================================
--- branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/view/index.jsp (rev 0)
+++ branches/RiftSaw-2.1.x/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/view/index.jsp 2010-06-24 13:08:50 UTC (rev 784)
@@ -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
13 years, 12 months
riftsaw SVN: r783 - in trunk/integration-tests: src/test/java/org/jboss/soa/bpel/tests/samples and 19 other directories.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-06-24 09:06:34 -0400 (Thu, 24 Jun 2010)
New Revision: 783
Added:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartSimpleESBProxyInvokeTestCase.java
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.component
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.project.facet.core.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/HelloWorldWS.wsdl
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.bpel
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.wsdl
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/bpel-deploy.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/build.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/deployment.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jbm-queue-service.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jboss-esb.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_request1.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_response1.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/web.xml
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/simple_invoke/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/simple_invoke/HelloWorldWS.java
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/view/
trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/view/index.jsp
Modified:
trunk/integration-tests/build.xml
Log:
Added integration test for ESB proxy invoke.
Modified: trunk/integration-tests/build.xml
===================================================================
--- trunk/integration-tests/build.xml 2010-06-23 17:03:46 UTC (rev 782)
+++ trunk/integration-tests/build.xml 2010-06-24 13:06:34 UTC (rev 783)
@@ -143,6 +143,7 @@
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_hello_world_no_extended_timeout/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_loan_approval/build.xml" />
<ant antfile="src/test/resources/samples/Quickstart_esb_bpel_loan_fault/build.xml" />
+ <ant antfile="src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/build.xml" />
<ant antfile="src/test/resources/samples/Tutorial_bpel_atm/build.xml" />
<ant antfile="src/test/resources/samples/Tutorial_bpel_purchase/build.xml" />
Added: trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartSimpleESBProxyInvokeTestCase.java
===================================================================
--- trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartSimpleESBProxyInvokeTestCase.java (rev 0)
+++ trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartSimpleESBProxyInvokeTestCase.java 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY 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 along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.samples;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the ESB simple_esb_proxy_invoke sample.
+ */
+public class QuickstartSimpleESBProxyInvokeTestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "Quickstart_simple_esb_proxy_invoke";
+
+ public QuickstartSimpleESBProxyInvokeTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartSimpleESBProxyInvokeTestCase.class,
+ TEST_NAME, "Quickstart_simple_esb_proxy_invoke-1.jar,Quickstart_simple_esb_proxy_invoke.war,Quickstart_simple_esb_proxy_invoke.esb"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendSOAPMessage("hello_request1.xml",
+ "http://localhost:8080/Quickstart_bpel_simple_invokeWS");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header />","<env:Header></env:Header>");
+ }
+
+ assertMessageFromFile(result, "hello_response1.xml");
+ }
+}
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.component
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.component (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.component 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="Quickstart_bpel_simple_invoke">
+ <wb-resource deploy-path="/" source-path="/bpelContent"/>
+ <dependent-module deploy-path="/" handle="module:/org.jboss.ide.eclipse.as.wtp.core.vcf.outputFolders/">
+ <dependency-type>consumes</dependency-type>
+ </dependent-module>
+ </wb-module>
+</project-modules>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.project.facet.core.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.project.facet.core.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/.settings/org.eclipse.wst.common.project.facet.core.xml 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <fixed facet="jbt.bpel.facet.core"/>
+ <installed facet="jbt.bpel.facet.core" version="2.0"/>
+</faceted-project>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/HelloWorldWS.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/HelloWorldWS.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/HelloWorldWS.wsdl 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<definitions name='HelloWorldWSService'
+targetNamespace='http://simple_invoke/helloworld'
+xmlns='http://schemas.xmlsoap.org/wsdl/'
+xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
+xmlns:tns='http://simple_invoke/helloworld'
+xmlns:xsd='http://www.w3.org/2001/XMLSchema'
+xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+>
+ <types>
+ <xs:schema targetNamespace='http://simple_invoke/helloworld' version='1.0' xmlns:tns='http://simple_invoke/helloworld' xmlns:xs='http://www.w3.org/2001/XMLSchema'>
+ <xs:element name='sayGoodbye' type='tns:sayGoodbye'/>
+ <xs:element name='sayGoodbyeResponse' type='tns:sayGoodbyeResponse'/>
+ <xs:element name='sayHello' type='tns:sayHello'/>
+ <xs:element name='sayHelloResponse' type='tns:sayHelloResponse'/>
+ <xs:complexType name='sayGoodbye'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='toWhom' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name='sayGoodbyeResponse'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='return' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name='sayHello'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='toWhom' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name='sayHelloResponse'>
+ <xs:sequence>
+ <xs:element minOccurs='0' name='return' type='xs:string'/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:schema>
+ </types>
+ <message name='HelloWorld_sayGoodbye'>
+ <part element='tns:sayGoodbye' name='sayGoodbye'></part>
+ </message>
+ <message name='HelloWorld_sayHello'>
+ <part element='tns:sayHello' name='sayHello'></part>
+ </message>
+ <message name='HelloWorld_sayHelloResponse'>
+ <part element='tns:sayHelloResponse' name='sayHelloResponse'></part>
+ </message>
+ <message name='HelloWorld_sayGoodbyeResponse'>
+ <part element='tns:sayGoodbyeResponse' name='sayGoodbyeResponse'></part>
+ </message>
+ <portType name='HelloWorld'>
+ <operation name='sayGoodbye' parameterOrder='sayGoodbye'>
+ <input message='tns:HelloWorld_sayGoodbye'></input>
+ <output message='tns:HelloWorld_sayGoodbyeResponse'></output>
+ </operation>
+ <operation name='sayHello' parameterOrder='sayHello'>
+ <input message='tns:HelloWorld_sayHello'></input>
+ <output message='tns:HelloWorld_sayHelloResponse'></output>
+ </operation>
+ </portType>
+ <binding name='HelloWorldBinding' type='tns:HelloWorld'>
+ <soap:binding style='document' transport='http://schemas.xmlsoap.org/soap/http'/>
+ <operation name='sayGoodbye'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ <operation name='sayHello'>
+ <soap:operation soapAction=''/>
+ <input>
+ <soap:body use='literal'/>
+ </input>
+ <output>
+ <soap:body use='literal'/>
+ </output>
+ </operation>
+ </binding>
+ <service name='HelloWorldWSService'>
+ <port binding='tns:HelloWorldBinding' name='HelloWorldPort'>
+ <soap:address location='http://127.0.0.1:8765'/>
+ </port>
+ </service>
+ <plnk:partnerLinkType name="theExternalService_PartnerLinkType">
+ <plnk:role name="callingTheExternalService" portType="tns:HelloWorld"/>
+ </plnk:partnerLinkType>
+</definitions>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.bpel 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,96 @@
+<!--
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, 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.
+ -->
+<process name="SimpleInvoke"
+ targetNamespace="http://www.jboss.org/bpel/examples"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:tns="http://www.jboss.org/bpel/examples"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:intf="http://www.jboss.org/bpel/examples/wsdl"
+ xmlns:intf2="http://simple_invoke/helloworld"
+ queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
+ expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
+
+ <import location="SimpleInvoke.wsdl"
+ namespace="http://www.jboss.org/bpel/examples/wsdl"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+
+ <import location="HelloWorldWS.wsdl"
+ namespace="http://simple_invoke/helloworld"
+ importType="http://schemas.xmlsoap.org/wsdl/" />
+
+ <partnerLinks>
+ <partnerLink name="theClient_PartnerLink"
+ partnerLinkType="intf:myClientCalling_PartnerLinkType"
+ myRole="me" />
+ <partnerLink name="theExternalService_PartnerLink"
+ partnerLinkType="intf2:theExternalService_PartnerLinkType"
+ partnerRole="callingTheExternalService"
+ initializePartnerRole="yes"/>
+ </partnerLinks>
+
+ <variables>
+ <variable name="myVar" messageType="intf:GreetingTarget_Message"/>
+ <variable name="inVar" messageType="intf2:HelloWorld_sayHello"/>
+ <variable name="outVar" messageType="intf2:HelloWorld_sayHelloResponse"/>
+ <variable name="tempVar" type="xsd:string"/>
+ </variables>
+
+ <sequence>
+ <receive
+ name="request"
+ partnerLink="theClient_PartnerLink"
+ portType="intf:SimpleInvoke_PortType"
+ operation="sayHelloTo"
+ variable="myVar"
+ createInstance="yes"/>
+
+ <assign name="assignRequestToHelloWorldWS">
+ <!-- Ode requires variable initialization -->
+ <copy>
+ <from><literal><intf2:sayHello><toWhom xmlns=""/></intf2:sayHello></literal></from>
+ <to variable="inVar" part="sayHello"/>
+ </copy>
+ <!-- now the real copy -->
+ <copy>
+ <from variable="myVar" part="ToWhom"/>
+ <to>$inVar.sayHello/toWhom</to>
+ </copy>
+ </assign>
+
+ <invoke name="ICallTheExternalService"
+ partnerLink="theExternalService_PartnerLink"
+ portType="intf2:HelloWorld"
+ operation="sayHello"
+ inputVariable="inVar"
+ outputVariable="outVar"
+ />
+
+ <assign name="assignResponseOfHelloWorldWS">
+ <copy>
+ <from>concat($outVar.sayHelloResponse/return,' and BPEL')</from>
+ <to variable="myVar" part="ToWhom"/>
+ </copy>
+ </assign>
+
+ <reply name="response"
+ partnerLink="theClient_PartnerLink"
+ portType="intf:SimpleInvoke_PortType"
+ operation="sayHelloTo"
+ variable="myVar"/>
+ </sequence>
+</process>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.wsdl
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.wsdl (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/SimpleInvoke.wsdl 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, 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.
+ -->
+<wsdl:definitions
+ targetNamespace="http://www.jboss.org/bpel/examples/wsdl"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:tns="http://www.jboss.org/bpel/examples/wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ 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">
+
+ <wsdl:message name="GreetingTarget_Message">
+ <wsdl:part name="ToWhom" type="xsd:string"/>
+ </wsdl:message>
+
+ <wsdl:portType name="SimpleInvoke_PortType">
+ <wsdl:operation name="sayHelloTo">
+ <wsdl:input message="tns:GreetingTarget_Message" name="TestIn"/>
+ <wsdl:output message="tns:GreetingTarget_Message" name="TestOut"/>
+ </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="SimpleInvoke_SoapBinding" type="tns:SimpleInvoke_PortType">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="sayHelloTo">
+ <soap:operation soapAction="" style="rpc"/>
+ <wsdl:input>
+ <soap:body
+ namespace="http://www.jboss.org/bpel/examples/wsdl"
+ use="literal"/>
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body
+ namespace="http://www.jboss.org/bpel/examples/wsdl"
+ use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="SimpleInvoke_Service">
+ <wsdl:port name="SimpleInvoke_Port" binding="tns:SimpleInvoke_SoapBinding">
+ <soap:address location="http://localhost:8080/Quickstart_bpel_simple_invokeWS"/>
+ </wsdl:port>
+ </wsdl:service>
+
+ <plnk:partnerLinkType name="myClientCalling_PartnerLinkType">
+ <plnk:role name="me" portType="tns:SimpleInvoke_PortType"/>
+ <plnk:role name="you" portType="tns:SimpleInvoke_PortType"/>
+ </plnk:partnerLinkType>
+</wsdl:definitions>
+
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/bpel-deploy.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/bpel-deploy.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/bpel/bpel-deploy.xml 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,32 @@
+<!--
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, 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.
+ -->
+<deploy xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
+ xmlns:bpl="http://www.jboss.org/bpel/examples"
+ xmlns:intf="http://www.jboss.org/bpel/examples/wsdl"
+ xmlns:intf2="http://simple_invoke/helloworld">
+
+ <process name="bpl:SimpleInvoke">
+ <active>true</active>
+ <provide partnerLink="theClient_PartnerLink">
+ <service name="intf:SimpleInvoke_Service" port="SimpleInvoke_Port"/>
+ </provide>
+ <invoke partnerLink="theExternalService_PartnerLink">
+ <service name="intf2:HelloWorldWSService" port="HelloWorldPort"/>
+ </invoke>
+ </process>
+</deploy>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/build.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/build.xml 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,78 @@
+<project name="Quickstart_simple_esb_proxy_invoke" default="deploy" basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir" value="${basedir}/src/test/resources/samples/${ant.project.name}" />
+
+ <property name="sample.jar.name" value="${ant.project.name}-${version}.jar" />
+ <property name="sample.esb.name" value="${ant.project.name}.esb" />
+
+ <property name="war.build.dir" location="${deploy.dir}/${ant.project.name}/build/war/classes"/>
+
+ <path id="compile-classpath">
+ <fileset dir="${org.jboss.as.home}/client" includes="*.jar" /> <!-- Required for JMS Client Code. -->
+ </path>
+ <property name="compile-classpath" refid="compile-classpath"/>
+
+ <target name="deploywar" description="make war">
+ <!-- Compile... -->
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+
+ <mkdir dir="${war.build.dir}" />
+
+ <javac fork="true" srcdir="${test.dir}/war/src" destdir="${war.build.dir}" debug="true">
+ <classpath>
+ <path refid="compile-classpath" />
+ <fileset dir="${test.dir}/war/resources/WEB-INF/lib" includes="*.jar" />
+ </classpath>
+ </javac>
+
+ <!-- War... -->
+ <war warfile="${deploy.dir}/${ant.project.name}/${ant.project.name}.war"
+ webxml="${test.dir}/war/resources/WEB-INF/web.xml">
+ <webinf dir="${test.dir}/war/resources/WEB-INF">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <classes dir="${war.build.dir}" includes="**/*.class"/>
+ <fileset dir="${test.dir}/war/view">
+ <include name="**/*"/>
+ </fileset>
+ <classes dir="${test.dir}">
+ <include name="juddi.properties"/>
+ </classes>
+ </war>
+ </target>
+
+ <target name="undeploywar">
+ <echo>Undeploy WAR</echo>
+ <delete file="${deploy.dir}/${ant.project.name}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="deployesb" >
+ <jar basedir="${test.dir}/esbcontent" destfile="${deploy.dir}/${ant.project.name}/${sample.esb.name}" />
+ </target>
+
+ <target name="undeployesb">
+ <delete file="${deploy.dir}/${ant.project.name}/${sample.esb.name}"/>
+ </target>
+
+ <target name="deploy" depends="deploywar,deployesb" >
+ <echo>Deploy ${ant.project.name}</echo>
+ <jar basedir="${test.dir}/bpel" destfile="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy" depends="undeploywar,undeployesb" >
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+</project>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/deployment.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/deployment.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/deployment.xml 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,7 @@
+<jbossesb-deployment>
+ <depends>jboss.esb:deployment=soap.esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_gw</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_esb</depends>
+ <depends>jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_esb_reply
+ </depends>
+</jbossesb-deployment>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jbm-queue-service.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jbm-queue-service.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jbm-queue-service.xml 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<server>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_gw"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_esb"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.esb.quickstart.destination:service=Queue,name=quickstart_simple_esb_proxy_invoke_esb_reply"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jboss-esb.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jboss-esb.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/esbcontent/META-INF/jboss-esb.xml 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,55 @@
+<?xml version = "1.0" encoding = "UTF-8"?>
+<jbossesb
+ xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml..."
+ parameterReloadSecs="5">
+
+ <providers>
+ <jms-provider name="JBossMQ" connection-factory="ConnectionFactory">
+ <jms-bus busid="quickstartGwChannel">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_simple_esb_proxy_invoke_gw"/>
+ </jms-bus>
+ <jms-bus busid="quickstartEsbChannel">
+ <jms-message-filter dest-type="QUEUE" dest-name="queue/quickstart_simple_esb_proxy_invoke_esb"/>
+ </jms-bus>
+ </jms-provider>
+
+ <jbr-provider name="JBR-Http" protocol="http" host="localhost">
+ <jbr-bus busid="Http-1" port="8765" />
+ </jbr-provider>
+
+ <jbr-provider name="JBR-Socket" protocol="socket" host="localhost">
+ <jbr-bus busid="Socket-1" port="8888" />
+ </jbr-provider>
+
+ </providers>
+
+ <services>
+
+ <service category="MyServiceCategory" name="MyWSProducerService" description="WS Frontend speaks natively to the ESB">
+
+ <listeners>
+ <jms-listener name="JMS-Gateway" busidref="quickstartGwChannel" is-gateway="true"/>
+ <jbr-listener name="Http-Gateway" busidref="Http-1" is-gateway="true"/>
+ <jbr-listener name="Socket-Gateway" busidref="Socket-1" is-gateway="true"/>
+
+ <jms-listener name="JMS-ESBListener" busidref="quickstartEsbChannel"/>
+ </listeners>
+ <actions>
+ <action name="print-before" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="message"
+ value="[Quickstart_simple_esb_proxy_invoke] BEFORE invoking jbossws endpoint"/>
+ </action>
+ <action name="JBossWSAdapter" class="org.jboss.soa.esb.actions.soap.SOAPProcessor">
+ <property name="jbossws-endpoint" value="HelloWorldWS"/>
+ </action>
+ <action name="print-after" class="org.jboss.soa.esb.actions.SystemPrintln">
+ <property name="message"
+ value="[Quickstart_simple_esb_proxy_invoke] AFTER invoking jbossws endpoint"/>
+ </action>
+ <action name="testStore" class="org.jboss.soa.esb.actions.TestMessageStore"/>
+ </actions>
+ </service>
+
+ </services>
+
+</jbossesb>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_request1.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_request1.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_request1.xml 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,8 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:sayHelloTo>
+ <ToWhom>ME</ToWhom>
+ </wsdl:sayHelloTo>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_response1.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_response1.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/messages/hello_response1.xml 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1 @@
+<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:Header></env:Header><env:Body><odens:sayHelloToResponse xmlns:odens='http://www.jboss.org/bpel/examples/wsdl'><ToWhom>Hello ME. Sincerely, JBossWS and BPEL</ToWhom></odens:sayHelloToResponse></env:Body></env:Envelope>
\ No newline at end of file
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/web.xml
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/web.xml (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/resources/WEB-INF/web.xml 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,18 @@
+<?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>HelloWorldWS</servlet-name>
+ <servlet-class>org.jboss.soa.bpel.samples.quickstart.simple_invoke.HelloWorldWS</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>HelloWorldWS</servlet-name>
+ <url-pattern>/HelloWorldWS</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/simple_invoke/HelloWorldWS.java
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/simple_invoke/HelloWorldWS.java (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/src/org/jboss/soa/bpel/samples/quickstart/simple_invoke/HelloWorldWS.java 2010-06-24 13:06:34 UTC (rev 783)
@@ -0,0 +1,56 @@
+/*
+ * 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,
+ * @author JBoss Inc.
+ */
+
+package org.jboss.soa.bpel.samples.quickstart.simple_invoke;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.jws.WebParam;
+
+@WebService(name = "HelloWorld", targetNamespace = "http://simple_invoke/helloworld")
+public class HelloWorldWS
+{
+ @WebMethod
+ public String sayHello(@WebParam(name = "toWhom")
+ String toWhom)
+ {
+ System.out.println("\n");
+ System.out.println("*************************************************");
+ System.out.println("toWhom Parameter: " + toWhom );
+ System.out.println("*************************************************");
+ System.out.println("\n");
+ String greeting = "Hello " + toWhom + ". Sincerely, JBossWS";
+ return greeting;
+
+ }
+
+ @WebMethod
+ public String sayGoodbye(@WebParam(name = "toWhom")
+ String toWhom)
+ {
+
+ String greeting = "Goodbye Cruel World, sincerely '" + toWhom + "' at " + new java.util.Date();
+
+ return greeting;
+
+ }
+}
Added: trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/view/index.jsp
===================================================================
--- trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/view/index.jsp (rev 0)
+++ trunk/integration-tests/src/test/resources/samples/Quickstart_simple_esb_proxy_invoke/war/view/index.jsp 2010-06-24 13:06:34 UTC (rev 783)
@@ -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
13 years, 12 months