protected void deployService(String bundleName, String defFile, QName serviceName, String port,
MessageReceiver receiver) throws WSDLException, IOException, URISyntaxException {
URI wsdlUri = new File(getBundleDir(bundleName) + "/" + defFile).toURI();
InputStream is = wsdlUri.toURL().openStream();
WSDL11ToAxisServiceBuilder serviceBuilder = new ODEAxisService.WSDL11ToAxisPatchedBuilder(is, serviceName, port);
serviceBuilder.setBaseUri(wsdlUri.toString());
serviceBuilder.setCustomResolver(new Axis2UriResolver());
serviceBuilder.setCustomWSLD4JResolver(new Axis2WSDLLocator(wsdlUri));
serviceBuilder.setServerSide(true);
AxisService axisService = serviceBuilder.populateService();
axisService.setName(serviceName.getLocalPart());
axisService.setWsdlFound(true);
axisService.setCustomWsdl(true);
axisService.setClassLoader(getConfigurationContext().getAxisConfiguration().getServiceClassLoader());