3839404142434445464748
{ WS1 client = (WS1) new XFireProxyFactory(getXFire()).create(service, "xfire.local://WS1"); try { client.throwException(true); } catch (WS1ExtendedException ex) { Object sb = ex.getSimpleBean(); assertTrue(sb instanceof SimpleBean);
4142434445464748495051
System.out.println(ws1Proxy.getRootBean("b")); System.out.println(ws1Proxy.getRootBean("c")); try { ws1Proxy.throwException(false); } catch (WS1Exception e) { System.out.println(e); }
5657585960616263646566
System.out.println(); } try { ws1Proxy.throwException(true); } catch (WS1Exception e) { System.out.println(e); }