Permalink
Browse files

Merge branch 'JBTM-1275_Unexpected_Fault_type_returned_when_participa…

…nt_cannot_complete' of git://github.com/paulrobinson/narayana into paulrobinson-JBTM-1275_Unexpected_Fault_type_returned_when_participant_cannot_complete
  • Loading branch information...
2 parents 4303cec + d47c709 commit 56e450679c01be31594d4d539ac6a8678544da90 @paulrobinson paulrobinson committed Oct 2, 2012
@@ -72,6 +72,6 @@ public void faultedOperation(
@WebMethod(operationName = "FaultOperation", action = "http://schemas.arjuna.com/ws/2005/10/wsarjtx/Fault")
@Oneway
public void faultOperation(
- @WebParam(name = "Fault", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
+ @WebParam(name = "Fault", targetNamespace = "http://schemas.xmlsoap.org/soap/envelope/", partName = "parameters")
Fault parameters);
}
@@ -137,7 +137,7 @@ public void executeTask() {
@WebMethod(operationName = "FaultOperation", action = "http://schemas.arjuna.com/ws/2005/10/wsarjtx/Fault")
@Oneway
public void faultOperation(
- @WebParam(name = "Fault", targetNamespace = "http://schemas.arjuna.com/ws/2005/10/wsarjtx", partName = "parameters")
+ @WebParam(name = "Fault", targetNamespace = "http://schemas.xmlsoap.org/soap/envelope/", partName = "parameters")
Fault parameters)
{
MessageContext ctx = webServiceCtx.getMessageContext();
@@ -85,6 +85,12 @@ function init_jboss_home {
cp ${JBOSS_HOME}/docs/examples/configs/standalone-xts.xml ${JBOSS_HOME}/standalone/configuration
}
+function xts_as_tests {
+ echo "#-1. XTS AS Integration Test"
+ mvn -f ${WORKSPACE}/jboss-as/testsuite/integration/xts/pom.xml -Pxts.integration.tests.profile "$@" test
+ [ $? = 0 ] || fatal "XTS AS Integration Test failed"
+}
+
function txframework_tests {
echo "#0. TXFramework Test"
cp ./rest-tx/webservice/target/restat-web-*.war $JBOSS_HOME/standalone/deployments
@@ -216,6 +222,7 @@ function qa_tests {
[ $AS_BUILD ] || AS_BUILD=1 # git clone and build a fresh copy of the AS
[ $TXF_TESTS ] || TXF_TESTS=0 # TxFramework tests
[ $XTS_TESTS ] || XTS_TESTS=1 # XTS tests
+[ $XTS_AS_TESTS ] || XTS_AS_TESTS=1 # XTS tests
[ $QA_TESTS ] || QA_TESTS=1 # QA test suite
[ $SUN_ORB ] || SUN_ORB=1 # Run QA test suite against the Sun orb
[ $JAC_ORB ] || JAC_ORB=1 # Run QA test suite against JacORB
@@ -244,6 +251,7 @@ export ANT_OPTS="$ANT_OPTS $IPV6_OPTS"
# run the job
[ $NARAYANA_BUILD = 1 ] && build_narayana "$@"
[ $AS_BUILD = 1 ] && build_as "$@" || init_jboss_home
+[ $XTS_AS_TESTS = 1 ] && xts_as_tests
[ $TXF_TESTS = 1 ] && txframework_tests "$@"
[ $XTS_TESTS = 1 ] && xts_tests "$@"
[ $txbridge = 1 ] && tx_bridge_tests "$@"

0 comments on commit 56e4506

Please sign in to comment.