7677787980818283
SoapOperation operation = SoapUtils.createOperation(builder, binding, invokedOperation, message.getSoapAction()); return respond(operation, message); } return null; } catch (OperationNotFoundException e) { throw new SoapServerException(e); } }
6667686970717273
public Source respond(SoapOperation invokedOperation, SoapMessage message) { try { String response = getBuilder().buildOutputMessage(invokedOperation, context); return XmlUtils.xmlStringToSource(response); } catch (Exception e) { throw new SoapServerException(e); } }
52535455565758
return source; } @Override public Result getPayloadResult() { throw new SoapServerException("This method is not implemented - it SHOULD NOT be used."); }
9192939495969798
*/ public void start() { try { server.start(); } catch (Exception ex) { throw new SoapServerException(ex); } }
130131132133134135136137
*/ public void stop() { try { server.stop(); } catch (Exception ex) { throw new SoapServerException(ex); } }
89909192939495
return false; } private Source handleNoResponderFault() { String msg = String.format("There is no service under the requested context path [%s]", getRequestContextPath()); throw new SoapServerException(msg); }
143144145146147148149
* Empty method included here to be compliant with the PayloadEndpoint. * Not used here as it does not enable the user to get the whole SOAP envelope. */ @Override public Source invoke(Source request) throws Exception { throw new SoapServerException("This method is not implemented - it SHOULD NOT be used."); }