}
public static ServiceContext createAdressedEnabledClientSide(
AxisService service, String clientHome)
throws AxisFault {
DeploymentEngine deploymentEngine = new DeploymentEngine();
File file = new File(
org.apache.axis2.Constants.TESTING_REPOSITORY +
"/modules/addressing.mar");
TestCase.assertTrue(file.exists());
ConfigurationContextFactory efac = new ConfigurationContextFactory();
ConfigurationContext sysContext =
efac.buildClientConfigurationContext(clientHome);
ModuleDescription moduleDesc = deploymentEngine.buildModule(file,sysContext.getAxisConfiguration());
sysContext.getAxisConfiguration().addModule(moduleDesc);
//sysContext.getAxisConfiguration().engageModule(moduleDesc.getName());
sysContext.getAxisConfiguration().addService(service);