Package org.springframework.ws.soap.addressing.core

Examples of org.springframework.ws.soap.addressing.core.EndpointReference


     */
    protected final ActionCallback actionAndReplyTo(String action, String replyTo) throws URISyntaxException {
        requestInputAction = action;
        ActionCallback requestCallback = new ActionCallback(action);
        if (replyTo != null) {
            requestCallback.setReplyTo(new EndpointReference(new URI(replyTo)));
        }
        return requestCallback;
    }
View Full Code Here


     */
    protected final ActionCallback toAndReplyTo(String to, String replyTo) throws URISyntaxException {
        requestInputAction = "http://doesn-not-matter.com";
        ActionCallback requestCallback = new ActionCallback(new URI(requestInputAction), new Addressing10(), new URI(to));
        if (replyTo != null) {
            requestCallback.setReplyTo(new EndpointReference(new URI(replyTo)));
        }
        return requestCallback;
    }
View Full Code Here

     * Sets the from endpoint reference by string.
     * @param from the from to set
     */
    public void setFrom(String from) {
        try {
            this.from = new EndpointReference(new URI(from));
        } catch (URISyntaxException e) {
            throw new CitrusRuntimeException("Invalid from uri", e);
        }
    }
View Full Code Here

     * Sets the reply to endpoint reference by string.
     * @param replyTo the replyTo to set
     */
    public void setReplyTo(String replyTo) {
        try {
            this.replyTo = new EndpointReference(new URI(replyTo));
        } catch (URISyntaxException e) {
            throw new CitrusRuntimeException("Invalid replyTo uri", e);
        }
    }
View Full Code Here

     * Sets the fault to endpoint reference by string.
     * @param faultTo the faultTo to set
     */
    public void setFaultTo(String faultTo) {
        try {
            this.faultTo = new EndpointReference(new URI(faultTo));
        } catch (URISyntaxException e) {
            throw new CitrusRuntimeException("Invalid faultTo uri", e);
        }
    }
View Full Code Here

            URI wsFaultTo = wsFaultToHeader != null ? wsFaultToHeader : configuration.getFaultTo();
           
            if (wsAddressingAction != null) {
                ActionCallback actionCallback = new ActionCallback(wsAddressingAction);
                if (wsReplyTo != null) {
                    actionCallback.setReplyTo(new EndpointReference(wsReplyTo));
                }

                if (wsFaultTo != null) {
                    actionCallback.setFaultTo(new EndpointReference(wsFaultTo));
                }
                actionCallback.doWithMessage(message);
            }
           
            configuration.getMessageFilter().filterProducer(exchange, message);
View Full Code Here

TOP

Related Classes of org.springframework.ws.soap.addressing.core.EndpointReference

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.