Author: objectiser
Date: 2010-03-17 06:58:06 -0400 (Wed, 17 Mar 2010)
New Revision: 573
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car_response.xml
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel_response.xml
Modified:
trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml
trunk/docs/docbook/userguide/src/main/module/deploy.xml
trunk/integration-tests/build.xml
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java
Log:
Fixed blueprint integration tests - were missing packaging step and most of the expected
response message files. Also updated docs to add info/warning about version number format
as per RIFTSAW-183.
Modified: trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml
===================================================================
--- trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml 2010-03-17
04:16:20 UTC (rev 572)
+++ trunk/docs/docbook/gettingstartedguide/src/main/module/examples.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -120,6 +120,14 @@
the server will generate an exception.
</para>
</note>
+
+ <warning>
+ <para>
+ Currently the version must be specified as a single integer value. Non-numeric
values, such
+ as versions expressed in a major.minor.incremental (maven style), will result in
an
+ exception when deployed to the server.
+ </para>
+ </warning>
</section>
<section>
Modified: trunk/docs/docbook/userguide/src/main/module/deploy.xml
===================================================================
--- trunk/docs/docbook/userguide/src/main/module/deploy.xml 2010-03-17 04:16:20 UTC (rev
572)
+++ trunk/docs/docbook/userguide/src/main/module/deploy.xml 2010-03-17 10:58:06 UTC (rev
573)
@@ -67,6 +67,15 @@
archive (jar) containing the BPEL process (and associated artifacts)
has a version number suffix. This would need to be manually incremented
for each distinct version of the BPEL process being deployed.
+
+ <warning>
+ <para>
+ Currently the version must be specified as a single integer value. Non-numeric
values, such
+ as versions expressed in a major.minor.incremental (maven style), will result
in an
+ exception when deployed to the server.
+ </para>
+ </warning>
+
</listitem>
<listitem>
The next step is to define the <emphasis>deploy</emphasis> target,
which
Modified: trunk/integration-tests/build.xml
===================================================================
--- trunk/integration-tests/build.xml 2010-03-17 04:16:20 UTC (rev 572)
+++ trunk/integration-tests/build.xml 2010-03-17 10:58:06 UTC (rev 573)
@@ -147,5 +147,11 @@
<ant antfile="src/test/resources/testcases/RiftSaw_163/build.xml" />
<ant antfile="src/test/resources/testcases/RiftSaw_70/build.xml" />
+ <ant antfile="src/test/resources/tutorials/BluePrint1/build.xml" />
+ <ant antfile="src/test/resources/tutorials/BluePrint2/build.xml" />
+ <ant antfile="src/test/resources/tutorials/BluePrint3/build.xml" />
+ <ant antfile="src/test/resources/tutorials/BluePrint4/build.xml" />
+ <ant antfile="src/test/resources/tutorials/BluePrint5/build.xml" />
+
</target>
</project>
Modified:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java
===================================================================
---
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java 2010-03-17
04:16:20 UTC (rev 572)
+++
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/tutorials/BluePrint5/BluePrint5TestCase.java 2010-03-17
10:58:06 UTC (rev 573)
@@ -57,7 +57,7 @@
}
public void testSendBookHotel() throws Exception {
- String result=sendSOAPMessage("book_hoyel.xml",
+ String result=sendSOAPMessage("book_hotel.xml",
"http://localhost:8080/BPEL_BluePrint5_ReservationService");
// If testing against cxf, then result is presented slightly differently
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/invalid_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faul...
xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp2'>val...
xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode
xmlns:tns='http://manufacturing.org/xsd/purchase'>404</tns:...
+ <tns:FaultMessage
xmlns:tns='http://manufacturing.org/xsd/purchase'>currently out of
stock</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/timeout_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faul...
xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp2'>val...
xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode
xmlns:tns='http://manufacturing.org/xsd/purchase'>408</tns:...
+ <tns:FaultMessage
xmlns:tns='http://manufacturing.org/xsd/purchase'>Time
out waiting for inventory Response</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint2/messages/valid_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,6 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:pur='http://manufacturing.org/xsd/purchase'>
+ <pur:orderId>2002</pur:orderId>
+ <pur:customerId>100656</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in
stock</pur:orderDescription>
+ <pur:price>49.98</pur:price>
+ </pur:purchaseOrder></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/invalid_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faul...
xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp3'>val...
xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode
xmlns:tns='http://manufacturing.org/xsd/purchase'>404</tns:...
+ <tns:FaultMessage
xmlns:tns='http://manufacturing.org/xsd/purchase'>currently out of
stock</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_inv_fault_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faul...
xmlns:valueNS='http://manufacturing.org/wsdl/inventory/bp3'>va...
xmlns='http://manufacturing.org/xsd/inventory'>
+ <tns:FaultCode
xmlns:tns='http://manufacturing.org/xsd/inventory'/>
+ <tns:FaultMessage
xmlns:tns='http://manufacturing.org/xsd/inventory'>Inventory Fault thrown for
PurchaseOrder ID 456 customer ID </tns:FaultMessage>
+</inventoryFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/throw_po_fault_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faul...
xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp3'>val...
xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode
xmlns:tns='http://manufacturing.org/xsd/purchase'>500</tns:...
+ <tns:FaultMessage
xmlns:tns='http://manufacturing.org/xsd/purchase'>throwing purchase order
fault</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint3/messages/valid_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,6 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:pur='http://manufacturing.org/xsd/purchase'>
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in
stock</pur:orderDescription>
+ <pur:price>49.98</pur:price>
+ </pur:purchaseOrder></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/invalid_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,4 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><faul...
xmlns:valueNS='http://manufacturing.org/wsdl/purchase/bp4'>val...
xmlns='http://manufacturing.org/xsd/purchase'>
+ <tns:FaultCode
xmlns:tns='http://manufacturing.org/xsd/purchase'/>
+ <tns:FaultMessage
xmlns:tns='http://manufacturing.org/xsd/purchase'>currently out of
stock</tns:FaultMessage>
+</purchaseOrderFault></detail></env:Fault></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint4/messages/valid_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,6 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns:pur='http://manufacturing.org/xsd/purchase'>
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in
stock</pur:orderDescription>
+ <pur:price>49.98</pur:price>
+ </pur:purchaseOrder></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_airline_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,5 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns='http://ReservationSystem.org/xsd/reserve'>
+ <tns:airlineStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</...
+ <tns:hotelStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false<...
+ <tns:carStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false<...
+</reservationStatusOfAll></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_all_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,5 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns='http://ReservationSystem.org/xsd/reserve'>
+ <tns:airlineStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</...
+ <tns:hotelStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</...
+ <tns:carStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</...
+</reservationStatusOfAll></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_car_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,5 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns='http://ReservationSystem.org/xsd/reserve'>
+ <tns:airlineStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false<...
+ <tns:hotelStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false<...
+ <tns:carStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</...
+</reservationStatusOfAll></env:Body></env:Envelope>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel_response.xml
===================================================================
---
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel_response.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/tutorials/BluePrint5/messages/book_hotel_response.xml 2010-03-17
10:58:06 UTC (rev 573)
@@ -0,0 +1,5 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns='http://ReservationSystem.org/xsd/reserve'>
+ <tns:airlineStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false<...
+ <tns:hotelStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>true</...
+ <tns:carStatus
xmlns:tns='http://ReservationSystem.org/xsd/reserve'>false<...
+</reservationStatusOfAll></env:Body></env:Envelope>
\ No newline at end of file