[jbosstools-commits] JBoss Tools SVN: r42662 - in trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test: messages/BluePrint1 and 21 other directories.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Fri Jul 20 06:48:47 EDT 2012
Author: apodhrad
Date: 2012-07-20 06:48:46 -0400 (Fri, 20 Jul 2012)
New Revision: 42662
Added:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_3.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_4xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_3.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_4.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_3.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_3.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_3.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_3.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld/HelloWorld_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld/HelloWorld_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode/Hello_World_Header_Ode_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode/Hello_World_Header_Ode_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL/Hello_World_Header_WSDL_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL/Hello_World_Header_WSDL_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_3.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_3.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math/Math_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math/Math_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Say_Hello/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Say_Hello/Say_Hello_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Say_Hello/Say_Hello_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Service_Handler/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Service_Handler/Service_Handler_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Service_Handler/Service_Handler_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Invoke/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Invoke/Simple_Invoke_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Invoke/Simple_Invoke_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/While_Wait/
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/While_Wait/While_Wait_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/While_Wait/While_Wait_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint1ExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint2ExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint3ExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint4ExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint5ExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/CorrelationExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/FaultCompensationExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldWsdlExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SalutationsExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SayHelloExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/ServiceHandlerExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SimpleInvokeExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SimplePickExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/WhileWaitExampleTest.java
Removed:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL_response.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_3.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_1.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_2.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_3.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math_request.xml
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math_response.xml
Modified:
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BPELExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldOdeExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/LoanApprovalExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/MathExampleTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELAllTest.java
trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/util/SendSoapMessage.java
Log:
Bpel bot tests: add tests for bpel examples
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_request_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>0</pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_request_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>321</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderInvalid: Attempt to purchase an out of stock item</pur:orderDescription>
+ <pur:price>0</pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_response_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <pur:purchaseOrder xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>49.97</pur:price>
+ </pur:purchaseOrder>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_response_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint1/BluePrint1_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,14 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <env:Fault>
+ <faultcode xmlns:valueNS="http://manufacturing.org/wsdl/purchase/bp1">valueNS:cannotCompleteOrder</faultcode>
+ <detail>
+ <purchaseOrderFault xmlns="http://manufacturing.org/xsd/purchase">
+ <tns:FaultCode xmlns:tns="http://manufacturing.org/xsd/purchase">404</tns:FaultCode>
+ <tns:FaultMessage xmlns:tns="http://manufacturing.org/xsd/purchase">currently out of stock</tns:FaultMessage>
+ </purchaseOrderFault>
+ </detail>
+ </env:Fault>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_request_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>2002</pur:orderId>
+ <pur:customerId>100656</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>0</pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_request_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>2001</pur:orderId>
+ <pur:customerId>100656</pur:customerId>
+ <pur:orderDescription>OrderInvalid: Attempt to purchase an out of stock item</pur:orderDescription>
+ <pur:price>0</pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_response_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <pur:purchaseOrder xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <pur:orderId>2002</pur:orderId>
+ <pur:customerId>100656</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>49.98</pur:price>
+ </pur:purchaseOrder>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_response_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint2/BluePrint2_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,14 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <env:Fault>
+ <faultcode xmlns:valueNS="http://manufacturing.org/wsdl/purchase/bp2">valueNS:cannotCompleteOrder</faultcode>
+ <detail>
+ <purchaseOrderFault xmlns="http://manufacturing.org/xsd/purchase">
+ <tns:FaultCode xmlns:tns="http://manufacturing.org/xsd/purchase">404</tns:FaultCode>
+ <tns:FaultMessage xmlns:tns="http://manufacturing.org/xsd/purchase">currently out of stock</tns:FaultMessage>
+ </purchaseOrderFault>
+ </detail>
+ </env:Fault>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderInvalid: Attempt to purchase an out of stock item</pur:orderDescription>
+ <pur:price>0</pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>321</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>ThrowPOServiceFault: Cause a POService fault</pur:orderDescription>
+ <pur:price>0</pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_3.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_3.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_3.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>0</pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_4xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_4xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_request_4xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>321</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>ThrowInventoryFault: Cause an Inventory Service fault</pur:orderDescription>
+ <pur:price>0</pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,14 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <env:Fault>
+ <faultcode xmlns:valueNS="http://manufacturing.org/wsdl/purchase/bp3">valueNS:cannotCompleteOrder</faultcode>
+ <detail>
+ <purchaseOrderFault xmlns="http://manufacturing.org/xsd/purchase">
+ <tns:FaultCode xmlns:tns="http://manufacturing.org/xsd/purchase">404</tns:FaultCode>
+ <tns:FaultMessage xmlns:tns="http://manufacturing.org/xsd/purchase">currently out of stock</tns:FaultMessage>
+ </purchaseOrderFault>
+ </detail>
+ </env:Fault>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,14 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <env:Fault>
+ <faultcode xmlns:valueNS="http://manufacturing.org/wsdl/purchase/bp3">valueNS:cannotCompleteOrder</faultcode>
+ <detail>
+ <purchaseOrderFault xmlns="http://manufacturing.org/xsd/purchase">
+ <tns:FaultCode xmlns:tns="http://manufacturing.org/xsd/purchase">500</tns:FaultCode>
+ <tns:FaultMessage xmlns:tns="http://manufacturing.org/xsd/purchase">throwing purchase order fault</tns:FaultMessage>
+ </purchaseOrderFault>
+ </detail>
+ </env:Fault>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_3.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_3.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_3.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <pur:purchaseOrder xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>49.98</pur:price>
+ </pur:purchaseOrder>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_4.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_4.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint3/BluePrint3_response_4.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,14 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <env:Fault>
+ <faultcode xmlns:valueNS="http://manufacturing.org/wsdl/inventory/bp3">valueNS:inventoryFaultType</faultcode>
+ <detail>
+ <inventoryFault xmlns="http://manufacturing.org/xsd/inventory">
+ <tns:FaultCode xmlns:tns="http://manufacturing.org/xsd/inventory"/>
+ <tns:FaultMessage xmlns:tns="http://manufacturing.org/xsd/inventory">Inventory Fault thrown for PurchaseOrder ID 456 customer ID</tns:FaultMessage>
+ </inventoryFault>
+ </detail>
+ </env:Fault>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_request_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>0</pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_request_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pur:purchaseOrder>
+ <pur:orderId>321</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderInvalid: Attempt to purchase an out of stock item</pur:orderDescription>
+ <pur:price>0</pur:price>
+ </pur:purchaseOrder>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_response_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <pur:purchaseOrder xmlns:pur="http://manufacturing.org/xsd/purchase">
+ <pur:orderId>123</pur:orderId>
+ <pur:customerId>456</pur:customerId>
+ <pur:orderDescription>OrderValid: Purchase an item that is in stock</pur:orderDescription>
+ <pur:price>49.98</pur:price>
+ </pur:purchaseOrder>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_response_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint4/BluePrint4_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,14 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <env:Fault>
+ <faultcode xmlns:valueNS="http://manufacturing.org/wsdl/purchase/bp4">valueNS:cannotCompleteOrder</faultcode>
+ <detail>
+ <purchaseOrderFault xmlns="http://manufacturing.org/xsd/purchase">
+ <tns:FaultCode xmlns:tns="http://manufacturing.org/xsd/purchase"/>
+ <tns:FaultMessage xmlns:tns="http://manufacturing.org/xsd/purchase">currently out of stock</tns:FaultMessage>
+ </purchaseOrderFault>
+ </detail>
+ </env:Fault>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,9 @@
+<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>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,9 @@
+<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>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_3.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_3.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_request_3.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,9 @@
+<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>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <reservationStatusOfAll xmlns="http://ReservationSystem.org/xsd/reserve">
+ <tns:airlineStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve">true</tns:airlineStatus>
+ <tns:hotelStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve">false</tns:hotelStatus>
+ <tns:carStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve">false</tns:carStatus>
+ </reservationStatusOfAll>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <reservationStatusOfAll xmlns="http://ReservationSystem.org/xsd/reserve">
+ <tns:airlineStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve">false</tns:airlineStatus>
+ <tns:hotelStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve">false</tns:hotelStatus>
+ <tns:carStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve">true</tns:carStatus>
+ </reservationStatusOfAll>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_3.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_3.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/BluePrint5/BluePrint5_response_3.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <reservationStatusOfAll xmlns="http://ReservationSystem.org/xsd/reserve">
+ <tns:airlineStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve">false</tns:airlineStatus>
+ <tns:hotelStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve">true</tns:hotelStatus>
+ <tns:carStatus xmlns:tns="http://ReservationSystem.org/xsd/reserve">false</tns:carStatus>
+ </reservationStatusOfAll>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exam="http://www.jboss.org/bpel/examples">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <exam:processRequest>
+ <payload>
+ <simulateException>false</simulateException>
+ <compensate>false</compensate>
+ </payload>
+ </exam:processRequest>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exam="http://www.jboss.org/bpel/examples">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <exam:processRequest>
+ <payload>
+ <simulateException>true</simulateException>
+ <compensate>false</compensate>
+ </payload>
+ </exam:processRequest>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_3.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_3.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_request_3.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exam="http://www.jboss.org/bpel/examples">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <exam:processRequest>
+ <payload>
+ <simulateException>true</simulateException>
+ <compensate>true</compensate>
+ </payload>
+ </exam:processRequest>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:processRequestResponse xmlns:odens="http://www.jboss.org/bpel/examples">
+ <result>Inner scope value</result>
+ </odens:processRequestResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <env:Fault>
+ <faultcode xmlns:valueNS="http://www.jboss.org/bpel/examples">valueNS:propagatedFault</faultcode>
+ </env:Fault>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_3.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_3.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Fault_Compensation/Fault_Compensation_response_3.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:processRequestResponse xmlns:odens="http://www.jboss.org/bpel/examples">
+ <result>Compensated value</result>
+ </odens:processRequestResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld/HelloWorld_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld/HelloWorld_request.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld/HelloWorld_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,9 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
+ xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
+ <soapenv:Header />
+ <soapenv:Body>
+ <wsdl:hello>
+ <TestPart>Test</TestPart>
+ </wsdl:hello>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld/HelloWorld_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld/HelloWorld_response.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld/HelloWorld_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:helloResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
+ <TestPart>Test World</TestPart>
+ </odens:helloResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld_request.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,9 +0,0 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
- <soapenv:Header />
- <soapenv:Body>
- <wsdl:hello>
- <TestPart>Test</TestPart>
- </wsdl:hello>
- </soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld_response.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/HelloWorld_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,8 +0,0 @@
-<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
- <env:Header/>
- <env:Body>
- <odens:helloResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
- <TestPart>Test World</TestPart>
- </odens:helloResponse>
- </env:Body>
-</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode/Hello_World_Header_Ode_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode/Hello_World_Header_Ode_request.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode/Hello_World_Header_Ode_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
+ <soapenv:Header>
+ <ns:conversationId xmlns:ns="http://www.jboss.org/cid">12345</ns:conversationId>
+ </soapenv:Header>
+ <soapenv:Body>
+ <wsdl:hello>
+ <TestPart>Test</TestPart>
+ </wsdl:hello>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode/Hello_World_Header_Ode_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode/Hello_World_Header_Ode_response.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode/Hello_World_Header_Ode_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header>
+ <ns:conversationId xmlns:ns="http://www.jboss.org/cid">12345</ns:conversationId>
+ </env:Header>
+ <env:Body>
+ <odens:helloResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
+ <TestPart>Test World conversationId=12345</TestPart>
+ </odens:helloResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode_request.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,10 +0,0 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
- <soapenv:Header>
- <ns:conversationId xmlns:ns="http://www.jboss.org/cid">12345</ns:conversationId>
- </soapenv:Header>
- <soapenv:Body>
- <wsdl:hello>
- <TestPart>Test</TestPart>
- </wsdl:hello>
- </soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode_response.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_Ode_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,10 +0,0 @@
-<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
- <env:Header>
- <ns:conversationId xmlns:ns="http://www.jboss.org/cid">12345</ns:conversationId>
- </env:Header>
- <env:Body>
- <odens:helloResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
- <TestPart>Test World conversationId=12345</TestPart>
- </odens:helloResponse>
- </env:Body>
-</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL/Hello_World_Header_WSDL_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL/Hello_World_Header_WSDL_request.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL/Hello_World_Header_WSDL_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cid="http://www.jboss.org/cid" xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
+ <soapenv:Header>
+ <cid:conversationId>666</cid:conversationId>
+ </soapenv:Header>
+ <soapenv:Body>
+ <wsdl:hello>
+ <TestPart>Test</TestPart>
+ </wsdl:hello>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL/Hello_World_Header_WSDL_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL/Hello_World_Header_WSDL_response.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL/Hello_World_Header_WSDL_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header>
+ <cid:conversationId xmlns:cid="http://www.jboss.org/cid">6666789</cid:conversationId>
+ </env:Header>
+ <env:Body>
+ <odens:helloResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
+ <TestPart>Test World conversationId=666</TestPart>
+ </odens:helloResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL_request.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,10 +0,0 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cid="http://www.jboss.org/cid" xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
- <soapenv:Header>
- <cid:conversationId>666</cid:conversationId>
- </soapenv:Header>
- <soapenv:Body>
- <wsdl:hello>
- <TestPart>Test</TestPart>
- </wsdl:hello>
- </soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL_response.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Hello_World_Header_WSDL_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,10 +0,0 @@
-<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
- <env:Header>
- <cid:conversationId xmlns:cid="http://www.jboss.org/cid">6666789</cid:conversationId>
- </env:Header>
- <env:Body>
- <odens:helloResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
- <TestPart>Test World conversationId=666</TestPart>
- </odens:helloResponse>
- </env:Body>
-</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://example.com/loan-approval/wsdl/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:request>
+ <firstName>Test</firstName>
+ <name>Name</name>
+ <amount>9000</amount>
+ </wsdl:request>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://example.com/loan-approval/wsdl/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:request>
+ <firstName>Test</firstName>
+ <name>Name</name>
+ <amount>10000</amount>
+ </wsdl:request>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_3.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_3.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_request_3.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://example.com/loan-approval/wsdl/">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:request>
+ <firstName>Test</firstName>
+ <name>Name</name>
+ <amount>20000</amount>
+ </wsdl:request>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:requestResponse xmlns:odens="http://example.com/loan-approval/wsdl/">
+ <accept>yes</accept>
+ </odens:requestResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:requestResponse xmlns:odens="http://example.com/loan-approval/wsdl/">
+ <accept>Evaluated and Approved</accept>
+ </odens:requestResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_3.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_3.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval/Loan_Approval_response_3.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <env:Fault>
+ <faultcode xmlns:valueNS="http://example.com/loan-approval/wsdl/">valueNS:unableToHandleRequest</faultcode>
+ <detail>
+ <ns1:integer xmlns:ns1="http://example.com/loan-approval/xsd/error-messages/">20000</ns1:integer>
+ </detail>
+ </env:Fault>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_1.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,10 +0,0 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://example.com/loan-approval/wsdl/">
- <soapenv:Header/>
- <soapenv:Body>
- <wsdl:request>
- <firstName>Test</firstName>
- <name>Name</name>
- <amount>9000</amount>
- </wsdl:request>
- </soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_2.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,10 +0,0 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://example.com/loan-approval/wsdl/">
- <soapenv:Header/>
- <soapenv:Body>
- <wsdl:request>
- <firstName>Test</firstName>
- <name>Name</name>
- <amount>10000</amount>
- </wsdl:request>
- </soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_3.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_3.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_request_3.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,10 +0,0 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://example.com/loan-approval/wsdl/">
- <soapenv:Header/>
- <soapenv:Body>
- <wsdl:request>
- <firstName>Test</firstName>
- <name>Name</name>
- <amount>20000</amount>
- </wsdl:request>
- </soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_1.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,8 +0,0 @@
-<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
- <env:Header/>
- <env:Body>
- <odens:requestResponse xmlns:odens="http://example.com/loan-approval/wsdl/">
- <accept>yes</accept>
- </odens:requestResponse>
- </env:Body>
-</env:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_2.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,8 +0,0 @@
-<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
- <env:Header/>
- <env:Body>
- <odens:requestResponse xmlns:odens="http://example.com/loan-approval/wsdl/">
- <accept>Evaluated and Approved</accept>
- </odens:requestResponse>
- </env:Body>
-</env:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_3.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_3.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Loan_Approval_response_3.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,11 +0,0 @@
-<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
- <env:Header/>
- <env:Body>
- <env:Fault>
- <faultcode xmlns:valueNS="http://example.com/loan-approval/wsdl/">valueNS:unableToHandleRequest</faultcode>
- <detail>
- <ns1:integer xmlns:ns1="http://example.com/loan-approval/xsd/error-messages/">20000</ns1:integer>
- </detail>
- </env:Fault>
- </env:Body>
-</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math/Math_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math/Math_request.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math/Math_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exam="http://www.jboss.org/bpel/examples">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <exam:MathRequest>
+ <exam:a>13</exam:a>
+ <exam:b>2</exam:b>
+ <exam:operator>/</exam:operator>
+ </exam:MathRequest>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math/Math_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math/Math_response.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math/Math_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <MathResponse xmlns="http://www.jboss.org/bpel/examples">
+ <tns:result xmlns:tns="http://www.jboss.org/bpel/examples">6.5</tns:result>
+ </MathResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math_request.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,10 +0,0 @@
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exam="http://www.jboss.org/bpel/examples">
- <soapenv:Header/>
- <soapenv:Body>
- <exam:MathRequest>
- <exam:a>13</exam:a>
- <exam:b>2</exam:b>
- <exam:operator>/</exam:operator>
- </exam:MathRequest>
- </soapenv:Body>
-</soapenv:Envelope>
\ No newline at end of file
Deleted: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math_response.xml 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Math_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,8 +0,0 @@
-<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
- <env:Header/>
- <env:Body>
- <MathResponse xmlns="http://www.jboss.org/bpel/examples">
- <tns:result xmlns:tns="http://www.jboss.org/bpel/examples">6.5</tns:result>
- </MathResponse>
- </env:Body>
-</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_request_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exam="http://www.jboss.org/bpel/examples">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <exam:SalutationsRequest>
+ <exam:name>Test</exam:name>
+ <exam:hours>4</exam:hours>
+ <exam:minutes>0</exam:minutes>
+ </exam:SalutationsRequest>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_request_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,10 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exam="http://www.jboss.org/bpel/examples">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <exam:SalutationsRequest>
+ <exam:name>Test</exam:name>
+ <exam:hours>12</exam:hours>
+ <exam:minutes>0</exam:minutes>
+ </exam:SalutationsRequest>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_response_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <SalutationsResponse xmlns="http://www.jboss.org/bpel/examples">
+ <tns:result xmlns:tns="http://www.jboss.org/bpel/examples">Good Morning, Test</tns:result>
+ </SalutationsResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_response_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Salutations/Salutations_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <SalutationsResponse xmlns="http://www.jboss.org/bpel/examples">
+ <tns:result xmlns:tns="http://www.jboss.org/bpel/examples">Good Afternoon, Test</tns:result>
+ </SalutationsResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Say_Hello/Say_Hello_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Say_Hello/Say_Hello_request.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Say_Hello/Say_Hello_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exam="http://www.jboss.org/bpel/examples">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <exam:SayHelloRequest>
+ <exam:input>test</exam:input>
+ </exam:SayHelloRequest>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Say_Hello/Say_Hello_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Say_Hello/Say_Hello_response.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Say_Hello/Say_Hello_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <SayHelloResponse xmlns="http://www.jboss.org/bpel/examples">
+ <tns:result xmlns:tns="http://www.jboss.org/bpel/examples">Hello test</tns:result>
+ </SayHelloResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Service_Handler/Service_Handler_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Service_Handler/Service_Handler_request.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Service_Handler/Service_Handler_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -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:hello>
+ <TestPart>Hello</TestPart>
+ </wsdl:hello>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Service_Handler/Service_Handler_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Service_Handler/Service_Handler_response.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Service_Handler/Service_Handler_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:helloResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
+ <TestPart>Hello World</TestPart>
+ </odens:helloResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_request_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:hello>
+ <ID>
+ <id>999</id>
+ </ID>
+ <Message>hi</Message>
+ </wsdl:hello>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_request_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:hello>
+ <ID>
+ <id>999</id>
+ </ID>
+ <Message>hi</Message>
+ </wsdl:hello>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_response_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:helloResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
+ <ID>
+ <id>999</id>
+ </ID>
+ <Message>hi World</Message>
+ </odens:helloResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_response_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Correlation/Simple_Correlation_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:helloResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
+ <ID>
+ <id>999</id>
+ </ID>
+ <Message>hi World</Message>
+ </odens:helloResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Invoke/Simple_Invoke_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Invoke/Simple_Invoke_request.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Invoke/Simple_Invoke_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -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>Andrej</ToWhom>
+ </wsdl:sayHelloTo>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Invoke/Simple_Invoke_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Invoke/Simple_Invoke_response.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Invoke/Simple_Invoke_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:sayHelloToResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
+ <ToWhom>Hello Andrej. Sincerely, JBossWS and BPEL</ToWhom>
+ </odens:sayHelloToResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_request_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_request_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_request_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:hello>
+ <ID>
+ <id>1</id>
+ </ID>
+ <Message>Hi</Message>
+ </wsdl:hello>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_request_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_request_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_request_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://www.jboss.org/bpel/examples/wsdl">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <wsdl:goodbye>
+ <ID>
+ <id>1</id>
+ </ID>
+ <Message>Bye</Message>
+ </wsdl:goodbye>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_response_1.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_response_1.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_response_1.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:helloResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
+ <ID>
+ <id>1</id>
+ </ID>
+ <Message>Hi World</Message>
+ </odens:helloResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_response_2.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_response_2.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/Simple_Pick/Simple_Pick_response_2.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,11 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:goodbyeResponse xmlns:odens="http://www.jboss.org/bpel/examples/wsdl">
+ <ID>
+ <id>1</id>
+ </ID>
+ <Message>Bye World</Message>
+ </odens:goodbyeResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/While_Wait/While_Wait_request.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/While_Wait/While_Wait_request.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/While_Wait/While_Wait_request.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:exam="http://www.jboss.org/bpel/examples">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <exam:fibonacci>
+ <n>5</n>
+ </exam:fibonacci>
+ </soapenv:Body>
+</soapenv:Envelope>
\ No newline at end of file
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/While_Wait/While_Wait_response.xml
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/While_Wait/While_Wait_response.xml (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/messages/While_Wait/While_Wait_response.xml 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,8 @@
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
+ <env:Header/>
+ <env:Body>
+ <odens:fibonacciResponse xmlns:odens="http://www.jboss.org/bpel/examples">
+ <response>1: 1: 2: 3: 5</response>
+ </odens:fibonacciResponse>
+ </env:Body>
+</env:Envelope>
\ No newline at end of file
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/OdeDeployTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -100,7 +100,7 @@
@Test
public void requestResponseTest() throws Exception {
// Test the process
- String response = SendSoapMessage.sendMessage(ENDPOINT, MESSAGE, "simple");
+ String response = SendSoapMessage.sendMessage(ENDPOINT, MESSAGE);
XMLUnit.setIgnoreWhitespace(true);
Diff diff = new Diff(response, EXPECTED_RESPONSE);
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/ToolingCompatibilityTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -73,7 +73,7 @@
public void requestResponseTest() throws Exception {
// Test the process
- String response = SendSoapMessage.sendMessage(ENDPOINT, MESSAGE, "simple");
+ String response = SendSoapMessage.sendMessage(ENDPOINT, MESSAGE);
Assert.assertTrue(response != null);
@@ -150,7 +150,7 @@
public void requestResponseEditedTest() throws Exception {
// Test the process
- String response = SendSoapMessage.sendMessage(ENDPOINT, MESSAGE, "simple");
+ String response = SendSoapMessage.sendMessage(ENDPOINT, MESSAGE);
Assert.assertTrue(response != null);
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BPELExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BPELExampleTest.java 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BPELExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,9 +1,14 @@
package org.jboss.tools.bpel.ui.bot.test.examples;
import java.io.BufferedReader;
+import java.io.File;
import java.io.FileReader;
import java.io.IOException;
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.soap.SOAPException;
+
import org.custommonkey.xmlunit.Diff;
import org.custommonkey.xmlunit.XMLUnit;
import org.eclipse.swtbot.swt.finder.SWTBot;
@@ -28,6 +33,8 @@
*/
public class BPELExampleTest extends ExampleTest {
+ public static final String MESSAGE_DIR = "messages";
+
@Override
public String getExampleCategory() {
return "BPEL";
@@ -48,7 +55,7 @@
try {
String requestMessage = getMessageFromFile(requestFile);
String responseMessage = getMessageFromFile(responseFile);
- String response = SendSoapMessage.sendMessage(url, requestMessage, "simple");
+ String response = SendSoapMessage.sendMessage(url, requestMessage);
Diff diff = new Diff(response, responseMessage);
assertTrue("Expected response is\n" + responseMessage + "\nbut it was\n" + response,
diff.similar());
@@ -60,18 +67,54 @@
e.printStackTrace();
throw new AssertionFailedException(getExampleName()
+ ": SAXException during testing response.");
+ } catch (SOAPException e) {
+ e.printStackTrace();
+ throw new AssertionFailedException(getExampleName()
+ + ": SOAPException during testing response.");
}
}
+ protected void testResponses(String url, String dir) {
+ try {
+ List<String> requests = getRequestMessages(dir);
+ for(String request: requests) {
+ request = dir + "/" + request;
+ String response = request.replace("request", "response");
+ testResponse(url, request, response);
+ }
+ } catch (IOException e) {
+ e.printStackTrace();
+ throw new AssertionFailedException(getExampleName()
+ + ": IOException during testing response.");
+ }
+ }
+
+ private static List<String> getRequestMessages(String dir) throws IOException {
+ List<String> messages = new ArrayList<String>();
+ File messages_dir = new File(ResourceHelper.getPath(BPELTest.BUNDLE, MESSAGE_DIR + "/"
+ + dir));
+ String[] file = messages_dir.list();
+ for (int i = 0; i < file.length; i++) {
+ if (file[i].endsWith(".xml") && file[i].contains("request")) {
+ messages.add(file[i]);
+ }
+ }
+ return messages;
+ }
+
private static String getMessageFromFile(String fileName) throws IOException {
- String path = "messages/" + fileName;
+ return getMessageFromFile(fileName, MESSAGE_DIR);
+ }
+
+ private static String getMessageFromFile(String fileName, String dir) throws IOException {
+ String path = dir + "/" + fileName;
String message = readFile(ResourceHelper.getPath(BPELTest.BUNDLE, path));
assertNotNull("Couldn't get message from " + path, message);
return message;
}
private static String readFile(String file) throws IOException {
- if(file == null) {
+ if (file == null) {
throw new NullPointerException("Couldn't read from null");
}
BufferedReader reader = new BufferedReader(new FileReader(file));
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint1ExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint1ExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint1ExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class BluePrint1ExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "BluePrint1";
+ private static final String WSDL_URL = "http://localhost:8080/BPEL_BluePrint1_PurchaseOrderService?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Synchronous Web Service Interactions BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint2ExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint2ExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint2ExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class BluePrint2ExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "BluePrint2";
+ private static final String WSDL_URL = "http://localhost:8080/BPEL_BluePrint2_PurchaseOrderService?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Asynchronous Web Service Interactions BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint3ExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint3ExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint3ExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class BluePrint3ExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "BluePrint3";
+ private static final String WSDL_URL = "http://localhost:8080/BPEL_BluePrint3_PurchaseOrderService?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Fault Handling BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint4ExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint4ExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint4ExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class BluePrint4ExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "BluePrint4";
+ private static final String WSDL_URL = "http://localhost:8080/BPEL_BluePrint4_PurchaseOrderService?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Message-Based Coordination of Events BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint5ExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint5ExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/BluePrint5ExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class BluePrint5ExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "BluePrint5";
+ private static final String WSDL_URL = "http://localhost:8080/BPEL_BluePrint5_ReservationService?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Concurrent Asynchronous Coordination Events BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/CorrelationExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/CorrelationExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/CorrelationExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class CorrelationExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "Simple_Correlation";
+ private static final String WSDL_URL = "http://localhost:8080/Quickstart_bpel_simple_correlationWS?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A correlation BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/FaultCompensationExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/FaultCompensationExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/FaultCompensationExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class FaultCompensationExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "Fault_Compensation";
+ private static final String WSDL_URL = "http://localhost:8080/Quickstart_bpel_fault_compensationWS?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Fault Compensation BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldExampleTest.java 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -15,6 +15,7 @@
public class HelloWorldExampleTest extends BPELExampleTest {
private static final String PROJECT_NAME = "HelloWorld";
+ private static final String WSDL_URL = "http://localhost:8080/bpel/processes/helloWorld?wsdl";
@Override
public String[] getProjectNames() {
@@ -31,10 +32,7 @@
deployExamples(PROJECT_NAME);
assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
- String url = "http://localhost:8080/bpel/processes/helloWorld";
- String requestFile = "HelloWorld_request.xml";
- String responseFile = "HelloWorld_response.xml";
- testResponse(url, requestFile, responseFile);
+ testResponses(WSDL_URL, PROJECT_NAME);
servers.removeAllProjectsFromServer();
}
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldOdeExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldOdeExampleTest.java 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldOdeExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,5 +1,6 @@
package org.jboss.tools.bpel.ui.bot.test.examples;
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
@@ -14,6 +15,7 @@
public class HelloWorldOdeExampleTest extends BPELExampleTest {
private static final String PROJECT_NAME = "Hello_World_Header_Ode";
+ private static final String WSDL_URL = "http://localhost:8080/Quickstart_bpel_hello_world_header_odeWS?wsdl";
@Override
public String[] getProjectNames() {
@@ -28,12 +30,9 @@
@Override
protected void executeExample() {
deployExamples(PROJECT_NAME);
- testDeployment(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
- String url = "http://localhost:8080/Quickstart_bpel_hello_world_header_odeWS";
- String requestFile = "Hello_World_Header_Ode_request.xml";
- String responseFile = "Hello_World_Header_Ode_response.xml";
- testResponse(url, requestFile, responseFile);
+ testResponses(WSDL_URL, PROJECT_NAME);
servers.removeAllProjectsFromServer();
}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldWsdlExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldWsdlExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/HelloWorldWsdlExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,39 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class HelloWorldWsdlExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "Hello_World_Header_WSDL";
+ private static final String WSDL_URL = "http://localhost:8080/Quickstart_bpel_hello_world_header_wsdlWS?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Hello World Header WSDL BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+}
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/LoanApprovalExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/LoanApprovalExampleTest.java 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/LoanApprovalExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -16,6 +16,7 @@
private static final String PROJECT_NAME = "Loan_Approval";
private static final String PROJECT_NAME_WS = "Loan_Approval_WS";
+ private static final String WSDL_URL = "http://localhost:8080/Quickstart_bpel_loan_approvalWS?wsdl";
@Override
public String[] getProjectNames() {
@@ -39,17 +40,7 @@
deployExamples(PROJECT_NAME);
assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
- String url = "http://localhost:8080/Quickstart_bpel_loan_approvalWS?wsdl";
- String requestFile = "Loan_Approval_request_1.xml";
- String responseFile = "Loan_Approval_response_1.xml";
- testResponse(url, requestFile, responseFile);
- requestFile = "Loan_Approval_request_2.xml";
- responseFile = "Loan_Approval_response_2.xml";
- testResponse(url, requestFile, responseFile);
- requestFile = "Loan_Approval_request_3.xml";
- responseFile = "Loan_Approval_response_3.xml";
- // get http response 500, why?
- // testResponse(url, requestFile, responseFile);
+ testResponses(WSDL_URL, PROJECT_NAME);
servers.removeAllProjectsFromServer();
}
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/MathExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/MathExampleTest.java 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/MathExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -15,6 +15,7 @@
public class MathExampleTest extends BPELExampleTest {
private static final String PROJECT_NAME = "Math";
+ private static final String WSDL_URL = "http://localhost:8080/MathProcess?wsdl";
@Override
public String[] getProjectNames() {
@@ -31,12 +32,10 @@
deployExamples(PROJECT_NAME);
assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
- String url = "http://localhost:8080/MathProcess?wsdl";
- String requestFile = "Math_request.xml";
- String responseFile = "Math_response.xml";
- testResponse(url, requestFile, responseFile);
+ testResponses(WSDL_URL, PROJECT_NAME);
servers.removeAllProjectsFromServer();
+ servers.removeAllProjectsFromServer();
}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SalutationsExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SalutationsExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SalutationsExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class SalutationsExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "Salutations";
+ private static final String WSDL_URL = "http://localhost:8080/SalutationsProcess?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Salutations BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SayHelloExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SayHelloExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SayHelloExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class SayHelloExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "Say_Hello";
+ private static final String WSDL_URL = "http://localhost:8080/SayHelloProcess?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Say Hello BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/ServiceHandlerExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/ServiceHandlerExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/ServiceHandlerExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class ServiceHandlerExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "Service_Handler";
+ private static final String WSDL_URL = "http://localhost:8080/Quickstart_bpel_service_handlerWS?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Service Handler BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SimpleInvokeExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SimpleInvokeExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SimpleInvokeExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,61 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class SimpleInvokeExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "Simple_Invoke";
+ private static final String PROJECT_NAME_WS = "Simple_Invoke_WS";
+ private static final String WSDL_URL = "http://localhost:8080/Quickstart_bpel_simple_invokeWS?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME_WS };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Web Service project called by Simple Invoke BPEL example";
+ }
+
+ @Override
+ protected void postImport() {
+ new SimpleInvokeExample().exampleTest();
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME_WS);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME_WS));
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+ private class SimpleInvokeExample extends BPELExampleTest {
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Simple Invoke BPEL example";
+ }
+ }
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SimplePickExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SimplePickExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/SimplePickExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,41 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class SimplePickExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "Simple_Pick";
+ private static final String WSDL_URL = "http://localhost:8080/Quickstart_bpel_simple_pickWS?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Simple Pick BPEL example";
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+
+}
Added: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/WhileWaitExampleTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/WhileWaitExampleTest.java (rev 0)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/examples/WhileWaitExampleTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -0,0 +1,60 @@
+package org.jboss.tools.bpel.ui.bot.test.examples;
+
+import org.jboss.tools.bpel.ui.bot.test.BPELTest;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Require;
+import org.jboss.tools.ui.bot.ext.config.Annotations.Server;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerState;
+import org.jboss.tools.ui.bot.ext.config.Annotations.ServerType;
+
+/**
+ *
+ * @author apodhrad
+ *
+ */
+ at Require(server = @Server(type = ServerType.ALL, state = ServerState.Running), perspective = "BPEL")
+public class WhileWaitExampleTest extends BPELExampleTest {
+
+ private static final String PROJECT_NAME = "While_Wait";
+ private static final String PROJECT_NAME_WS = "While_Wait_WS";
+ private static final String WSDL_URL = "http://localhost:8080/Quickstart_bpel_while_waitWS?wsdl";
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME_WS };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A Web Service project called by While_Wait example";
+ }
+
+ @Override
+ protected void postImport() {
+ new WhileWaitExample().exampleTest();
+ }
+
+ @Override
+ protected void executeExample() {
+ deployExamples(PROJECT_NAME_WS);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME_WS));
+ deployExamples(PROJECT_NAME);
+ assertTrue(BPELTest.isProjectDeployed(PROJECT_NAME));
+
+ testResponses(WSDL_URL, PROJECT_NAME);
+
+ servers.removeAllProjectsFromServer();
+ }
+
+ private class WhileWaitExample extends BPELExampleTest {
+
+ @Override
+ public String[] getProjectNames() {
+ return new String[] { PROJECT_NAME };
+ }
+
+ @Override
+ public String getExampleName() {
+ return "A While Wait BPEL example";
+ }
+ }
+}
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELAllTest.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELAllTest.java 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/ui/bot/test/suite/BPELAllTest.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -11,10 +11,24 @@
import org.jboss.tools.bpel.ui.bot.test.SimpleModelingTest;
import org.jboss.tools.bpel.ui.bot.test.ToolingCompatibilityTest;
import org.jboss.tools.bpel.ui.bot.test.WizardTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.BluePrint1ExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.BluePrint2ExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.BluePrint3ExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.BluePrint4ExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.BluePrint5ExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.CorrelationExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.FaultCompensationExampleTest;
import org.jboss.tools.bpel.ui.bot.test.examples.HelloWorldExampleTest;
import org.jboss.tools.bpel.ui.bot.test.examples.HelloWorldOdeExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.HelloWorldWsdlExampleTest;
import org.jboss.tools.bpel.ui.bot.test.examples.LoanApprovalExampleTest;
import org.jboss.tools.bpel.ui.bot.test.examples.MathExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.SalutationsExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.SayHelloExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.ServiceHandlerExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.SimpleInvokeExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.SimplePickExampleTest;
+import org.jboss.tools.bpel.ui.bot.test.examples.WhileWaitExampleTest;
import org.jboss.tools.ui.bot.ext.RequirementAwareSuite;
import org.junit.AfterClass;
import org.junit.BeforeClass;
@@ -22,20 +36,33 @@
import org.junit.runners.Suite.SuiteClasses;
@SuiteClasses({
- OdeDeployTest.class,
- WizardTest.class,
- ActivityModelingTest.class,
- AssignActivityTest.class,
- SimpleModelingTest.class,
- FaultModelingTest.class,
- ToolingCompatibilityTest.class,
- AssociateRuntimeTest.class,
- HelloWorldExampleTest.class,
- HelloWorldOdeExampleTest.class,
- LoanApprovalExampleTest.class,
- MathExampleTest.class
- })
-
+ OdeDeployTest.class,
+ WizardTest.class,
+ ActivityModelingTest.class,
+ AssignActivityTest.class,
+ SimpleModelingTest.class,
+ FaultModelingTest.class,
+ ToolingCompatibilityTest.class,
+ AssociateRuntimeTest.class,
+ HelloWorldExampleTest.class,
+ HelloWorldOdeExampleTest.class,
+ HelloWorldWsdlExampleTest.class,
+ LoanApprovalExampleTest.class,
+ MathExampleTest.class,
+ SalutationsExampleTest.class,
+ SayHelloExampleTest.class,
+ ServiceHandlerExampleTest.class,
+ CorrelationExampleTest.class,
+ SimpleInvokeExampleTest.class,
+ SimplePickExampleTest.class,
+ BluePrint1ExampleTest.class,
+ BluePrint2ExampleTest.class,
+ BluePrint3ExampleTest.class,
+ BluePrint4ExampleTest.class,
+ BluePrint5ExampleTest.class,
+ FaultCompensationExampleTest.class,
+ WhileWaitExampleTest.class
+ })
@RunWith(RequirementAwareSuite.class)
public class BPELAllTest extends TestSuite {
Modified: trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/util/SendSoapMessage.java
===================================================================
--- trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/util/SendSoapMessage.java 2012-07-19 23:49:16 UTC (rev 42661)
+++ trunk/bpel/tests/org.jboss.tools.bpel.ui.bot.test/src/org/jboss/tools/bpel/util/SendSoapMessage.java 2012-07-20 10:48:46 UTC (rev 42662)
@@ -1,19 +1,20 @@
package org.jboss.tools.bpel.util;
-import java.io.BufferedReader;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.PrintWriter;
-import java.io.Reader;
-import java.io.StringWriter;
-import java.io.Writer;
-import java.net.HttpURLConnection;
import java.net.URL;
+import javax.xml.soap.MessageFactory;
+import javax.xml.soap.SOAPConnection;
+import javax.xml.soap.SOAPConnectionFactory;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPMessage;
+
/**
* Temporary class.
*
- * @author mbaluch
+ * @author mbaluch, apodhrad
*
*/
public class SendSoapMessage {
@@ -22,43 +23,22 @@
*
* @param url URL string
* @param message SOAP message
- * @param soapAction SOAP action name. This may be {@code null}. For more info see
- * {@link http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#Toc478383528}
*
* @return response
* @throws IOException in case of an I/O error;
+ * @throws SOAPException in case of a SOAP error
*/
- public static String sendMessage(String url, String message, String soapAction) throws IOException {
- // setup connection
+ public static String sendMessage(String url, String message) throws SOAPException, IOException {
URL endpoint = new URL(url);
- HttpURLConnection httpConnection = (HttpURLConnection) endpoint.openConnection();
- httpConnection.setDoInput(true);
- httpConnection.setDoOutput(true);
- httpConnection.setUseCaches(false);
- httpConnection.setRequestMethod("POST");
- httpConnection.setRequestProperty("Content-Type", "text/xml");
- httpConnection.setRequestProperty("SOAPAction", soapAction);
- httpConnection.connect();
- // send the SOAP message
- PrintWriter pw = new PrintWriter(httpConnection.getOutputStream());
- pw.write(message);
- pw.flush();
- pw.close();
+ MessageFactory factory = MessageFactory.newInstance();
+ SOAPMessage soapRequest = factory.createMessage(null, new ByteArrayInputStream(message.getBytes()));
+ SOAPConnection connection = SOAPConnectionFactory.newInstance().createConnection();
+ SOAPMessage soapResponse = connection.call(soapRequest, endpoint);
- // get the response
- Writer w = new StringWriter();
- Reader r = new BufferedReader(new InputStreamReader(
- httpConnection.getInputStream()));
-
- char[] b = new char[4096];
- int size;
- while ((size = r.read(b)) != -1) {
- w.write(b, 0, size);
- }
-
- // return responses
- return w.toString();
+ ByteArrayOutputStream out = new ByteArrayOutputStream();
+ soapResponse.writeTo(out);
+ return out.toString();
}
}
More information about the jbosstools-commits
mailing list