@BeforeClass
public static void beforeClass() throws Exception
{
dispatcher = EmbeddedContainer.start().getDispatcher();
POJOResourceFactory noDefaults = new POJOResourceFactory(IDServiceTestBean.class);
dispatcher.getRegistry().addResourceFactory(noDefaults);
httpClient = new HttpClient();
ApacheHttpClientExecutor executor = new ApacheHttpClientExecutor(httpClient);
url = generateBaseUrl();
client = ProxyFactory.create(IDServiceTest.class, url,