assertEquals("Get a wrong response ", "Hello James from EndpointB", resp);
port.greetMeOneWay(System.getProperty("user.name"));
try {
port.pingMe("hello");
fail("expects the exception here");
} catch (PingMeFault ex) {
assertEquals("Get a wrong exception message", "PingMeFault raised by server EndpointB", ex.getMessage());
FaultDetail detail = ex.getFaultInfo();
assertEquals("Wrong FaultDetail major:", 2, detail.getMajor());