service1.addPort(endpoint,
SOAPBinding.SOAP12HTTP_BINDING, "http://localhost:19000/SoapContext/SoapPort");
Greeter greeter = service1.getPort(endpoint, Greeter.class);
ClientProxy.getClient(greeter).getInInterceptors().add(new LoggingInInterceptor());
ClientProxy.getClient(greeter).getOutInterceptors().add(new LoggingOutInterceptor());
String ret = greeter.sayHi();
assertEquals(ret, "Bonjour");
String noSuchCodeFault = "NoSuchCodeLitFault";
String badRecordFault = "BadRecordLitFault";
try {
greeter.testDocLitFault(noSuchCodeFault);