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