You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by da...@apache.org on 2006/01/16 22:55:33 UTC

svn commit: r369579 - /webservices/kandula/branches/Kandula_1/src/samples/test-suite1/src/TestSuite1SoapBindingImpl.java

Author: dasarath
Date: Mon Jan 16 13:55:31 2006
New Revision: 369579

URL: http://svn.apache.org/viewcvs?rev=369579&view=rev
Log: (empty)

Modified:
    webservices/kandula/branches/Kandula_1/src/samples/test-suite1/src/TestSuite1SoapBindingImpl.java

Modified: webservices/kandula/branches/Kandula_1/src/samples/test-suite1/src/TestSuite1SoapBindingImpl.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/samples/test-suite1/src/TestSuite1SoapBindingImpl.java?rev=369579&r1=369578&r2=369579&view=diff
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/samples/test-suite1/src/TestSuite1SoapBindingImpl.java (original)
+++ webservices/kandula/branches/Kandula_1/src/samples/test-suite1/src/TestSuite1SoapBindingImpl.java Mon Jan 16 13:55:31 2006
@@ -15,16 +15,17 @@
 import org.apache.kandula.geronimo.Bridge;
 
 public class TestSuite1SoapBindingImpl implements TestSuite1PortType {
-	TransactionManagerImpl wsTm = TransactionManagerImpl.getInstance();
+
+	TransactionManagerImpl wstm = TransactionManagerImpl.getInstance();
 
 	TransactionManager tm = Bridge.getInstance().getTM();
 
 	public void testReadonlyCommit() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.justReturnOperation();
-			wsTm.commit();
+			wstm.commit();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}
@@ -33,9 +34,9 @@
 	public void testReadonlyRollback() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.justReturnOperation();
-			wsTm.rollback();
+			wstm.rollback();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}
@@ -44,9 +45,9 @@
 	public void testRollback() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.enlistXA_OKOnPrepareResourceOperation();
-			wsTm.rollback();
+			wstm.rollback();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}
@@ -55,9 +56,9 @@
 	public void testPrepareCommit() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.enlistXA_OKOnPrepareResourceOperation();
-			wsTm.commit();
+			wstm.commit();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}
@@ -66,10 +67,10 @@
 	public void testPrepareRollback() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.enlistXA_OKOnPrepareResourceOperation();
 			p.enlistXAExceptionOnPrepareResourceOperation();
-			wsTm.commit();
+			wstm.commit();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}
@@ -78,9 +79,9 @@
 	public void testEarlyCommit() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.commitTransactionOperation();
-			wsTm.commit();
+			wstm.commit();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}
@@ -90,9 +91,9 @@
 	public void testEarlyRollback() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.rollbackTransactionOperation();
-			wsTm.commit();
+			wstm.commit();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}
@@ -101,9 +102,9 @@
 	public void testMarkedRollbackCommit() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.markTransactionForRollbackOperation();
-			wsTm.commit();
+			wstm.commit();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}
@@ -113,9 +114,9 @@
 	public void testMarkedRollbackRollback() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.markTransactionForRollbackOperation();
-			wsTm.rollback();
+			wstm.rollback();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}
@@ -125,9 +126,9 @@
 	public void testCommitFailure() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.enlistXAExceptionOnCommitRollbackResourceOperation();
-			wsTm.commit();
+			wstm.commit();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}
@@ -136,9 +137,9 @@
 	public void testRollbackFailure() throws RemoteException {
 		try {
 			TestSuite1PortType p = new TestSuite1PortTypeServiceLocator().getTestSuite1();
-			wsTm.begin();
+			wstm.begin();
 			p.enlistXAExceptionOnCommitRollbackResourceOperation();
-			wsTm.rollback();
+			wstm.rollback();
 		} catch (ServiceException e) {
 			e.printStackTrace();
 		}



---------------------------------------------------------------------
To unsubscribe, e-mail: kandula-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: kandula-dev-help@ws.apache.org