public class ProviderClientServerTest extends CamelSpringTestSupport {
@Test
public void testClientInvocation() throws Exception {
// set the client's service access point
Client client = new Client("http://localhost:9000/GreeterContext/SOAPMessageService");
// invoke the services
String response = client.invoke();
assertEquals("Get a wrong response", "Greetings from Apache Camel!!!! Request was Hello Camel!!", response);
}