132133134135136137138139140141142
if (obj != null) { if (obj instanceof Closeable) { ((Closeable)obj).close(); } else { Client c = ClientProxy.getClient(obj); c.destroy(); } obj = null; } } }
96979899100101102103104105106
949596979899100101102103104
if (obj != null) { if (obj instanceof Closeable) { ((Closeable)obj).close(); } else { Client c = ClientProxy.getClient(obj); c.destroy(); } } } } }
131132133134135136137138139140141
185186187188189190191192193194
fail("Expected failure on bob"); } catch (Exception ex) { assertTrue(ex.getMessage().contains("This is a fault")); } client.destroy(); } }
157158159160161162163164165166167
http.setClient(httpClientPolicy); String output = port.echo(INPUT); assertEquals(INPUT, output); cl.destroy(); } private static URL getWsdlLocation(String portPrefix) { try { if ("UserNameOverTransport".equals(portPrefix)) {
118119120121122123124125126127128
http.setClient(httpClientPolicy); String output = port.echo(INPUT); assertEquals(INPUT, output); cl.destroy(); } bus.shutdown(true); }
176177178179180181182183184185186
184185186187188189190191192193
116117118119120121122123124125126
if (LOG.isLoggable(Level.FINER)) { LOG.finer("destroy"); } Client client = ClientProxy.getClient(clientProxy); client.destroy(); handles.clear(); isClosed = false; bus = null; connReqInfo = null;