packet = head.process(packet, con.getWebServiceContextDelegate(), packet.transportBackChannel); } catch(Throwable e) {
packet = head.process(packet, con.getWebServiceContextDelegate(), packet.transportBackChannel); } catch(Throwable e) {
packet = head.process(packet, con.getWebServiceContextDelegate(), packet.transportBackChannel); } catch(Throwable e) {
private void handle(JmsServerTransport connection) throws IOException { this.connection = connection; String contentTypeStr = connection.getRequestContentType(); InputStream in = connection.getInputStream(); Packet packet = new Packet(); codec.decode(in, contentTypeStr, packet); packet.invocationProperties.put(BindingProvider.USERNAME_PROPERTY, connection.getRequestUsername()); packet.invocationProperties.put(BindingProvider.PASSWORD_PROPERTY, connection.getRequestPassword()); try { packet = head.process(packet, connection, this); } catch (Exception e) { throw new WebServiceException("Error during message processing", e); } if (packet.getMessage() != null) { connection.setMustReply(true); contentTypeStr = codec.getStaticContentType(packet).getContentType(); if (contentTypeStr == null) { throw new UnsupportedOperationException(); } else { connection.setResponseContentType(contentTypeStr); codec.encode(packet, connection.getOutputStream()); } } }