ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r370041 [3/3] - in /webservices/axis2/trunk/java/modules: addressing/test/org/apache/axis2/handlers/addressing/ codegen/src/org/apache/axis2/wsdl/template/java/ codegen/test/org/apache/axis2/rpc/ core/conf/ core/src/org/apache/axis2/ core/s...
Date Wed, 18 Jan 2006 04:29:43 GMT
Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/SunRound3Client.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/SunRound3Client.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/SunRound3Client.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round3/SunRound3Client.java Tue Jan 17 20:24:14 2006
@@ -56,7 +56,7 @@
 
             ConfigurationContext configContext =
                     new ConfigurationContextFactory().createConfigurationContextFromFileSystem(
-                            "target/test-resources/integrationRepo");
+                            "target/test-resources/integrationRepo",null);
             ServiceClient serviceClient = new ServiceClient(configContext, null);
             serviceClient.setOptions(options);
             OperationClient opClient = serviceClient.createClient(ServiceClient.ANON_OUT_IN_OP);

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round4/complex/EchoBlockingClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round4/complex/EchoBlockingClient.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round4/complex/EchoBlockingClient.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round4/complex/EchoBlockingClient.java Tue Jan 17 20:24:14 2006
@@ -45,7 +45,7 @@
 
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
             ServiceClient sender = new ServiceClient(configContext,null);
             sender.setOptions(options);
             options.setTo(targetEPR);

Modified: webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round4/simple/EchoBlockingClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round4/simple/EchoBlockingClient.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round4/simple/EchoBlockingClient.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/interop/whitemesa/round4/simple/EchoBlockingClient.java Tue Jan 17 20:24:14 2006
@@ -44,8 +44,8 @@
 
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
-            ServiceClient sender = new ServiceClient(configContext, null); 
+                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo", null);
+            ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
             options.setTo(targetEPR);
             firstchild = sender.sendReceive(util.getEchoOMElement());

Modified: webservices/axis2/trunk/java/modules/integration/src/test/soap12testing/server/SimpleServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/src/test/soap12testing/server/SimpleServer.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/src/test/soap12testing/server/SimpleServer.java (original)
+++ webservices/axis2/trunk/java/modules/integration/src/test/soap12testing/server/SimpleServer.java Tue Jan 17 20:24:14 2006
@@ -27,6 +27,7 @@
 public class SimpleServer {
     private int port;
     private Log log = LogFactory.getLog(getClass());
+
     public SimpleServer() {
         this.port = 8008;
     }
@@ -37,11 +38,12 @@
 
     public void start() {
         try {
-            File file = new File(MessageComparator.TEST_MAIN_DIR+ "target/Repository");
-            if(!file.exists()){
+            File file = new File(MessageComparator.TEST_MAIN_DIR + "target/Repository");
+            if (!file.exists()) {
                 throw new AxisFault(file.getAbsolutePath() + " File does not exist");
             }
-            SimpleHTTPServer receiver = new SimpleHTTPServer(file.getAbsolutePath(), port);
+            SimpleHTTPServer receiver = new SimpleHTTPServer(file.getAbsolutePath(),
+                    file.getAbsolutePath() + "/axis2xml", port);
             receiver.start();
         } catch (Exception e) {
             log.info(e.getMessage());

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java Tue Jan 17 20:24:14 2006
@@ -74,7 +74,7 @@
 
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CharactersetEncodingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CharactersetEncodingTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CharactersetEncodingTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CharactersetEncodingTest.java Tue Jan 17 20:24:14 2006
@@ -89,7 +89,7 @@
 
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem(Constants.TESTING_PATH + "chunking-enabledRepository");
+                    factory.createConfigurationContextFromFileSystem(Constants.TESTING_PATH + "chunking-enabledRepository",null);
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java Tue Jan 17 20:24:14 2006
@@ -91,7 +91,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem(Constants.TESTING_PATH + "commons-http-enabledRepository");
+                factory.createConfigurationContextFromFileSystem(Constants.TESTING_PATH + "commons-http-enabledRepository",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -121,7 +121,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem(Constants.TESTING_PATH + "commons-http-enabledRepository");
+                factory.createConfigurationContextFromFileSystem(Constants.TESTING_PATH + "commons-http-enabledRepository",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawRuntimeProxyTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawRuntimeProxyTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawRuntimeProxyTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawRuntimeProxyTest.java Tue Jan 17 20:24:14 2006
@@ -88,8 +88,9 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
-        ServiceClient sender = new ServiceClient(configContext,null);
+                factory.createConfigurationContextFromFileSystem(
+                        "target/test-resources/integrationRepo", null);
+        ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
 
         OMElement result = sender.sendReceive(payload);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLChunkedTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLChunkedTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLChunkedTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLChunkedTest.java Tue Jan 17 20:24:14 2006
@@ -106,7 +106,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem(CLIENT_HOME);
+                factory.createConfigurationContextFromFileSystem(CLIENT_HOME,null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(clientOptions);
         clientOptions.setTo(targetEPR);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java Tue Jan 17 20:24:14 2006
@@ -102,7 +102,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
         options.setTo(targetEPR);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLMultipleTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLMultipleTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLMultipleTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLMultipleTest.java Tue Jan 17 20:24:14 2006
@@ -97,7 +97,7 @@
             };
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo", null);
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
             options.setTo(targetEPR);
@@ -127,7 +127,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo", null);
         ServiceClient sender = new ServiceClient(configContext, null);
 
         for (int i = 0; i < 5; i++) {
@@ -176,7 +176,7 @@
             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo", null);
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
 
@@ -198,7 +198,7 @@
 
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo", null);
             ServiceClient sender = new ServiceClient(configContext, null);
 
             sender.setOptions(options);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLTest.java Tue Jan 17 20:24:14 2006
@@ -98,7 +98,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo", null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
         options.setTo(targetEPR);
@@ -125,7 +125,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo", null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -144,7 +144,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo", null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/HandlerFailureTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/HandlerFailureTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/HandlerFailureTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/HandlerFailureTest.java Tue Jan 17 20:24:14 2006
@@ -162,7 +162,7 @@
             options.setTo(targetEPR);
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java Tue Jan 17 20:24:14 2006
@@ -98,7 +98,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         Options options = new Options();
         sender.setOptions(options);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageWithServerTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageWithServerTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageWithServerTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageWithServerTest.java Tue Jan 17 20:24:14 2006
@@ -70,7 +70,6 @@
         service.addOperation(axisOperation);
 
         UtilServer.deployService(service);
-        UtilServer.start();
     }
 
     protected void tearDown() throws Exception {

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/OneWayRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/OneWayRawXMLTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/OneWayRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/OneWayRawXMLTest.java Tue Jan 17 20:24:14 2006
@@ -77,7 +77,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext, null);
 
         Options options = new Options();

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceCreateTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceCreateTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceCreateTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceCreateTest.java Tue Jan 17 20:24:14 2006
@@ -42,7 +42,7 @@
         UtilServer.start();
         configContext = UtilServer.getConfigurationContext();
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
-        clinetConfigurationctx = factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+        clinetConfigurationctx = factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
     }
 
     public void testServiceCreate() throws AxisFault {

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceDispatchingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceDispatchingTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceDispatchingTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceDispatchingTest.java Tue Jan 17 20:24:14 2006
@@ -67,7 +67,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
         options.setTo(targetEPR);
@@ -92,7 +92,7 @@
         options.setSoapAction("echoOMElement");
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -114,7 +114,7 @@
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
         options.setTo(targetEPR);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceGroupContextTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceGroupContextTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceGroupContextTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceGroupContextTest.java Tue Jan 17 20:24:14 2006
@@ -91,7 +91,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext,null);
         sender.setOptions(options);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/InvokerThread.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/InvokerThread.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/InvokerThread.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/InvokerThread.java Tue Jan 17 20:24:14 2006
@@ -57,7 +57,8 @@
             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                    factory.createConfigurationContextFromFileSystem(
+                            "target/test-resources/integrationRepo", null);
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
             OMElement result = sender.sendReceive(payload);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/profiling/ContextMemoryHandlingUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/profiling/ContextMemoryHandlingUtil.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/profiling/ContextMemoryHandlingUtil.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/profiling/ContextMemoryHandlingUtil.java Tue Jan 17 20:24:14 2006
@@ -43,7 +43,7 @@
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
         options.setTo(targetEPR);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/groovy/GroovyServiceTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/groovy/GroovyServiceTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/groovy/GroovyServiceTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/groovy/GroovyServiceTest.java Tue Jan 17 20:24:14 2006
@@ -93,7 +93,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
         OMElement result = sender.sendReceive(payload);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilServer.java Tue Jan 17 20:24:14 2006
@@ -96,7 +96,7 @@
             throw new Exception("repository directory "
                     + file.getAbsolutePath() + " does not exists");
         }
-        return erfac.createConfigurationContextFromFileSystem(file.getAbsolutePath());
+        return erfac.createConfigurationContextFromFileSystem(file.getAbsolutePath(),null);
     }
 
     public static synchronized void stop() {
@@ -129,7 +129,8 @@
 
         ConfigurationContextFactory efac = new ConfigurationContextFactory();
         ConfigurationContext configContext = efac
-                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                .createConfigurationContextFromFileSystem(
+                        "target/test-resources/integrationRepo",null);
         ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
                 configContext.getAxisConfiguration());
         configContext.getAxisConfiguration().addModule(moduleDesc);
@@ -147,7 +148,8 @@
         DeploymentEngine deploymentEngine = new DeploymentEngine();
 
         ConfigurationContextFactory efac = new ConfigurationContextFactory();
-        ConfigurationContext configContext = efac .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+        ConfigurationContext configContext = efac .createConfigurationContextFromFileSystem(
+                "target/test-resources/integrationRepo",null);
         ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
                 configContext.getAxisConfiguration());
         configContext.getAxisConfiguration().addModule(moduleDesc);
@@ -164,7 +166,7 @@
 
         ConfigurationContextFactory efac = new ConfigurationContextFactory();
         ConfigurationContext configContext = efac
-                .createConfigurationContextFromFileSystem(clientHome);
+                .createConfigurationContextFromFileSystem(clientHome,null);
         ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
                 configContext.getAxisConfiguration());
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsJMSServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsJMSServer.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsJMSServer.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsJMSServer.java Tue Jan 17 20:24:14 2006
@@ -80,7 +80,7 @@
             }
 
             ConfigurationContext er = erfac.createConfigurationContextFromFileSystem(file
-                    .getAbsolutePath());
+                    .getAbsolutePath(),null);
             try {
                 Thread.sleep(2000);
             } catch (InterruptedException e1) {

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsTCPServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsTCPServer.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsTCPServer.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/integration/UtilsTCPServer.java Tue Jan 17 20:24:14 2006
@@ -67,7 +67,7 @@
             }
 
             ConfigurationContext er = erfac.createConfigurationContextFromFileSystem(file
-                    .getAbsolutePath());
+                    .getAbsolutePath(),null);
             try {
                 Thread.sleep(2000);
             } catch (InterruptedException e1) {

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/JMSEchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/JMSEchoRawXMLTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/JMSEchoRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/JMSEchoRawXMLTest.java Tue Jan 17 20:24:14 2006
@@ -188,7 +188,7 @@
 
     public void testEchoXMLSyncMC() throws Exception {
         ConfigurationContextFactory confac = new ConfigurationContextFactory();
-        ConfigurationContext configContext = confac.createConfigurationContextFromFileSystem(Constants.TESTING_REPOSITORY);
+        ConfigurationContext configContext = confac.createConfigurationContextFromFileSystem(Constants.TESTING_REPOSITORY,null);
 
         AxisOperation opdesc = new OutInAxisOperation(new QName("echoOMElement"));
         Options options = new Options();

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/UtilsMailServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/UtilsMailServer.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/UtilsMailServer.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/UtilsMailServer.java Tue Jan 17 20:24:14 2006
@@ -59,7 +59,7 @@
                     file.exists());
             ConfigurationContextFactory builder = new ConfigurationContextFactory();
             SERVER_CONFIG_CONTEXT =
-                    builder.createConfigurationContextFromFileSystem(file.getAbsolutePath());
+                    builder.createConfigurationContextFromFileSystem(file.getAbsolutePath(),null);
         }
         return SERVER_CONFIG_CONTEXT;
     }
@@ -73,7 +73,7 @@
                 file.exists());
         ConfigurationContextFactory builder = new ConfigurationContextFactory();
         CLIENT_CONFIG_CONTEXT =
-                builder.createConfigurationContextFromFileSystem(file.getAbsolutePath());
+                builder.createConfigurationContextFromFileSystem(file.getAbsolutePath(),null);
         }
         return CLIENT_CONFIG_CONTEXT;
     }

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMCommonsChunkingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMCommonsChunkingTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMCommonsChunkingTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMCommonsChunkingTest.java Tue Jan 17 20:24:14 2006
@@ -28,11 +28,7 @@
 import org.apache.axis2.engine.Echo;
 import org.apache.axis2.engine.util.TestConstants;
 import org.apache.axis2.integration.UtilServer;
-import org.apache.axis2.om.OMAbstractFactory;
-import org.apache.axis2.om.OMElement;
-import org.apache.axis2.om.OMFactory;
-import org.apache.axis2.om.OMNamespace;
-import org.apache.axis2.om.OMText;
+import org.apache.axis2.om.*;
 import org.apache.axis2.om.impl.llom.OMTextImpl;
 import org.apache.axis2.soap.SOAP12Constants;
 import org.apache.axis2.util.Utils;
@@ -102,7 +98,8 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem(Constants.TESTING_PATH + "commons-http-enabledRepository");
+                factory.createConfigurationContextFromFileSystem(
+                        Constants.TESTING_PATH + "commons-http-enabledRepository", null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
         options.setTo(targetEPR);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMLoadTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMLoadTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMLoadTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMLoadTest.java Tue Jan 17 20:24:14 2006
@@ -109,7 +109,7 @@
 
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
             OMElement result = sender.sendReceive(payload);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMTest.java Tue Jan 17 20:24:14 2006
@@ -127,7 +127,7 @@
         };
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -156,7 +156,7 @@
         options.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext,null);
         sender.setOptions(options);
         options.setTo(targetEPR);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMToBase64Test.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMToBase64Test.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMToBase64Test.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mtom/EchoRawMTOMToBase64Test.java Tue Jan 17 20:24:14 2006
@@ -122,7 +122,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(clientOptions);
 
@@ -151,7 +151,7 @@
 
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
-                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                    factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(clientOptions);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/MultirefTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/MultirefTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/MultirefTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/MultirefTest.java Tue Jan 17 20:24:14 2006
@@ -128,7 +128,7 @@
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
         ConfigurationContext configConetxt = new ConfigurationContextFactory()
-                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
         rpcClient.setOptions(options);
         MessageContext reqMessageContext = new MessageContext();
@@ -181,7 +181,7 @@
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
         ConfigurationContext configConetxt = new ConfigurationContextFactory()
-                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
         rpcClient.setOptions(options);
         MessageContext reqMessageContext = new MessageContext();
@@ -229,7 +229,7 @@
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
         ConfigurationContext configConetxt = new ConfigurationContextFactory()
-                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
         rpcClient.setOptions(options);
         MessageContext reqMessageContext = new MessageContext();
@@ -281,7 +281,7 @@
             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
             ConfigurationContext configConetxt = new ConfigurationContextFactory()
-                    .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                    .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
             RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
             rpcClient.setOptions(options);
             MessageContext reqMessageContext = new MessageContext();
@@ -341,7 +341,7 @@
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
         ConfigurationContext configConetxt = new ConfigurationContextFactory()
-                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
         rpcClient.setOptions(options);
         MessageContext reqMessageContext = new MessageContext();
@@ -401,7 +401,7 @@
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
         ConfigurationContext configConetxt = new ConfigurationContextFactory()
-                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
         rpcClient.setOptions(options);
         MessageContext reqMessageContext = new MessageContext();
@@ -462,7 +462,7 @@
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
         ConfigurationContext configConetxt = new ConfigurationContextFactory()
-                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
         rpcClient.setOptions(options);
         MessageContext reqMessageContext = new MessageContext();
@@ -537,7 +537,7 @@
         options.setTo(targetEPR);
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
         ConfigurationContext configConetxt = new ConfigurationContextFactory()
-                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
         rpcClient.setOptions(options);
         MessageContext reqMessageContext = new MessageContext();
@@ -604,7 +604,7 @@
 
 
         ConfigurationContext configConetxt = new ConfigurationContextFactory()
-                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
         rpcClient.setOptions(options);
         MessageContext reqMessageContext = new MessageContext();

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java Tue Jan 17 20:24:14 2006
@@ -105,7 +105,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem(clientHome);
+                factory.createConfigurationContextFromFileSystem(clientHome,null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
         options.setTo(targetEPR);
@@ -159,7 +159,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -193,7 +193,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -212,7 +212,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -227,7 +227,7 @@
         configureSystem("add");
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
 
         Options options = new Options();
@@ -251,7 +251,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -272,7 +272,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -293,7 +293,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -312,7 +312,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -351,7 +351,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -371,7 +371,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -393,7 +393,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -427,7 +427,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -450,7 +450,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -476,7 +476,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 
@@ -498,7 +498,7 @@
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
-                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         RPCServiceClient sender = new RPCServiceClient(configContext, null);
         sender.setOptions(options);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/InteropTestBase.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/InteropTestBase.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/InteropTestBase.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/InteropTestBase.java Tue Jan 17 20:24:14 2006
@@ -120,7 +120,7 @@
     private String targetEpr = "http://127.0.0.1:" +
             // 5556 +
             UtilServer.TESTING_PORT + "/axis2/services/PingPort";
- 
+
     public InteropTestBase() {
         super();
     }

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/tcp/TCPEchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/tcp/TCPEchoRawXMLTest.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/tcp/TCPEchoRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/tcp/TCPEchoRawXMLTest.java Tue Jan 17 20:24:14 2006
@@ -186,7 +186,8 @@
     public void testEchoXMLSyncMC() throws Exception {
         //TODO : Fix Me deepal , I am not complete
         ConfigurationContextFactory confac = new ConfigurationContextFactory();
-        ConfigurationContext configContext = confac.createConfigurationContextFromFileSystem(Constants.TESTING_REPOSITORY);
+        ConfigurationContext configContext =
+                confac.createConfigurationContextFromFileSystem(Constants.TESTING_REPOSITORY, null);
 
         AxisOperation opdesc = new OutInAxisOperation(new QName("echoOMElement"));
         Options options = new Options();

Modified: webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/integration/UtilServer.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/integration/UtilServer.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/integration/UtilServer.java (original)
+++ webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/integration/UtilServer.java Tue Jan 17 20:24:14 2006
@@ -87,7 +87,7 @@
             throw new Exception("repository directory "
                                 + file.getAbsolutePath() + " does not exists");
         }
-        return erfac.createConfigurationContextFromFileSystem(file.getAbsolutePath());
+        return erfac.createConfigurationContextFromFileSystem(file.getAbsolutePath(),null);
     }
 
     public static synchronized void stop() {
@@ -120,7 +120,7 @@
 
         ConfigurationContextFactory efac = new ConfigurationContextFactory();
         ConfigurationContext configContext = efac
-                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+                .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
                                                                     configContext.getAxisConfiguration());
         configContext.getAxisConfiguration().addModule(moduleDesc);
@@ -138,7 +138,7 @@
         DeploymentEngine deploymentEngine = new DeploymentEngine();
 
         ConfigurationContextFactory efac = new ConfigurationContextFactory();
-        ConfigurationContext configContext = efac .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
+        ConfigurationContext configContext = efac .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo",null);
         ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
                                                                     configContext.getAxisConfiguration());
         configContext.getAxisConfiguration().addModule(moduleDesc);
@@ -155,7 +155,7 @@
 
         ConfigurationContextFactory efac = new ConfigurationContextFactory();
         ConfigurationContext configContext = efac
-                .createConfigurationContextFromFileSystem(clientHome);
+                .createConfigurationContextFromFileSystem(clientHome,null);
         ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
                                                                     configContext.getAxisConfiguration());
 

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/ClientUtil.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/ClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/amazon/search/ClientUtil.java Tue Jan 17 20:24:14 2006
@@ -118,7 +118,7 @@
         ConfigurationContextFactory fac = new ConfigurationContextFactory();
         ConfigurationContext configContext = null;
         try {
-            configContext = fac.createConfigurationContextFromFileSystem("Search");
+            configContext = fac.createConfigurationContextFromFileSystem("Search","Search/axis2.xml");
         } catch (DeploymentException e) {
             e.printStackTrace();
         }

Modified: webservices/axis2/trunk/java/modules/samples/src/sample/security/Client.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/security/Client.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/security/Client.java (original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/security/Client.java Tue Jan 17 20:24:14 2006
@@ -18,12 +18,11 @@
 
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.Constants;
-import org.apache.axis2.context.ConfigurationContextFactory;
-import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.addressing.EndpointReference;
-import org.apache.axis2.client.Call;
 import org.apache.axis2.client.Options;
 import org.apache.axis2.client.ServiceClient;
+import org.apache.axis2.context.ConfigurationContext;
+import org.apache.axis2.context.ConfigurationContextFactory;
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
 import org.apache.axis2.om.OMFactory;
@@ -44,10 +43,11 @@
             // Get the repository location from the args
             String repo = args[0];
             String port = args[1];
+            //todo  : third argumnet should be axis2.xml
 
             OMElement payload = getEchoElement();
             ConfigurationContextFactory fac = new ConfigurationContextFactory();
-            ConfigurationContext configContext = fac.createConfigurationContextFromFileSystem(repo);
+            ConfigurationContext configContext = fac.createConfigurationContextFromFileSystem(repo, repo + "/axis2.xml");
             ServiceClient serviceClient = new ServiceClient(configContext, null);
             Options options = new Options();
             serviceClient.setOptions(options);

Modified: webservices/axis2/trunk/java/modules/samples/src/userguide/clients/ClientSideModuleEngagement.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/userguide/clients/ClientSideModuleEngagement.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/userguide/clients/ClientSideModuleEngagement.java (original)
+++ webservices/axis2/trunk/java/modules/samples/src/userguide/clients/ClientSideModuleEngagement.java Tue Jan 17 20:24:14 2006
@@ -41,7 +41,8 @@
         //then modify the axis2.xml that is generating there according to
         //phases that being included in the "module.xml"
         ConfigurationContext configContext = new ConfigurationContextFactory().
-                createConfigurationContextFromFileSystem(repository.getAbsolutePath());
+                createConfigurationContextFromFileSystem(repository.getAbsolutePath(),
+                        repository.getName() + "/axis2.xml");
         ServiceClient serviceClient = new ServiceClient(configContext, null);
         serviceClient.engageModule(new QName("LoggingModule"));
 //        call.engageModule(new QName("LoggingModule"));

Modified: webservices/axis2/trunk/java/modules/security/interop/org/apache/axis2/security/InteropScenarioClient.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/interop/org/apache/axis2/security/InteropScenarioClient.java?rev=370041&r1=370040&r2=370041&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/interop/org/apache/axis2/security/InteropScenarioClient.java (original)
+++ webservices/axis2/trunk/java/modules/security/interop/org/apache/axis2/security/InteropScenarioClient.java Tue Jan 17 20:24:14 2006
@@ -17,18 +17,14 @@
 package org.apache.axis2.security;
 
 import org.apache.axis2.Constants;
+import org.apache.axis2.context.ConfigurationContextFactory;
 import org.apache.axis2.oasis.ping.PingPortStub;
 import org.apache.axis2.security.handler.WSSHandlerConstants;
 import org.apache.axis2.security.handler.config.InflowConfiguration;
 import org.apache.axis2.security.handler.config.OutflowConfiguration;
 import org.apache.axis2.soap.SOAP11Constants;
 import org.apache.axis2.soap.SOAP12Constants;
-import org.xmlsoap.ping.Ping;
-import org.xmlsoap.ping.PingDocument;
-import org.xmlsoap.ping.PingResponse;
-import org.xmlsoap.ping.PingResponseDocument;
-import org.xmlsoap.ping.TicketType;
-import org.apache.axis2.context.ConfigurationContextFactory;
+import org.xmlsoap.ping.*;
 
 /**
  * Client for the interop service
@@ -36,13 +32,13 @@
  */
 public class InteropScenarioClient {
 
-String soapNsURI = SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI;
+    String soapNsURI = SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI;
 
-	public InteropScenarioClient(boolean useSOAP12InStaticConfigTest) {
-		if(useSOAP12InStaticConfigTest) {
-			soapNsURI = SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI;
-		}
-	}
+    public InteropScenarioClient(boolean useSOAP12InStaticConfigTest) {
+        if (useSOAP12InStaticConfigTest) {
+            soapNsURI = SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI;
+        }
+    }
 
     public void invokeWithStaticConfig(String clientRepo, String url) throws Exception {
         TicketType ticket = TicketType.Factory.newInstance();
@@ -56,7 +52,8 @@
         pingDoc.setPing(ping);
 
         PingPortStub stub = new PingPortStub(
-                new ConfigurationContextFactory().createConfigurationContextFromFileSystem(clientRepo),url);
+                new ConfigurationContextFactory().createConfigurationContextFromFileSystem(
+                        clientRepo, null), url);
 
         //Enable MTOM to those scenarios where they are configured using:
         //<optimizeParts>xpathExpression</optimizeParts>
@@ -70,7 +67,9 @@
         System.out.println(pingRes.getText());
     }
 
-    public void invokeWithGivenConfig(String clientRepo, String url, OutflowConfiguration outflowConfig, InflowConfiguration inflowConfig) throws Exception {
+    public void invokeWithGivenConfig(String clientRepo,
+                                      String url, OutflowConfiguration outflowConfig,
+                                      InflowConfiguration inflowConfig) throws Exception {
         TicketType ticket = TicketType.Factory.newInstance();
         ticket.setId("My ticket Id");
 
@@ -82,21 +81,21 @@
         pingDoc.setPing(ping);
 
         PingPortStub stub = new PingPortStub(
-                new ConfigurationContextFactory().createConfigurationContextFromFileSystem(clientRepo),url);
+                new ConfigurationContextFactory().createConfigurationContextFromFileSystem(clientRepo, null), url);
 
         //Enable MTOM to those scenarios where they are configured using:
         //<optimizeParts>xpathExpression</optimizeParts>
         stub._getOptions().setProperty(Constants.Configuration.ENABLE_MTOM, Constants.VALUE_TRUE);
 
         //Engage the security module
-        
+
         stub.engageModule(new javax.xml.namespace.QName("security"));
 
-        if(outflowConfig !=null){
-        	stub._getOptions().setProperty(WSSHandlerConstants.OUTFLOW_SECURITY, outflowConfig.getProperty());
+        if (outflowConfig != null) {
+            stub._getOptions().setProperty(WSSHandlerConstants.OUTFLOW_SECURITY, outflowConfig.getProperty());
         }
-        if(inflowConfig != null) {
-        	stub._getOptions().setProperty(WSSHandlerConstants.INFLOW_SECURITY, inflowConfig.getProperty());
+        if (inflowConfig != null) {
+            stub._getOptions().setProperty(WSSHandlerConstants.INFLOW_SECURITY, inflowConfig.getProperty());
         }
         PingResponseDocument pingResDoc = stub.Ping(pingDoc);
 



Mime
View raw message