Author: objectiser
Date: 2009-10-19 09:52:33 -0400 (Mon, 19 Oct 2009)
New Revision: 189
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleInvokeTestCase.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/bpel-deploy.xml
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/loanServicePT.wsdl
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/loan_approval.bpel
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/build.xml
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq1.xml
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp1.xml
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/classes/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/lib/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/web.xml
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/wsdl/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/wsdl/loanServicePT.wsdl
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/ErrorMessage.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPT.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanServicePT.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/RiskAssessmentPT.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/RiskAssessmentPTImpl.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/xsd/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/xsd/error_messages/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/xsd/error_messages/ObjectFactory.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/view/
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/view/index.jsp
Removed:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELHelloWorldTestCase.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELSimpleCorrelationTestCase.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELSimpleInvokeTestCase.java
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java
Modified:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/build.xml
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_simple_invoke/build.xml
Log:
Refactored testcase package, and added loan_approval sample to integration tests.
Modified: branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/build.xml
===================================================================
--- branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/build.xml 2009-10-19
10:42:17 UTC (rev 188)
+++ branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/build.xml 2009-10-19
13:52:33 UTC (rev 189)
@@ -88,5 +88,6 @@
<ant
antfile="src/test/resources/samples/Quickstart_bpel_hello_world/build.xml"
/>
<ant
antfile="src/test/resources/samples/Quickstart_bpel_simple_correlation/build.xml"
/>
<ant
antfile="src/test/resources/samples/Quickstart_bpel_simple_invoke/build.xml"
/>
+ <ant
antfile="src/test/resources/samples/Quickstart_bpel_loan_approval/build.xml"
/>
</target>
</project>
Deleted:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELHelloWorldTestCase.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELHelloWorldTestCase.java 2009-10-19
10:42:17 UTC (rev 188)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELHelloWorldTestCase.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.soa.bpel.tests.hello_world;
-
-import org.jboss.soa.bpel.tests.RiftSawTest;
-import org.jboss.soa.bpel.tests.RiftSawTestSetup;
-
-import junit.framework.Test;
-
-/**
- * Test case for running the Quickstart_bpel_hello_world sample.
- */
-public class QuickstartBPELHelloWorldTestCase extends RiftSawTest {
-
- private static final String TEST_NAME = "Quickstart_bpel_hello_world";
-
- public QuickstartBPELHelloWorldTestCase() {
- super(TEST_NAME);
- }
-
- public static Test suite() {
- return(new RiftSawTestSetup(QuickstartBPELHelloWorldTestCase.class,
- TEST_NAME, "Quickstart_bpel_hello_world-1.jar"));
- }
-
- public void testSendHello() throws Exception {
- String result=sendMessage("hello_request1.xml",
- "http://localhost:8080/bpel/processes/helloWorld");
-
- assertMessage(result, "hello_response1.xml");
- }
-}
Deleted:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELSimpleCorrelationTestCase.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELSimpleCorrelationTestCase.java 2009-10-19
10:42:17 UTC (rev 188)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELSimpleCorrelationTestCase.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -1,56 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.soa.bpel.tests.hello_world;
-
-import org.jboss.soa.bpel.tests.RiftSawTest;
-import org.jboss.soa.bpel.tests.RiftSawTestSetup;
-
-import junit.framework.Test;
-
-/**
- * Test case for running the Quickstart_bpel_simple_correlation sample.
- */
-public class QuickstartBPELSimpleCorrelationTestCase extends RiftSawTest {
-
- private static final String TEST_NAME = "Quickstart_bpel_simple_correlation";
-
- public QuickstartBPELSimpleCorrelationTestCase() {
- super(TEST_NAME);
- }
-
- public static Test suite() {
- return(new RiftSawTestSetup(QuickstartBPELSimpleCorrelationTestCase.class,
- TEST_NAME, "Quickstart_bpel_simple_correlation-1.jar"));
- }
-
- public void testSendHello() throws Exception {
- String result1=sendMessage("hello_request1.xml",
- "http://localhost:8080/bpel/processes/helloGoodbyeWorld");
-
- assertMessage(result1, "hello_response1.xml");
-
- String result2=sendMessage("goodbye_request1.xml",
- "http://localhost:8080/bpel/processes/helloGoodbyeWorld");
-
- assertMessage(result2, "goodbye_response1.xml");
- }
-}
Deleted:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELSimpleInvokeTestCase.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELSimpleInvokeTestCase.java 2009-10-19
10:42:17 UTC (rev 188)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELSimpleInvokeTestCase.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.soa.bpel.tests.hello_world;
-
-import org.jboss.soa.bpel.tests.RiftSawTest;
-import org.jboss.soa.bpel.tests.RiftSawTestSetup;
-
-import junit.framework.Test;
-
-/**
- * Test case for running the Quickstart_bpel_hello_world sample.
- */
-public class QuickstartBPELSimpleInvokeTestCase extends RiftSawTest {
-
- private static final String TEST_NAME = "Quickstart_bpel_simple_invoke";
-
- public QuickstartBPELSimpleInvokeTestCase() {
- super(TEST_NAME);
- }
-
- public static Test suite() {
- return(new RiftSawTestSetup(QuickstartBPELSimpleInvokeTestCase.class,
- TEST_NAME,
"Quickstart_bpel_simple_invoke-1.jar,Quickstart_bpel_simple_invoke.war"));
- }
-
- public void testSendHello() throws Exception {
- String result=sendMessage("hello_request1.xml",
- "http://localhost:8080/bpel/processes/simpleInvoke");
-
- assertMessage(result, "hello_response1.xml");
- }
-}
Copied:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples
(from rev 182,
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world)
Deleted:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELHelloWorldTestCase.java 2009-10-18
12:07:23 UTC (rev 182)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -1,55 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags. See the copyright.txt file in the
- * distribution for a full listing of individual contributors.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
- */
-package org.jboss.soa.bpel.tests.hello_world;
-
-import org.jboss.soa.bpel.tests.RiftSawTest;
-import org.jboss.soa.bpel.tests.RiftSawTestSetup;
-
-import junit.framework.Test;
-
-/**
- * Test case for running the Quickstart_bpel_hello_world sample.
- */
-public class QuickstartBPELHelloWorldTestCase extends RiftSawTest {
-
- private static final String TEST_NAME = "Quickstart_bpel_hello_world";
-
- public QuickstartBPELHelloWorldTestCase() {
- super(TEST_NAME);
- }
-
- public static Test suite() {
- return(new RiftSawTestSetup(QuickstartBPELHelloWorldTestCase.class,
- TEST_NAME, "Quickstart_bpel_hello_world-1.jar"));
- }
-
- public void testSendHello() throws Exception {
- System.out.println("TEST SEND HELLO");
-
- String result=sendMessage("hello_request1.xml",
- "http://localhost:8080/bpel/processes/helloWorld");
-
- assertMessage(result, "hello_response1.xml");
-
- System.out.println("FINISHED TEST SEND HELLO="+result);
- }
-}
Copied:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java
(from rev 186,
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELHelloWorldTestCase.java)
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELHelloWorldTestCase.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.samples;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the Quickstart_bpel_hello_world sample.
+ */
+public class QuickstartBPELHelloWorldTestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "Quickstart_bpel_hello_world";
+
+ public QuickstartBPELHelloWorldTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartBPELHelloWorldTestCase.class,
+ TEST_NAME, "Quickstart_bpel_hello_world-1.jar"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendMessage("hello_request1.xml",
+ "http://localhost:8080/bpel/processes/helloWorld");
+
+ assertMessage(result, "hello_response1.xml");
+ }
+}
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELLoanApprovalTestCase.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.samples;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the Quickstart_bpel_loan_approval sample.
+ */
+public class QuickstartBPELLoanApprovalTestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "Quickstart_bpel_loan_approval";
+
+ public QuickstartBPELLoanApprovalTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartBPELLoanApprovalTestCase.class,
+ TEST_NAME,
"Quickstart_bpel_loan_approval-1.jar,Quickstart_bpel_loan_approval.war"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendMessage("loanreq1.xml",
+ "http://localhost:8080/bpel/processes/loanService");
+
+ assertMessage(result, "loanresp1.xml");
+ }
+}
Copied:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java
(from rev 186,
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELSimpleCorrelationTestCase.java)
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleCorrelationTestCase.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.samples;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the Quickstart_bpel_simple_correlation sample.
+ */
+public class QuickstartBPELSimpleCorrelationTestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "Quickstart_bpel_simple_correlation";
+
+ public QuickstartBPELSimpleCorrelationTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartBPELSimpleCorrelationTestCase.class,
+ TEST_NAME, "Quickstart_bpel_simple_correlation-1.jar"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result1=sendMessage("hello_request1.xml",
+ "http://localhost:8080/bpel/processes/helloGoodbyeWorld");
+
+ assertMessage(result1, "hello_response1.xml");
+
+ String result2=sendMessage("goodbye_request1.xml",
+ "http://localhost:8080/bpel/processes/helloGoodbyeWorld");
+
+ assertMessage(result2, "goodbye_response1.xml");
+ }
+}
Copied:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleInvokeTestCase.java
(from rev 187,
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/hello_world/QuickstartBPELSimpleInvokeTestCase.java)
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleInvokeTestCase.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/java/org/jboss/soa/bpel/tests/samples/QuickstartBPELSimpleInvokeTestCase.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.samples;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the Quickstart_bpel_hello_world sample.
+ */
+public class QuickstartBPELSimpleInvokeTestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "Quickstart_bpel_simple_invoke";
+
+ public QuickstartBPELSimpleInvokeTestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(QuickstartBPELSimpleInvokeTestCase.class,
+ TEST_NAME,
"Quickstart_bpel_simple_invoke-1.jar,Quickstart_bpel_simple_invoke.war"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendMessage("hello_request1.xml",
+ "http://localhost:8080/bpel/processes/simpleInvoke");
+
+ assertMessage(result, "hello_response1.xml");
+ }
+}
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/bpel-deploy.xml
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/bpel-deploy.xml
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/bpel-deploy.xml 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,35 @@
+<!--
+ * JBoss, Home of Professional Open Source
+ * Copyright 2009, Red Hat Middleware LLC, and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ -->
+<deploy
xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
+
xmlns:bpl="http://example.com/loan-approval/"
+
xmlns:intf="http://example.com/loan-approval/wsdl/"
+ >
+
+ <process name="bpl:loanApprovalProcess">
+ <active>true</active>
+ <provide partnerLink="customer">
+ <service name="intf:loanService" port="loanService_Port"/>
+ </provide>
+ <invoke partnerLink="approver">
+ <service name="intf:loanApprover"
port="loanApprover_Port"/>
+ </invoke>
+ <invoke partnerLink="assessor">
+ <service name="intf:riskAssessor"
port="riskAssessor_Port"/>
+ </invoke>
+ </process>
+</deploy>
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/loanServicePT.wsdl
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/loanServicePT.wsdl
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/loanServicePT.wsdl 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions
+targetNamespace="http://example.com/loan-approval/wsdl/"
+xmlns:ens="http://example.com/loan-approval/xsd/error-messages/"
+xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+xmlns:tns="http://example.com/loan-approval/wsdl/"
+xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+<wsdl:types>
+<xsd:schema
targetNamespace="http://example.com/loan-approval/xsd/error-messages...
+ <xsd:element name="integer" type="xsd:integer" />
+</xsd:schema>
+</wsdl:types>
+<wsdl:message name="creditInformationMessage">
+<wsdl:part name="firstName" type="xsd:string" />
+<wsdl:part name="name" type="xsd:string" />
+<wsdl:part name="amount" type="xsd:integer" />
+</wsdl:message>
+
+<wsdl:message name="approvalMessage">
+<wsdl:part name="accept" type="xsd:string" />
+</wsdl:message>
+<wsdl:message name="riskAssessmentMessage">
+<wsdl:part name="level" type="xsd:string" />
+</wsdl:message>
+<wsdl:message name="errorMessage">
+<wsdl:part name="errorCode" element="ens:integer" />
+</wsdl:message>
+<wsdl:portType name="loanServicePT">
+<wsdl:operation name="request">
+<wsdl:input message="tns:creditInformationMessage" />
+<wsdl:output message="tns:approvalMessage" />
+<wsdl:fault name="unableToHandleRequest"
+message="tns:errorMessage" />
+</wsdl:operation>
+</wsdl:portType>
+<wsdl:portType name="riskAssessmentPT">
+<wsdl:operation name="check">
+<wsdl:input message="tns:creditInformationMessage" />
+<wsdl:output message="tns:riskAssessmentMessage" />
+<wsdl:fault name="loanProcessFault"
+message="tns:errorMessage" />
+</wsdl:operation>
+</wsdl:portType>
+<wsdl:portType name="loanApprovalPT">
+<wsdl:operation name="approve">
+<wsdl:input message="tns:creditInformationMessage" />
+<wsdl:output message="tns:approvalMessage" />
+<wsdl:fault name="loanProcessFault"
+message="tns:errorMessage" />
+</wsdl:operation>
+</wsdl:portType>
+<plnk:partnerLinkType name="loanPartnerLT">
+<plnk:role name="loanService" portType="tns:loanServicePT" />
+</plnk:partnerLinkType>
+<plnk:partnerLinkType name="loanApprovalLT">
+<plnk:role name="approver" portType="tns:loanApprovalPT" />
+</plnk:partnerLinkType>
+<plnk:partnerLinkType name="riskAssessmentLT">
+<plnk:role name="assessor" portType="tns:riskAssessmentPT" />
+</plnk:partnerLinkType>
+ <wsdl:binding name="loanService_Binding"
type="tns:loanServicePT">
+ <soap:binding style="rpc"
+
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="request">
+ <soap:operation
+
soapAction="http://example.com/loan-approval/wsdl/request" />
+ <wsdl:input>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:output>
+ <wsdl:fault name="unableToHandleRequest">
+ <soap:fault use="literal" name="unableToHandleRequest"
/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="loanApprover_Binding"
type="tns:loanApprovalPT">
+ <soap:binding style="rpc"
+
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="approve">
+ <soap:operation
+
soapAction="http://example.com/loan-approval/wsdl/approve" />
+ <wsdl:input>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:output>
+ <wsdl:fault name="loanProcessFault">
+ <soap:fault use="literal" name="loanProcessFault" />
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="riskAssessor_Binding"
type="tns:riskAssessmentPT">
+ <soap:binding style="rpc"
+
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="check">
+ <soap:operation
+
soapAction="http://example.com/loan-approval/wsdl/check" />
+ <wsdl:input>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:output>
+ <wsdl:fault name="loanProcessFault">
+ <soap:fault use="literal" name="loanProcessFault" />
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="loanService">
+ <wsdl:port name="loanService_Port"
binding="tns:loanService_Binding">
+ <soap:address
location="http://localhost:8080/bpel/processes/loanService" />
+ </wsdl:port></wsdl:service>
+ <wsdl:service name="loanApprover">
+ <wsdl:port name="loanApprover_Port"
binding="tns:loanApprover_Binding">
+ <soap:address
location="http://localhost:8080/Quickstart_bpel_loan_approval/LoanApproval"
/>
+ </wsdl:port></wsdl:service>
+ <wsdl:service name="riskAssessor">
+ <wsdl:port name="riskAssessor_Port"
binding="tns:riskAssessor_Binding">
+ <soap:address
location="http://127.0.0.1:8080/Quickstart_bpel_loan_approval/RiskAssessment"
/>
+ </wsdl:port></wsdl:service>
+</wsdl:definitions>
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/loan_approval.bpel
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/loan_approval.bpel
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/bpel/loan_approval.bpel 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,269 @@
+<process name="loanApprovalProcess"
+
+
targetNamespace="http://example.com/loan-approval/"
+
+
xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+
+
xmlns:lns="http://example.com/loan-approval/wsdl/"
+
+ suppressJoinFailure="yes">
+
+
+
+ <import
importType="http://schemas.xmlsoap.org/wsdl/"
+
+ location="loanServicePT.wsdl"
+
+
namespace="http://example.com/loan-approval/wsdl/" />
+
+
+
+ <partnerLinks>
+
+ <partnerLink name="customer"
+
+ partnerLinkType="lns:loanPartnerLT"
+
+ myRole="loanService" />
+
+ <partnerLink name="approver"
+
+ partnerLinkType="lns:loanApprovalLT"
+
+ partnerRole="approver" />
+
+ <partnerLink name="assessor"
+
+ partnerLinkType="lns:riskAssessmentLT"
+
+ partnerRole="assessor" />
+
+ </partnerLinks>
+
+
+
+ <variables>
+
+ <variable name="request"
+
+ messageType="lns:creditInformationMessage" />
+
+ <variable name="risk"
+
+ messageType="lns:riskAssessmentMessage" />
+
+ <variable name="approval"
+
+ messageType="lns:approvalMessage" />
+
+ </variables>
+
+
+
+ <faultHandlers>
+
+ <catch faultName="lns:loanProcessFault"
+
+ faultVariable="error"
+
+ faultMessageType="lns:errorMessage">
+
+ <reply partnerLink="customer"
+
+ portType="lns:loanServicePT"
+
+ operation="request" variable="error"
+
+ faultName="lns:unableToHandleRequest" />
+
+ </catch>
+
+ </faultHandlers>
+
+
+
+ <flow>
+
+ <links>
+
+ <link name="receive-to-assess" />
+
+ <link name="receive-to-approval" />
+
+ <link name="approval-to-reply" />
+
+ <link name="assess-to-setMessage" />
+
+ <link name="setMessage-to-reply" />
+
+ <link name="assess-to-approval" />
+
+ </links>
+
+
+
+ <receive partnerLink="customer"
+
+ portType="lns:loanServicePT"
+
+ operation="request"
+
+ variable="request"
+
+ createInstance="yes">
+
+ <sources>
+
+ <source linkName="receive-to-assess">
+
+ <transitionCondition>
+
+ $request.amount < 10000
+
+ </transitionCondition>
+
+ </source>
+
+ <source linkName="receive-to-approval">
+
+ <transitionCondition>
+
+ $request.amount >= 10000
+
+ </transitionCondition>
+
+ </source>
+
+ </sources>
+
+
+
+ </receive>
+
+
+
+ <invoke partnerLink="assessor"
+
+ portType="lns:riskAssessmentPT"
+
+ operation="check"
+
+ inputVariable="request"
+
+ outputVariable="risk">
+
+ <targets>
+
+ <target linkName="receive-to-assess" />
+
+ </targets>
+
+ <sources>
+
+ <source linkName="assess-to-setMessage">
+
+ <transitionCondition>
+
+ $risk.level='low'
+
+ </transitionCondition>
+
+ </source>
+
+ <source linkName="assess-to-approval">
+
+ <transitionCondition>
+
+ $risk.level!='low'
+
+ </transitionCondition>
+
+ </source>
+
+ </sources>
+
+ </invoke>
+
+
+
+ <assign>
+
+ <targets>
+
+ <target linkName="assess-to-setMessage" />
+
+ </targets>
+
+ <sources>
+
+ <source linkName="setMessage-to-reply" />
+
+ </sources>
+
+
+
+ <copy>
+
+ <from>
+
+ <literal>yes</literal>
+
+ </from>
+
+ <to variable="approval" part="accept" />
+
+ </copy>
+
+ </assign>
+
+
+
+ <invoke partnerLink="approver"
+
+ portType="lns:loanApprovalPT"
+
+ operation="approve"
+
+ inputVariable="request"
+
+ outputVariable="approval">
+
+ <targets>
+
+ <target linkName="receive-to-approval" />
+
+ <target linkName="assess-to-approval" />
+
+ </targets>
+
+ <sources>
+
+ <source linkName="approval-to-reply" />
+
+ </sources>
+
+ </invoke>
+
+
+
+ <reply partnerLink="customer"
+
+ portType="lns:loanServicePT"
+
+ operation="request"
+
+ variable="approval">
+
+ <targets>
+
+ <target linkName="setMessage-to-reply" />
+
+ <target linkName="approval-to-reply" />
+
+ </targets>
+
+ </reply>
+
+ </flow>
+
+</process>
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/build.xml
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/build.xml
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/build.xml 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,66 @@
+<project name="Quickstart_bpel_loan_approval" default="deploy"
basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir"
value="${basedir}/src/test/resources/samples/${ant.project.name}" />
+
+ <property name="sample.jar.name"
value="${ant.project.name}-${version}.jar" />
+
+ <property name="war.build.dir"
location="${deploy.dir}/${ant.project.name}/build/war/classes"/>
+
+ <path id="compile-classpath">
+ <fileset dir="${org.jboss.esb.server.home}/client"
includes="*.jar" /> <!-- Required for JMS Client Code. -->
+ </path>
+ <property name="compile-classpath"
refid="compile-classpath"/>
+
+ <target name="deploywar" description="make war">
+ <!-- Compile... -->
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+
+ <mkdir dir="${war.build.dir}" />
+ <javac fork="true" srcdir="${test.dir}/war/src"
destdir="${war.build.dir}" debug="true">
+ <classpath>
+ <path refid="compile-classpath" />
+ <fileset dir="${test.dir}/war/resources/WEB-INF/lib"
includes="*.jar" />
+ </classpath>
+ </javac>
+
+ <!-- War... -->
+ <war
warfile="${deploy.dir}/${ant.project.name}/${ant.project.name}.war"
+ webxml="${test.dir}/war/resources/WEB-INF/web.xml">
+ <webinf dir="${test.dir}/war/resources/WEB-INF">
+ <include name="**/*"/>
+ </webinf>
+ <classes dir="${war.build.dir}" includes="**/*.class"/>
+ <fileset dir="${test.dir}/war/view">
+ <include name="**/*"/>
+ </fileset>
+ </war>
+ </target>
+
+ <target name="undeploywar">
+ <echo>Undeploy WAR</echo>
+ <delete
file="${deploy.dir}/${ant.project.name}/${ant.project.name}.war"/>
+ </target>
+
+ <target name="deploy" depends="deploywar" >
+ <echo>Deploy ${ant.project.name}</echo>
+ <jar basedir="${test.dir}/bpel"
destfile="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy" depends="undeploywar" >
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq1.xml
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq1.xml
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanreq1.xml 2009-10-19
13:52:33 UTC (rev 189)
@@ -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>Fred</firstName>
+ <name>Bloggs</name>
+ <amount>1000</amount>
+ </wsdl:request>
+ </soapenv:Body>
+</soapenv:Envelope>
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp1.xml
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp1.xml
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/messages/loanresp1.xml 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1 @@
+<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">&l...
xmlns:odens="http://example.com/loan-approval/wsdl/"><acc...
\ No newline at end of file
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/web.xml
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/web.xml
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/web.xml 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+
+<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>RiskAssessment</servlet-name>
+
<servlet-class>com.example.loan_approval.wsdl.RiskAssessmentPTImpl</servlet-class>
+ </servlet>
+ <servlet>
+ <servlet-name>LoanApproval</servlet-name>
+
<servlet-class>com.example.loan_approval.wsdl.LoanApprovalPTImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>RiskAssessment</servlet-name>
+ <url-pattern>/RiskAssessment</url-pattern>
+ </servlet-mapping>
+ <servlet-mapping>
+ <servlet-name>LoanApproval</servlet-name>
+ <url-pattern>/LoanApproval</url-pattern>
+ </servlet-mapping>
+
+</web-app>
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/wsdl/loanServicePT.wsdl
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/wsdl/loanServicePT.wsdl
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/resources/WEB-INF/wsdl/loanServicePT.wsdl 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,131 @@
+<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions
+targetNamespace="http://example.com/loan-approval/wsdl/"
+xmlns:ens="http://example.com/loan-approval/xsd/error-messages/"
+xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+xmlns:tns="http://example.com/loan-approval/wsdl/"
+xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+<wsdl:types>
+<xsd:schema
targetNamespace="http://example.com/loan-approval/xsd/error-messages...
+ <xsd:element name="integer" type="xsd:integer" />
+</xsd:schema>
+</wsdl:types>
+<wsdl:message name="creditInformationMessage">
+<wsdl:part name="firstName" type="xsd:string" />
+<wsdl:part name="name" type="xsd:string" />
+<wsdl:part name="amount" type="xsd:integer" />
+</wsdl:message>
+
+<wsdl:message name="approvalMessage">
+<wsdl:part name="accept" type="xsd:string" />
+</wsdl:message>
+<wsdl:message name="riskAssessmentMessage">
+<wsdl:part name="level" type="xsd:string" />
+</wsdl:message>
+<wsdl:message name="errorMessage">
+<wsdl:part name="errorCode" element="ens:integer" />
+</wsdl:message>
+<wsdl:portType name="loanServicePT">
+<wsdl:operation name="request">
+<wsdl:input message="tns:creditInformationMessage" />
+<wsdl:output message="tns:approvalMessage" />
+<wsdl:fault name="unableToHandleRequest"
+message="tns:errorMessage" />
+</wsdl:operation>
+</wsdl:portType>
+<wsdl:portType name="riskAssessmentPT">
+<wsdl:operation name="check">
+<wsdl:input message="tns:creditInformationMessage" />
+<wsdl:output message="tns:riskAssessmentMessage" />
+<wsdl:fault name="loanProcessFault"
+message="tns:errorMessage" />
+</wsdl:operation>
+</wsdl:portType>
+<wsdl:portType name="loanApprovalPT">
+<wsdl:operation name="approve">
+<wsdl:input message="tns:creditInformationMessage" />
+<wsdl:output message="tns:approvalMessage" />
+<wsdl:fault name="loanProcessFault"
+message="tns:errorMessage" />
+</wsdl:operation>
+</wsdl:portType>
+<plnk:partnerLinkType name="loanPartnerLT">
+<plnk:role name="loanService" portType="tns:loanServicePT" />
+</plnk:partnerLinkType>
+<plnk:partnerLinkType name="loanApprovalLT">
+<plnk:role name="approver" portType="tns:loanApprovalPT" />
+</plnk:partnerLinkType>
+<plnk:partnerLinkType name="riskAssessmentLT">
+<plnk:role name="assessor" portType="tns:riskAssessmentPT" />
+</plnk:partnerLinkType>
+ <wsdl:binding name="loanService_Binding"
type="tns:loanServicePT">
+ <soap:binding style="rpc"
+
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="request">
+ <soap:operation
+
soapAction="http://example.com/loan-approval/wsdl/request" />
+ <wsdl:input>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:output>
+ <wsdl:fault name="unableToHandleRequest">
+ <soap:fault use="literal" name="unableToHandleRequest"
/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="loanApprover_Binding"
type="tns:loanApprovalPT">
+ <soap:binding style="rpc"
+
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="approve">
+ <soap:operation
+
soapAction="http://example.com/loan-approval/wsdl/approve" />
+ <wsdl:input>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:output>
+ <wsdl:fault name="loanProcessFault">
+ <soap:fault use="literal" name="loanProcessFault" />
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="riskAssessor_Binding"
type="tns:riskAssessmentPT">
+ <soap:binding style="rpc"
+
transport="http://schemas.xmlsoap.org/soap/http" />
+ <wsdl:operation name="check">
+ <soap:operation
+
soapAction="http://example.com/loan-approval/wsdl/check" />
+ <wsdl:input>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:input>
+ <wsdl:output>
+ <soap:body use="literal"
+
namespace="http://example.com/loan-approval/wsdl/" />
+ </wsdl:output>
+ <wsdl:fault name="loanProcessFault">
+ <soap:fault use="literal" name="loanProcessFault" />
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="loanService">
+ <wsdl:port name="loanService_Port"
binding="tns:loanService_Binding">
+ <soap:address
location="http://localhost:8080/bpel/processes/loanService" />
+ </wsdl:port></wsdl:service>
+ <wsdl:service name="loanApprover">
+ <wsdl:port name="loanApprover_Port"
binding="tns:loanApprover_Binding">
+ <soap:address
location="http://localhost:8080/Quickstart_bpel_loan_approval/LoanApproval"
/>
+ </wsdl:port></wsdl:service>
+ <wsdl:service name="riskAssessor">
+ <wsdl:port name="riskAssessor_Port"
binding="tns:riskAssessor_Binding">
+ <soap:address
location="http://127.0.0.1:8080/Quickstart_bpel_loan_approval/RiskAssessment"
/>
+ </wsdl:port></wsdl:service>
+</wsdl:definitions>
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/ErrorMessage.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/ErrorMessage.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/ErrorMessage.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,55 @@
+
+package com.example.loan_approval.wsdl;
+
+import java.math.BigInteger;
+import javax.xml.ws.WebFault;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.3-b02-
+ * Generated source version: 2.0
+ *
+ */
+@WebFault(name = "integer", targetNamespace =
"http://example.com/loan-approval/xsd/error-messages/")
+public class ErrorMessage
+ extends Exception
+{
+
+ /**
+ * Java type that goes as soapenv:Fault detail element.
+ *
+ */
+ private BigInteger faultInfo;
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ */
+ public ErrorMessage(String message, BigInteger faultInfo) {
+ super(message);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @param message
+ * @param faultInfo
+ * @param cause
+ */
+ public ErrorMessage(String message, BigInteger faultInfo, Throwable cause) {
+ super(message, cause);
+ this.faultInfo = faultInfo;
+ }
+
+ /**
+ *
+ * @return
+ * returns fault bean: java.math.BigInteger
+ */
+ public BigInteger getFaultInfo() {
+ return faultInfo;
+ }
+
+}
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPT.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPT.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPT.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,45 @@
+
+package com.example.loan_approval.wsdl;
+
+import java.math.BigInteger;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.3-b02-
+ * Generated source version: 2.0
+ *
+ */
+@WebService(name = "loanApprovalPT", targetNamespace =
"http://example.com/loan-approval/wsdl/",
+wsdlLocation="WEB-INF/wsdl/loanServicePT.wsdl")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface LoanApprovalPT {
+
+
+ /**
+ *
+ * @param amount
+ * @param name
+ * @param firstName
+ * @return
+ * returns java.lang.String
+ * @throws ErrorMessage
+ */
+ @WebMethod(action = "http://example.com/loan-approval/wsdl/approve")
+ @WebResult(name = "accept", partName = "accept")
+ public String approve(
+ @WebParam(name = "firstName", partName = "firstName")
+ String firstName,
+ @WebParam(name = "name", partName = "name")
+ String name,
+ @WebParam(name = "amount", partName = "amount")
+ BigInteger amount)
+ throws ErrorMessage
+ ;
+
+}
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanApprovalPTImpl.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,31 @@
+
+package com.example.loan_approval.wsdl;
+
+import java.math.BigInteger;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+
+@WebService(targetNamespace = "http://example.com/loan-approval/wsdl/",
+endpointInterface="com.example.loan_approval.wsdl.LoanApprovalPT",
portName="loanApprover_Port")
+public class LoanApprovalPTImpl implements LoanApprovalPT {
+
+ public String approve(
+ String firstName,
+ String name,
+ BigInteger amount)
+ throws ErrorMessage {
+ System.out.println("\nLoanApprovalPTImpl");
+
System.out.println("*************************************************");
+ System.out.println("firstName Parameter: " + firstName );
+ System.out.println("name Parameter: " + name );
+ System.out.println("amount Parameter: " + amount );
+
System.out.println("*************************************************");
+ System.out.println("\n");
+ return "Evaluated and Approved";
+ }
+
+}
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanServicePT.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanServicePT.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/LoanServicePT.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,44 @@
+
+package com.example.loan_approval.wsdl;
+
+import java.math.BigInteger;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.3-b02-
+ * Generated source version: 2.0
+ *
+ */
+@WebService(name = "loanServicePT", targetNamespace =
"http://example.com/loan-approval/wsdl/")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface LoanServicePT {
+
+
+ /**
+ *
+ * @param amount
+ * @param name
+ * @param firstName
+ * @return
+ * returns java.lang.String
+ * @throws ErrorMessage
+ */
+ @WebMethod(action = "http://example.com/loan-approval/wsdl/request")
+ @WebResult(name = "accept", partName = "accept")
+ public String request(
+ @WebParam(name = "firstName", partName = "firstName")
+ String firstName,
+ @WebParam(name = "name", partName = "name")
+ String name,
+ @WebParam(name = "amount", partName = "amount")
+ BigInteger amount)
+ throws ErrorMessage
+ ;
+
+}
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/RiskAssessmentPT.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/RiskAssessmentPT.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/RiskAssessmentPT.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,46 @@
+
+package com.example.loan_approval.wsdl;
+
+import java.math.BigInteger;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.3-b02-
+ * Generated source version: 2.0
+ *
+ */
+@WebService(name = "riskAssessmentPT",
+targetNamespace = "http://example.com/loan-approval/wsdl/",
+wsdlLocation="WEB-INF/wsdl/loanServicePT.wsdl")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface RiskAssessmentPT {
+
+
+ /**
+ *
+ * @param amount
+ * @param name
+ * @param firstName
+ * @return
+ * returns java.lang.String
+ * @throws ErrorMessage
+ */
+ @WebMethod(action = "http://example.com/loan-approval/wsdl/check")
+ @WebResult(name = "level", partName = "level")
+ public String check(
+ @WebParam(name = "firstName", partName = "firstName")
+ String firstName,
+ @WebParam(name = "name", partName = "name")
+ String name,
+ @WebParam(name = "amount", partName = "amount")
+ BigInteger amount)
+ throws ErrorMessage
+ ;
+
+}
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/RiskAssessmentPTImpl.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/RiskAssessmentPTImpl.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/wsdl/RiskAssessmentPTImpl.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,32 @@
+
+package com.example.loan_approval.wsdl;
+
+import java.math.BigInteger;
+import javax.jws.WebService;
+
+@WebService(
+ endpointInterface="com.example.loan_approval.wsdl.RiskAssessmentPT",
+ targetNamespace = "http://example.com/loan-approval/wsdl/",
+ portName="riskAssessor_Port")
+public class RiskAssessmentPTImpl implements RiskAssessmentPT {
+
+ public String check(
+ String firstName,
+ String name,
+ BigInteger amount)
+ throws ErrorMessage {
+ System.out.println("\nRiskAssessmentPTImpl");
+ System.out.println("*************************************************");
+ System.out.println("firstName Parameter: " + firstName );
+ System.out.println("name Parameter: " + name );
+ System.out.println("amount Parameter: " + amount );
+ System.out.println("*************************************************");
+ System.out.println("\n");
+
+ if (amount.intValue() <= 10000)
+ return "low";
+ else
+ return "high";
+ }
+
+}
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/xsd/error_messages/ObjectFactory.java
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/xsd/error_messages/ObjectFactory.java
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/src/com/example/loan_approval/xsd/error_messages/ObjectFactory.java 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,46 @@
+
+package com.example.loan_approval.xsd.error_messages;
+
+import java.math.BigInteger;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the com.example.loan_approval.xsd.error_messages package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Integer_QNAME = new
QName("http://example.com/loan-approval/xsd/error-messages/",
"integer");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema
derived classes for package: com.example.loan_approval.xsd.error_messages
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code
>}}
+ *
+ */
+ @XmlElementDecl(namespace =
"http://example.com/loan-approval/xsd/error-messages/", name =
"integer")
+ public JAXBElement<BigInteger> createInteger(BigInteger value) {
+ return new JAXBElement<BigInteger>(_Integer_QNAME, BigInteger.class, null,
value);
+ }
+
+}
Added:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/view/index.jsp
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/view/index.jsp
(rev 0)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_loan_approval/war/view/index.jsp 2009-10-19
13:52:33 UTC (rev 189)
@@ -0,0 +1,9 @@
+<html>
+ <body>
+ This is just a place holder.<br>
+ Verify the that the WS has been deployed by hitting
+ <a href="http://localhost:8080/jbossws">
+
http://localhost:8080/jbossws
+ </a>
+ </body>
+</html>
\ No newline at end of file
Modified:
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_simple_invoke/build.xml
===================================================================
---
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_simple_invoke/build.xml 2009-10-19
10:42:17 UTC (rev 188)
+++
branches/IntegrationTests/RiftSaw-2.0-M1/integration-tests/src/test/resources/samples/Quickstart_bpel_simple_invoke/build.xml 2009-10-19
13:52:33 UTC (rev 189)
@@ -49,6 +49,7 @@
</target>
<target name="undeploywar">
+ <echo>Undeploy WAR</echo>
<delete
file="${deploy.dir}/${ant.project.name}/${ant.project.name}.war"/>
</target>