jbi.activateComponent(echo, "echo");
URL wsdl = getClass().getResource("/HelloWorld-DOC.wsdl");
assertNotNull(wsdl);
HelloService helloService = new HelloService(wsdl, serviceName);
HelloPortType port = helloService.getHelloPort();
Client client = ClientProxy.getClient(port);
client.getInInterceptors().add(new LoggingInInterceptor());
HelloRequest req = new HelloRequest();
req.setText("hello");
HelloHeader header = new HelloHeader();
header.setId("ffang");
HelloResponse rep = port.hello(req, header);
Thread.sleep(1000);
assertEquals(rep.getText(), "helloffang");
}