} catch (GreetMeFault ex) {
assertEquals("Some fault detail", ex.getFaultInfo().getGreetMeFaultDetail());
}
try {
port.pingMe();
fail("We expect exception here");
} catch (PingMeFault ex) {
FaultDetail detail = ex.getFaultInfo();
assertEquals("Wrong faultDetail major", detail.getMajor(), 2);
assertEquals("Wrong faultDetail minor", detail.getMinor(), 1);