Package org.reficio.ws.server

Examples of org.reficio.ws.server.SoapServerException


                SoapOperation operation = SoapUtils.createOperation(builder, binding, invokedOperation, message.getSoapAction());
                return respond(operation, message);
            }
            return null;
        } catch (OperationNotFoundException e) {
            throw new SoapServerException(e);
        }
    }
View Full Code Here


    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);
        }
    }
View Full Code Here

        return source;
    }

    @Override
    public Result getPayloadResult() {
        throw new SoapServerException("This method is not implemented - it SHOULD NOT be used.");
    }
View Full Code Here

     */
    public void start() {
        try {
            server.start();
        } catch (Exception ex) {
            throw new SoapServerException(ex);
        }
    }
View Full Code Here

     */
    public void stop() {
        try {
            server.stop();
        } catch (Exception ex) {
            throw new SoapServerException(ex);
        }
    }
View Full Code Here

        return false;
    }

    private Source handleNoResponderFault() {
        String msg = String.format("There is no service under the requested context path [%s]", getRequestContextPath());
        throw new SoapServerException(msg);
    }
View Full Code Here

     * 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.");
    }
View Full Code Here

TOP

Related Classes of org.reficio.ws.server.SoapServerException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.