final Dictionary<String, String> props = new Hashtable<String, String>();
props.put(Constants.SERVICE_RANKING, "9999");
serviceInfoFactory = getContext().registerService(
IServiceInfoFactory.class,
new XMLServiceInfoFactory(new EndpointDescriptionWriter()), props);
// Actually register with default service (IConcatService)
registration = registerDefaultService(getServiceProperties());
// Wait a while
Thread.sleep(REGISTER_WAIT);