You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by aj...@apache.org on 2006/01/04 15:05:38 UTC
svn commit: r365910 [2/2] - in /webservices/axis2/trunk/java/modules:
addressing/test/org/apache/axis2/handlers/addressing/
codegen/src/org/apache/axis2/wsdl/codegen/
codegen/src/org/apache/axis2/wsdl/codegen/emitter/
codegen/src/org/apache/axis2/wsdl/...
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -96,7 +96,7 @@
throw new Exception("repository directory "
+ file.getAbsolutePath() + " does not exists");
}
- return erfac.buildConfigurationContext(file.getAbsolutePath());
+ return erfac.createConfigurationContextFromFileSystem(file.getAbsolutePath());
}
public static synchronized void stop() {
@@ -129,7 +129,7 @@
ConfigurationContextFactory efac = new ConfigurationContextFactory();
ConfigurationContext configContext = efac
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
configContext.getAxisConfiguration());
configContext.getAxisConfiguration().addModule(moduleDesc);
@@ -147,7 +147,7 @@
DeploymentEngine deploymentEngine = new DeploymentEngine();
ConfigurationContextFactory efac = new ConfigurationContextFactory();
- ConfigurationContext configContext = efac .buildConfigurationContext("target/test-resources/integrationRepo");
+ ConfigurationContext configContext = efac .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
configContext.getAxisConfiguration());
configContext.getAxisConfiguration().addModule(moduleDesc);
@@ -164,7 +164,7 @@
ConfigurationContextFactory efac = new ConfigurationContextFactory();
ConfigurationContext configContext = efac
- .buildConfigurationContext(clientHome);
+ .createConfigurationContextFromFileSystem(clientHome);
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -78,7 +78,7 @@
throw new Exception("Repository directory does not exist");
}
- ConfigurationContext er = erfac.buildConfigurationContext(file
+ ConfigurationContext er = erfac.createConfigurationContextFromFileSystem(file
.getAbsolutePath());
try {
Thread.sleep(2000);
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -65,7 +65,7 @@
throw new Exception("Repository directory does not exist");
}
- ConfigurationContext er = erfac.buildConfigurationContext(file
+ ConfigurationContext er = erfac.createConfigurationContextFromFileSystem(file
.getAbsolutePath());
try {
Thread.sleep(2000);
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -191,7 +191,7 @@
public void testEchoXMLSyncMC() throws Exception {
ConfigurationContextFactory confac = new ConfigurationContextFactory();
- ConfigurationContext configContext = confac.buildConfigurationContext(Constants.TESTING_REPOSITORY);
+ ConfigurationContext configContext = confac.createConfigurationContextFromFileSystem(Constants.TESTING_REPOSITORY);
AxisOperation opdesc = new OutInAxisOperation(new QName("echoOMElement"));
Options options = new Options();
Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java?rev=365910&r1=365909&r2=365910&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailOneWayRawXMLTest.java Wed Jan 4 06:03:40 2006
@@ -139,7 +139,7 @@
// file.exists());
// ConfigurationContextFactory builder = new ConfigurationContextFactory();
// ConfigurationContext configContext =
-// builder.buildConfigurationContext(file.getAbsolutePath());
+// builder.createConfigurationContext(file.getAbsolutePath());
// return configContext;
// }
//
Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java?rev=365910&r1=365909&r2=365910&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/mail/MailRequestResponseRawXMLTest.java Wed Jan 4 06:03:40 2006
@@ -165,7 +165,7 @@
// Exception {
// ConfigurationContextFactory builder = new ConfigurationContextFactory();
// ConfigurationContext configContext =
- // builder.buildConfigurationContext(
+ // builder.createConfigurationContext(
// org.apache.axis2.Constants.TESTING_REPOSITORY);
//
// TransportInDescription transportIn =
@@ -208,7 +208,7 @@
// Exception {
// ConfigurationContextFactory builder = new ConfigurationContextFactory();
// ConfigurationContext configContext =
- // builder.buildConfigurationContext(
+ // builder.createConfigurationContext(
// org.apache.axis2.Constants.TESTING_REPOSITORY);
//
// TransportInDescription transportIn =
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -59,7 +59,7 @@
file.exists());
ConfigurationContextFactory builder = new ConfigurationContextFactory();
SERVER_CONFIG_CONTEXT =
- builder.buildConfigurationContext(file.getAbsolutePath());
+ builder.createConfigurationContextFromFileSystem(file.getAbsolutePath());
}
return SERVER_CONFIG_CONTEXT;
}
@@ -73,7 +73,7 @@
file.exists());
ConfigurationContextFactory builder = new ConfigurationContextFactory();
CLIENT_CONFIG_CONTEXT =
- builder.buildConfigurationContext(file.getAbsolutePath());
+ builder.createConfigurationContextFromFileSystem(file.getAbsolutePath());
}
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -98,7 +98,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext(Constants.TESTING_PATH + "commons-http-enabledRepository");
+ factory.createConfigurationContextFromFileSystem(Constants.TESTING_PATH + "commons-http-enabledRepository");
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -105,7 +105,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -123,7 +123,7 @@
};
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
ServiceClient sender = new ServiceClient(configContext, null);
sender.setOptions(options);
@@ -153,7 +153,7 @@
options.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -118,7 +118,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
ServiceClient sender = new ServiceClient(configContext, null);
sender.setOptions(clientOptions);
@@ -148,7 +148,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -128,7 +128,7 @@
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
ConfigurationContext configConetxt = new ConfigurationContextFactory()
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
rpcClient.setOptions(options);
MessageContext reqMessageContext = new MessageContext(configConetxt);
@@ -180,7 +180,7 @@
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
ConfigurationContext configConetxt = new ConfigurationContextFactory()
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
rpcClient.setOptions(options);
MessageContext reqMessageContext = new MessageContext(configConetxt);
@@ -227,7 +227,7 @@
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
ConfigurationContext configConetxt = new ConfigurationContextFactory()
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
rpcClient.setOptions(options);
MessageContext reqMessageContext = new MessageContext(configConetxt);
@@ -278,7 +278,7 @@
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
ConfigurationContext configConetxt = new ConfigurationContextFactory()
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
rpcClient.setOptions(options);
MessageContext reqMessageContext = new MessageContext(configConetxt);
@@ -337,7 +337,7 @@
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
ConfigurationContext configConetxt = new ConfigurationContextFactory()
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
rpcClient.setOptions(options);
MessageContext reqMessageContext = new MessageContext(configConetxt);
@@ -397,7 +397,7 @@
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
ConfigurationContext configConetxt = new ConfigurationContextFactory()
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
rpcClient.setOptions(options);
MessageContext reqMessageContext = new MessageContext(configConetxt);
@@ -458,7 +458,7 @@
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
ConfigurationContext configConetxt = new ConfigurationContextFactory()
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
rpcClient.setOptions(options);
MessageContext reqMessageContext = new MessageContext(configConetxt);
@@ -533,7 +533,7 @@
options.setTo(targetEPR);
options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
ConfigurationContext configConetxt = new ConfigurationContextFactory()
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
rpcClient.setOptions(options);
MessageContext reqMessageContext = new MessageContext(configConetxt);
@@ -599,7 +599,7 @@
ConfigurationContext configConetxt = new ConfigurationContextFactory()
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient rpcClient = new RPCServiceClient(configConetxt, null);
rpcClient.setOptions(options);
MessageContext reqMessageContext = new MessageContext(configConetxt);
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -105,7 +105,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext(clientHome);
+ factory.createConfigurationContextFromFileSystem(clientHome);
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
options.setTo(targetEPR);
@@ -160,7 +160,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -195,7 +195,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -215,7 +215,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -231,7 +231,7 @@
configureSystem("add");
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
Options options = new Options();
@@ -256,7 +256,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -278,7 +278,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -300,7 +300,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -320,7 +320,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -360,7 +360,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -381,7 +381,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -404,7 +404,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -439,7 +439,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -463,7 +463,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -490,7 +490,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
@@ -513,7 +513,7 @@
ConfigurationContextFactory factory = new ConfigurationContextFactory();
ConfigurationContext configContext =
- factory.buildConfigurationContext("target/test-resources/integrationRepo");
+ factory.createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
RPCServiceClient sender = new RPCServiceClient(configContext, null);
sender.setOptions(options);
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -189,7 +189,7 @@
public void testEchoXMLSyncMC() throws Exception {
//TODO : Fix Me deepal , I am not complete
ConfigurationContextFactory confac = new ConfigurationContextFactory();
- ConfigurationContext configContext = confac.buildConfigurationContext(Constants.TESTING_REPOSITORY);
+ ConfigurationContext configContext = confac.createConfigurationContextFromFileSystem(Constants.TESTING_REPOSITORY);
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -88,7 +88,7 @@
throw new Exception("repository directory "
+ file.getAbsolutePath() + " does not exists");
}
- return erfac.buildConfigurationContext(file.getAbsolutePath());
+ return erfac.createConfigurationContextFromFileSystem(file.getAbsolutePath());
}
public static synchronized void stop() {
@@ -121,7 +121,7 @@
ConfigurationContextFactory efac = new ConfigurationContextFactory();
ConfigurationContext configContext = efac
- .buildConfigurationContext("target/test-resources/integrationRepo");
+ .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
configContext.getAxisConfiguration());
configContext.getAxisConfiguration().addModule(moduleDesc);
@@ -139,7 +139,7 @@
DeploymentEngine deploymentEngine = new DeploymentEngine();
ConfigurationContextFactory efac = new ConfigurationContextFactory();
- ConfigurationContext configContext = efac .buildConfigurationContext("target/test-resources/integrationRepo");
+ ConfigurationContext configContext = efac .createConfigurationContextFromFileSystem("target/test-resources/integrationRepo");
ModuleDescription moduleDesc = deploymentEngine.buildModule(file,
configContext.getAxisConfiguration());
configContext.getAxisConfiguration().addModule(moduleDesc);
@@ -156,7 +156,7 @@
ConfigurationContextFactory efac = new ConfigurationContextFactory();
ConfigurationContext configContext = efac
- .buildConfigurationContext(clientHome);
+ .createConfigurationContextFromFileSystem(clientHome);
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -118,7 +118,7 @@
ConfigurationContextFactory fac = new ConfigurationContextFactory();
ConfigurationContext configContext = null;
try {
- configContext = fac.buildConfigurationContext("Search");
+ configContext = fac.createConfigurationContextFromFileSystem("Search");
} catch (DeploymentException e) {
e.printStackTrace();
}
Modified: webservices/axis2/trunk/java/modules/samples/src/sample/google/search/ClientUtil.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/src/sample/google/search/ClientUtil.java?rev=365910&r1=365909&r2=365910&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/src/sample/google/search/ClientUtil.java (original)
+++ webservices/axis2/trunk/java/modules/samples/src/sample/google/search/ClientUtil.java Wed Jan 4 06:03:40 2006
@@ -117,7 +117,7 @@
getOMElement(omFactory, defNs, "oe", "xsd:string", "latin1"));
ConfigurationContextFactory fac = new ConfigurationContextFactory();
- ConfigurationContext configContext = fac.buildConfigurationContext(
+ ConfigurationContext configContext = fac.createConfigurationContextFromFileSystem(
"doGoogleSearch");
msgContext = new MessageContext(configContext);
msgContext.setEnvelope(envelope);
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=365910&r1=365909&r2=365910&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 Wed Jan 4 06:03:40 2006
@@ -41,7 +41,7 @@
//then modify the axis2.xml that is generating there according to
//phases that being included in the "module.xml"
ConfigurationContext configContext = new ConfigurationContextFactory().
- buildConfigurationContext(repository.getAbsolutePath());
+ createConfigurationContextFromFileSystem(repository.getAbsolutePath());
ServiceClient serviceClient = new ServiceClient(configContext, null);
serviceClient.engageModule(new QName("LoggingModule"));
// call.engageModule(new QName("LoggingModule"));
Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/ant/AntCodegenTask.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/ant/AntCodegenTask.java?rev=365910&r1=365909&r2=365910&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/ant/AntCodegenTask.java (original)
+++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/ant/AntCodegenTask.java Wed Jan 4 06:03:40 2006
@@ -172,9 +172,9 @@
//or gets generates as seperate classes
if (unwrapClasses) {
optionMap.put(
- CommandLineOptionConstants.UNWRAP_CLASSES_OPTION,
+ CommandLineOptionConstants.UNPACK_CLASSES_OPTION,
new CommandLineOption(
- CommandLineOptionConstants.UNWRAP_CLASSES_OPTION,
+ CommandLineOptionConstants.UNPACK_CLASSES_OPTION,
new String[0]));
}
Modified: webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/builder/wsdl4j/WSDLPump.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/builder/wsdl4j/WSDLPump.java?rev=365910&r1=365909&r2=365910&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/builder/wsdl4j/WSDLPump.java (original)
+++ webservices/axis2/trunk/java/modules/wsdl/src/org/apache/axis2/wsdl/builder/wsdl4j/WSDLPump.java Wed Jan 4 06:03:40 2006
@@ -19,7 +19,6 @@
import com.ibm.wsdl.extensions.soap.SOAPConstants;
import org.apache.axis2.wsdl.builder.WSDLComponentFactory;
import org.apache.ws.policy.util.DOMPolicyReader;
-import org.apache.ws.policy.util.OMPolicyReader;
import org.apache.ws.policy.util.PolicyFactory;
import org.apache.wsdl.*;
import org.apache.wsdl.extensions.DefaultExtensibilityElement;