Object property = new TreeBidiMap();
clientConfigContext.setProperty(ServerConstants.FILE_RESOURCE_MAP, property);
clientConfigContext.setContextRoot(carbonContextRoot);
//Deploying Web service which resides in bundles
Axis2ServiceRegistry serviceRegistry = new Axis2ServiceRegistry(serverConfigContext);
serviceRegistry.register(bundleContext.getBundles());
new OSGiAxis2ServiceDeployer(serverConfigContext, bundleContext).registerBundleListener(); // This will register the OSGi bundle listener
HttpService httpService = dataHolder.getHttpService();
HttpContext defaultHttpContext = httpService.createDefaultHttpContext();