// The properties for the EndpointDescription
Map<String, Object> endpointProps = createEndpointProps(sd, iClass, new String[] {
Constants.WS_CONFIG_TYPE
}, address,intents);
EndpointDescription endpdDesc = null;
Thread.currentThread().setContextClassLoader(ServerFactoryBean.class.getClassLoader());
Server server = factory.create();
// TODO: does this still make sense ?!?
registerStopHook(bus, httpService, server, contextRoot, Constants.WS_HTTP_SERVICE_CONTEXT);
endpdDesc = new EndpointDescription(endpointProps);
exportRegistration.setServer(server);
// add the information on the new Endpoint to the export registration
exportRegistration.setEndpointdescription(endpdDesc);
} catch (IntentUnsatifiedException iue) {