JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
factory.setAddress("http://localhost:" + getPort1() + "/"
+ getClass().getSimpleName() + "/CamelContext/RouterPort");
factory.setServiceClass(Person.class);
Person person = factory.create(Person.class);
GetPerson payload = new GetPerson();
payload.setPersonId("1234");
GetPersonResponse reply = person.getPerson(payload);
assertEquals("Get the wrong person id.", "1234", reply.getPersonId());
}