Fixing the compile failure in tests
git-svn-id: https://svn.apache.org/repos/asf/webservices/kandula/trunk/java@521184 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/org/apache/kandula/integration/CompletionCommitTest.java b/test/org/apache/kandula/integration/CompletionCommitTest.java
index 6df5e3b..a9fd8dd 100644
--- a/test/org/apache/kandula/integration/CompletionCommitTest.java
+++ b/test/org/apache/kandula/integration/CompletionCommitTest.java
@@ -24,7 +24,6 @@
import junit.framework.TestCase;
-import org.apache.axis2.addressing.EndpointReference;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.ConfigurationContextFactory;
import org.apache.axis2.transport.http.SimpleHTTPServer;
@@ -36,7 +35,7 @@
private String repository = "target/testing-repository";
- private KandulaDemoServiceStub stub;
+ private KandulaDemoServiceKandulaDemoServiceSOAP11Port_httpStub stub;
private SimpleHTTPServer server;
@@ -50,7 +49,7 @@
.createConfigurationContextFromFileSystem("target/initiator-repository", "target/initiator-repository"
+ "/axis2.xml");
- stub = new KandulaDemoServiceStub(configurationContext, "http://localhost:8081/axis2/services/KandulaDemoService");
+ stub = new KandulaDemoServiceKandulaDemoServiceSOAP11Port_httpStub(configurationContext, "http://localhost:8081/axis2/services/KandulaDemoService");
}
protected void setUp() throws Exception {
diff --git a/test/org/apache/kandula/integration/ba/BAParticipantRegistrationTest.java b/test/org/apache/kandula/integration/ba/BAParticipantRegistrationTest.java
index 58fc04a..634f20c 100644
--- a/test/org/apache/kandula/integration/ba/BAParticipantRegistrationTest.java
+++ b/test/org/apache/kandula/integration/ba/BAParticipantRegistrationTest.java
@@ -25,7 +25,7 @@
import org.apache.axis2.transport.http.SimpleHTTPServer;
import org.apache.kandula.Constants;
import org.apache.kandula.ba.MixedBusinessActivity;
-import org.apache.kandula.integration.KandulaDemoServiceStub;
+import org.apache.kandula.integration.KandulaDemoServiceKandulaDemoServiceSOAP11Port_httpStub;
import org.apache.kandula.integration.xsd.CreditOperation;
import org.apache.kandula.integration.xsd.DebitOperation;
@@ -33,7 +33,7 @@
private String repository = "target/testing-repository";
- private KandulaDemoServiceStub stub;
+ private KandulaDemoServiceKandulaDemoServiceSOAP11Port_httpStub stub;
private SimpleHTTPServer server;
@@ -47,7 +47,7 @@
.createConfigurationContextFromFileSystem("target/initiator-repository",
"target/initiator-repository" + "/axis2.xml");
- stub = new KandulaDemoServiceStub(configurationContext,
+ stub = new KandulaDemoServiceKandulaDemoServiceSOAP11Port_httpStub(configurationContext,
"http://localhost:8081/axis2/services/KandulaBADemoService");
}
diff --git a/test/org/apache/kandula/integration/ba/BARegistrationTest.java b/test/org/apache/kandula/integration/ba/BARegistrationTest.java
index 470a04a..0add77a 100644
--- a/test/org/apache/kandula/integration/ba/BARegistrationTest.java
+++ b/test/org/apache/kandula/integration/ba/BARegistrationTest.java
@@ -73,20 +73,4 @@
EndpointReference epr= coordinator.registerParticipant(businessActivity.getContext(),Constants.WS_BA_CC,new EndpointReference("http://ws.apache.org/axis2"),null);
assertNotNull(epr);
}
-
-
-// public void testEchoXMLSync() throws Exception {
-// // TransactionManager tm = new TransactionManager(
-// // Constants.WS_AT,
-// // new EndpointReference(
-// // "http://localhost:8081/axis2/services/ActivationCoordinator"));
-// // tm.begin("target/initiator-repository",
-// // "target/initiator-repository/axis2.xml", false);
-// // try {
-// // stub.creditOperation();
-// // } catch (Exception e) {
-// // tm.rollback();
-// // }
-// // tm.commit();
-// }
}
\ No newline at end of file