You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by ch...@apache.org on 2006/01/19 06:17:54 UTC
svn commit: r370379 - in
/webservices/sandesha/trunk/test/src/org/apache/sandesha2:
AddressablePingTest.java AnonymousPingTest.java PorpertyLoaderTest.java
Author: chamikara
Date: Wed Jan 18 21:17:32 2006
New Revision: 370379
URL: http://svn.apache.org/viewcvs?rev=370379&view=rev
Log:
Updates to comply with a change change in Axis2.
Modified:
webservices/sandesha/trunk/test/src/org/apache/sandesha2/AddressablePingTest.java
webservices/sandesha/trunk/test/src/org/apache/sandesha2/AnonymousPingTest.java
webservices/sandesha/trunk/test/src/org/apache/sandesha2/PorpertyLoaderTest.java
Modified: webservices/sandesha/trunk/test/src/org/apache/sandesha2/AddressablePingTest.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/AddressablePingTest.java?rev=370379&r1=370378&r2=370379&view=diff
==============================================================================
--- webservices/sandesha/trunk/test/src/org/apache/sandesha2/AddressablePingTest.java (original)
+++ webservices/sandesha/trunk/test/src/org/apache/sandesha2/AddressablePingTest.java Wed Jan 18 21:17:32 2006
@@ -45,7 +45,7 @@
SimpleHTTPServer httpServer = null;
public void setUp () throws AxisFault {
- httpServer = new SimpleHTTPServer ("target\\repos\\server",8060);
+ httpServer = new SimpleHTTPServer ("target\\repos\\server","target\\repos\\server\\axis2.xml",8060);
httpServer.start();
try {
Thread.sleep(300);
@@ -65,7 +65,7 @@
String transportTo = "http://127.0.0.1:8060/axis2/services/RMInteropService";
String acksToEPR = "http://127.0.0.1:6060/axis2/services/__ANONYMOUS_SERVICE__";
- ConfigurationContext configContext = new ConfigurationContextFactory().createConfigurationContextFromFileSystem("target\\repos\\client");
+ ConfigurationContext configContext = new ConfigurationContextFactory().createConfigurationContextFromFileSystem("target\\repos\\client","target\\repos\\server\\axis2.xml");
//clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
Options clientOptions = new Options ();
Modified: webservices/sandesha/trunk/test/src/org/apache/sandesha2/AnonymousPingTest.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/AnonymousPingTest.java?rev=370379&r1=370378&r2=370379&view=diff
==============================================================================
--- webservices/sandesha/trunk/test/src/org/apache/sandesha2/AnonymousPingTest.java (original)
+++ webservices/sandesha/trunk/test/src/org/apache/sandesha2/AnonymousPingTest.java Wed Jan 18 21:17:32 2006
@@ -45,7 +45,7 @@
SimpleHTTPServer httpServer = null;
public void setUp () throws AxisFault {
- httpServer = new SimpleHTTPServer ("target\\repos\\server",8060);
+ httpServer = new SimpleHTTPServer ("target\\repos\\server","target\\repos\\server\\axis2.xml",8060);
httpServer.start();
try {
Thread.sleep(300);
@@ -64,7 +64,7 @@
String to = "http://127.0.0.1:8060/axis2/services/RMInteropService";
String transportTo = "http://127.0.0.1:8060/axis2/services/RMInteropService";
- ConfigurationContext configContext = new ConfigurationContextFactory().createConfigurationContextFromFileSystem("target\\repos\\client");
+ ConfigurationContext configContext = new ConfigurationContextFactory().createConfigurationContextFromFileSystem("target\\repos\\client","target\\repos\\server\\axis2.xml");
//clientOptions.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
Options clientOptions = new Options ();
Modified: webservices/sandesha/trunk/test/src/org/apache/sandesha2/PorpertyLoaderTest.java
URL: http://svn.apache.org/viewcvs/webservices/sandesha/trunk/test/src/org/apache/sandesha2/PorpertyLoaderTest.java?rev=370379&r1=370378&r2=370379&view=diff
==============================================================================
--- webservices/sandesha/trunk/test/src/org/apache/sandesha2/PorpertyLoaderTest.java (original)
+++ webservices/sandesha/trunk/test/src/org/apache/sandesha2/PorpertyLoaderTest.java Wed Jan 18 21:17:32 2006
@@ -44,7 +44,7 @@
try {
InputStream in = new FileInputStream (file);
- manager.reload(in);
+ manager.loadPropertiesFromPropertyFile(in);
in.close();
} catch (Exception e) {
fail (e.getMessage());
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org