Author: bbrodt
Date: 2010-03-09 18:08:26 -0500 (Tue, 09 Mar 2010)
New Revision: 552
Added:
trunk/samples/quickstart/BPEL-BluePrint5/messages/
trunk/samples/quickstart/BPEL-BluePrint5/messages/book_airline.xml
trunk/samples/quickstart/BPEL-BluePrint5/messages/book_all.xml
trunk/samples/quickstart/BPEL-BluePrint5/messages/book_car.xml
trunk/samples/quickstart/BPEL-BluePrint5/messages/book_hotel.xml
Modified:
trunk/samples/quickstart/BPEL-BluePrint5/build.xml
Log:
Added test messages and ant build targets to send them
Modified: trunk/samples/quickstart/BPEL-BluePrint5/build.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/build.xml 2010-03-09 22:53:22 UTC (rev 551)
+++ trunk/samples/quickstart/BPEL-BluePrint5/build.xml 2010-03-09 23:08:26 UTC (rev 552)
@@ -27,11 +27,11 @@
<delete file="${deploy.dir}/${sample.jar.name}" />
</target>
- <target name="sendvalid">
- <echo>Send valid test message to: ${ant.project.name}</echo>
+ <target name="book_airline">
+ <echo>Send airline booking message to: ${ant.project.name}</echo>
<java
classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
<arg
value="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
- <arg value="messages/valid.xml"/>
+ <arg value="messages/book_airline.xml"/>
<classpath>
<fileset dir="../../common/lib">
<include name="**/*.jar"/>
@@ -41,11 +41,11 @@
</java>
</target>
- <target name="sendinvalid">
- <echo>Send invalid test message to: ${ant.project.name}</echo>
+ <target name="book_car">
+ <echo>Send car booking message to: ${ant.project.name}</echo>
<java
classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
<arg
value="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
- <arg value="messages/invalid.xml"/>
+ <arg value="messages/book_car.xml"/>
<classpath>
<fileset dir="../../common/lib">
<include name="**/*.jar"/>
@@ -54,4 +54,32 @@
</classpath>
</java>
</target>
+
+ <target name="book_hotel">
+ <echo>Send airline booking message to: ${ant.project.name}</echo>
+ <java
classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg
value="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
+ <arg value="messages/book_hotel.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="book_all">
+ <echo>Send airline booking message to: ${ant.project.name}</echo>
+ <java
classname="org.apache.ode.tools.sendsoap.cline.HttpSoapSender">
+ <arg
value="http://localhost:8080/BPEL_BluePrint5_ReservationService"/>
+ <arg value="messages/book_all.xml"/>
+ <classpath>
+ <fileset dir="../../common/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <pathelement path="${java.class.path}"/>
+ </classpath>
+ </java>
+ </target>
</project>
Added: trunk/samples/quickstart/BPEL-BluePrint5/messages/book_airline.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/messages/book_airline.xml
(rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/messages/book_airline.xml 2010-03-09 23:08:26
UTC (rev 552)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2100</res:reservationID>
+ <res:description>book_airline</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/samples/quickstart/BPEL-BluePrint5/messages/book_all.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/messages/book_all.xml
(rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/messages/book_all.xml 2010-03-09 23:08:26 UTC
(rev 552)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2111</res:reservationID>
+ <res:description>book_airline book_car book_hotel</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/samples/quickstart/BPEL-BluePrint5/messages/book_car.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/messages/book_car.xml
(rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/messages/book_car.xml 2010-03-09 23:08:26 UTC
(rev 552)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2010</res:reservationID>
+ <res:description>book_car</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>
Added: trunk/samples/quickstart/BPEL-BluePrint5/messages/book_hotel.xml
===================================================================
--- trunk/samples/quickstart/BPEL-BluePrint5/messages/book_hotel.xml
(rev 0)
+++ trunk/samples/quickstart/BPEL-BluePrint5/messages/book_hotel.xml 2010-03-09 23:08:26
UTC (rev 552)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:res="http://ReservationSystem.org/xsd/reserve">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <res:reserve>
+ <res:reservationID>2001</res:reservationID>
+ <res:description>book_hotel</res:description>
+ </res:reserve>
+ </soapenv:Body>
+</soapenv:Envelope>