@Override public SOAPMessage readAsSOAPMessage() throws SOAPException { if (!(delegate instanceof SAAJMessage)) { delegate = toSAAJ(packet, null); } return delegate.readAsSOAPMessage(); }
@Override public SOAPMessage readAsSOAPMessage() throws SOAPException { if (!(delegate instanceof SAAJMessage)) { delegate = toSAAJ(packet, null); } return delegate.readAsSOAPMessage(); }
@Override public SOAPMessage readAsSOAPMessage() throws SOAPException { if (!(delegate instanceof SAAJMessage)) { delegate = toSAAJ(packet, null); } return delegate.readAsSOAPMessage(); }
@Override public SOAPMessage readAsSOAPMessage(Packet p, boolean inbound) throws SOAPException { if (!(delegate instanceof SAAJMessage)) { delegate = toSAAJ(p, inbound); } return delegate.readAsSOAPMessage(); }
@Override public SOAPMessage readAsSOAPMessage(Packet p, boolean inbound) throws SOAPException { if (!(delegate instanceof SAAJMessage)) { delegate = toSAAJ(p, inbound); } return delegate.readAsSOAPMessage(); }
@Override public SOAPMessage readAsSOAPMessage(Packet p, boolean inbound) throws SOAPException { if (!(delegate instanceof SAAJMessage)) { delegate = toSAAJ(p, inbound); } return delegate.readAsSOAPMessage(); }
public SOAPMessage readAsSOAPMessage(Packet packet, boolean inbound) throws SOAPException { return getMessage().readAsSOAPMessage(packet, inbound); }
private SOAPMessage createFault(Throwable e) { try { // FIXME SOAP 1.1 // FIXME If SOAPFault, get details and use SAAJ to create SOAPMessage otherwise system exception and do below // The following only works for Java exceptions com.sun.xml.ws.api.message.Message fault = SOAPFaultBuilder.createSOAPFaultMessage(SOAPVersion.SOAP_11, null, e); return fault.readAsSOAPMessage(); } catch (SOAPException e2) { throw new WebServiceException(e2); } }
public SOAPMessage getMessage() { if(soapMsg == null) { try { Message m = packet.getMessage(); soapMsg = m != null ? m.readAsSOAPMessage() : null; } catch (SOAPException e) { throw new WebServiceException(e); } } return soapMsg; }
public SOAPMessage getMessage() { if(soapMsg == null) { try { Message m = packet.getMessage(); soapMsg = m != null ? m.readAsSOAPMessage() : null; } catch (SOAPException e) { throw new WebServiceException(e); } } return soapMsg; }
public SOAPMessage getMessage() { if(soapMsg == null) { try { Message m = packet.getMessage(); soapMsg = m != null ? m.readAsSOAPMessage() : null; } catch (SOAPException e) { throw new WebServiceException(e); } } return soapMsg; }
/*protected*/ public SOAPMessage getParameter(Packet packet) { try { return packet.getMessage().readAsSOAPMessage(packet, true); } catch (SOAPException se) { throw new WebServiceException(se); } }
/*protected*/ public SOAPMessage getParameter(Packet packet) { try { return packet.getMessage().readAsSOAPMessage(packet, true); } catch (SOAPException se) { throw new WebServiceException(se); } }
/*protected*/ public SOAPMessage getParameter(Packet packet) { try { return packet.getMessage().readAsSOAPMessage(packet, true); } catch (SOAPException se) { throw new WebServiceException(se); } }
@Override public SOAPMessage getAsSOAPMessage() throws SOAPException { Message msg = this.getMessage(); if (msg == null) return null; if (msg instanceof MessageWritable) ((MessageWritable) msg).setMTOMConfiguration(mtomFeature); return msg.readAsSOAPMessage(this, this.getState().isInbound()); }
@Override public SOAPMessage getAsSOAPMessage() throws SOAPException { Message msg = this.getMessage(); if (msg == null) return null; if (msg instanceof MessageWritable) ((MessageWritable) msg).setMTOMConfiguration(mtomFeature); return msg.readAsSOAPMessage(this, this.getState().isInbound()); }
@Override public SOAPMessage getAsSOAPMessage() throws SOAPException { Message msg = this.getMessage(); if (msg == null) return null; if (msg instanceof MessageWritable) ((MessageWritable) msg).setMTOMConfiguration(mtomFeature); return msg.readAsSOAPMessage(this, this.getState().isInbound()); }
SOAPMessage toReturnValue(Packet response) { try { //not sure if this is the correct way to deal with this. if ( response ==null || response.getMessage() == null ) throw new WebServiceException(DispatchMessages.INVALID_RESPONSE()); else return response.getMessage().readAsSOAPMessage(); } catch (SOAPException e) { throw new WebServiceException(e); } } }
SOAPMessage toReturnValue(Packet response) { try { //not sure if this is the correct way to deal with this. if ( response ==null || response.getMessage() == null ) throw new WebServiceException(DispatchMessages.INVALID_RESPONSE()); else return response.getMessage().readAsSOAPMessage(); } catch (SOAPException e) { throw new WebServiceException(e); } } }
SOAPMessage toReturnValue(Packet response) { try { //not sure if this is the correct way to deal with this. if ( response ==null || response.getMessage() == null ) throw new WebServiceException(DispatchMessages.INVALID_RESPONSE()); else return response.getMessage().readAsSOAPMessage(); } catch (SOAPException e) { throw new WebServiceException(e); } } }