[jboss-svn-commits] JBL Code SVN: r29474 - in labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop: webservices and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Sep 25 12:43:18 EDT 2009


Author: adinn
Date: 2009-09-25 12:43:17 -0400 (Fri, 25 Sep 2009)
New Revision: 29474

Removed:
   labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/webservices/InteropConstants.java
Modified:
   labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/interop/ATTestCase.java
   labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/interop/BATestCase.java
Log:
corrected error in WSTX11-interop service setup

Modified: labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/interop/ATTestCase.java
===================================================================
--- labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/interop/ATTestCase.java	2009-09-25 14:08:42 UTC (rev 29473)
+++ labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/interop/ATTestCase.java	2009-09-25 16:43:17 UTC (rev 29474)
@@ -25,7 +25,6 @@
 import com.arjuna.webservices11.ServiceRegistry;
 import org.oasis_open.docs.ws_tx.wscoor._2006._06.CoordinationContextType;
 import com.arjuna.wst.CompletionCoordinatorParticipant;
-import com.arjuna.wst.SystemException;
 import com.arjuna.wst.TransactionRolledBackException;
 import com.jboss.transaction.txinterop.interop.states.ATInteropPreparedAfterTimeoutState;
 import com.jboss.transaction.txinterop.interop.states.ATInteropRetryPreparedAbortState;
@@ -33,11 +32,7 @@
 import com.jboss.transaction.txinterop.interop.states.InteropWaitState;
 import com.jboss.transaction.txinterop.proxy.ProxyConversation;
 import com.jboss.transaction.txinterop.proxy.ProxyURIRewriting;
-import com.jboss.transaction.txinterop.webservices.InteropConstants;
-import com.jboss.transaction.txinterop.webservices.atinterop.AsyncParticipantStub;
-import com.jboss.transaction.txinterop.webservices.atinterop.ATInteropUtil;
-import com.jboss.transaction.txinterop.webservices.atinterop.ParticipantStub;
-import com.jboss.transaction.txinterop.webservices.atinterop.SyncParticipantStub;
+import com.jboss.transaction.txinterop.webservices.atinterop.*;
 
 /**
  * The AT endpoint test case
@@ -534,7 +529,7 @@
     static
     {
         final ServiceRegistry serviceRegistry = ServiceRegistry.getRegistry() ;
-        SOURCE_PARTICIPANT_URI = serviceRegistry.getServiceURI(InteropConstants.SERVICE_PARTICIPANT) ;
+        SOURCE_PARTICIPANT_URI = serviceRegistry.getServiceURI(ATInteropConstants.SERVICE_PARTICIPANT) ;
         SOURCE_COORDINATOR_URI = serviceRegistry.getServiceURI(CoordinationConstants.ACTIVATION_SERVICE_NAME) ;
     }
 }

Modified: labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/interop/BATestCase.java
===================================================================
--- labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/interop/BATestCase.java	2009-09-25 14:08:42 UTC (rev 29473)
+++ labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/interop/BATestCase.java	2009-09-25 16:43:17 UTC (rev 29474)
@@ -31,11 +31,7 @@
 import com.jboss.transaction.txinterop.interop.states.InteropWaitState;
 import com.jboss.transaction.txinterop.proxy.ProxyConversation;
 import com.jboss.transaction.txinterop.proxy.ProxyURIRewriting;
-import com.jboss.transaction.txinterop.webservices.InteropConstants;
-import com.jboss.transaction.txinterop.webservices.bainterop.AsyncParticipantStub;
-import com.jboss.transaction.txinterop.webservices.bainterop.BAInteropUtil;
-import com.jboss.transaction.txinterop.webservices.bainterop.ParticipantStub;
-import com.jboss.transaction.txinterop.webservices.bainterop.SyncParticipantStub;
+import com.jboss.transaction.txinterop.webservices.bainterop.*;
 
 /**
  * The BA endpoint test case
@@ -451,7 +447,7 @@
     static
     {
         final ServiceRegistry serviceRegistry = ServiceRegistry.getRegistry() ;
-        SOURCE_PARTICIPANT_URI = serviceRegistry.getServiceURI(InteropConstants.SERVICE_PARTICIPANT) ;
+        SOURCE_PARTICIPANT_URI = serviceRegistry.getServiceURI(BAInteropConstants.SERVICE_PARTICIPANT) ;
         SOURCE_COORDINATOR_URI = serviceRegistry.getServiceURI(CoordinationConstants.ACTIVATION_SERVICE_NAME) ;
     }
 }

Deleted: labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/webservices/InteropConstants.java
===================================================================
--- labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/webservices/InteropConstants.java	2009-09-25 14:08:42 UTC (rev 29473)
+++ labs/jbosstm/trunk/XTS/interop/WSTX11-interop/src/com/jboss/transaction/txinterop/webservices/InteropConstants.java	2009-09-25 16:43:17 UTC (rev 29474)
@@ -1,32 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2007, Red Hat Middleware LLC, and individual contributors
- * as indicated by the @author tags.
- * 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.
- *
- * (C) 2005-2006,
- * @author JBoss Inc.
- */
-package com.jboss.transaction.txinterop.webservices;
-
-/**
- * Interface containing WS-TX Interop constants.
- */
-public interface InteropConstants
-{
-    /**
-     * The interop test participant service name.
-     */
-    public String SERVICE_PARTICIPANT = "TX11Participant" ;
-}



More information about the jboss-svn-commits mailing list