Examples of initCall()


Examples of org.apache.sandesha.SandeshaContext.initCall()

            Call call = (Call) service.createCall();

            SandeshaContext ctx = new SandeshaContext(true);
            ctx.setSourceURL(bean.getSourceURL());
            configureContext(ctx, bean);
            ctx.initCall(call, target, "urn:wsrm:Ping", Constants.ClientProperties.IN_ONLY);

            for (int i = 1; i <= msgs; i++) {
                if (i == msgs) {
                    ctx.setLastMessage(call);
                }
View Full Code Here

Examples of org.apache.sandesha.SandeshaContext.initCall()

            SandeshaContext ctx = new SandeshaContext(true);
            ctx.setSourceURL(bean.getSourceURL());

            configureContext(ctx, bean);
            ctx.initCall(call, target, "urn:wsrm:echoString", Constants.ClientProperties.IN_OUT);

            for (int i = 1; i <= messages; i++) {
                if (i == messages) {
                    ctx.setLastMessage(call);
                }
View Full Code Here

Examples of org.apache.sandesha.SandeshaContext.initCall()

            ctx.setToURL("http://soap.systinet.net:6064/Service");
            ctx.setAcksToURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");
            ctx.setFromURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");
            ctx.setFaultToURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");

            ctx.initCall(call, targetURL, "urn:wsrm:Ping", Constants.ClientProperties.IN_ONLY);

            call.setOperationName(new QName("http://tempuri.org/", "Ping"));

            call.addParameter("arg1", XMLType.XSD_STRING, ParameterMode.IN);
View Full Code Here

Examples of org.apache.sandesha.SandeshaContext.initCall()

            ctx.setFromURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");
            ctx.setAcksToURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");
            ctx.setFaultToURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");
            ctx.setReplyToURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");

            ctx.initCall(call, targetURL, "urn:wsrm:Ping", Constants.ClientProperties.IN_ONLY);

            call.setOperationName("Ping");
            call.invoke(new Message(getSOAPEnvelope(1)));
            call.invoke(new Message(getSOAPEnvelope(2)));
            ctx.setLastMessage(call);
View Full Code Here

Examples of org.apache.sandesha.SandeshaContext.initCall()

            ctx.setFaultToURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");
            ctx.setAcksToURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");
            ctx.setFromURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");
            ctx.setReplyToURL("http://" + sourceHost + ":" + sourcePort + "/axis/services/RMService");

            ctx.initCall(call, targetURL, "urn:wsrm:echoString", Constants.ClientProperties.IN_OUT);

            call.setOperationName(new QName("http://tempuri.org/", "echoString"));

            call.addParameter("Text", XMLType.XSD_STRING, ParameterMode.IN);
            call.addParameter("Sequence", XMLType.XSD_STRING, ParameterMode.IN);
View Full Code Here

Examples of org.apache.sandesha.SandeshaContext.initCall()

            Service service = new Service();
            Call call = (Call) service.createCall();

            SandeshaContext ctx = new SandeshaContext(Constants.SYNCHRONOUS);
            ctx.initCall(call, targetURL, "urn:wsrm:Ping",
                    Constants.ClientProperties.IN_ONLY);

            call.setOperationName(new QName("http://tempuri.org/", "Ping"));
            call.addParameter("arg1", XMLType.XSD_STRING, ParameterMode.IN);
View Full Code Here

Examples of org.apache.sandesha.SandeshaContext.initCall()

            SandeshaContext ctx = new SandeshaContext();

            ctx.setAcksToURL(Constants.WSA.NS_ADDRESSING_ANONYMOUS);
            ctx.setReplyToURL("http://127.0.0.1:" + defaultClientPort + "/axis/services/RMService");
            ctx.initCall(call, targetURL, "urn:wsrm:echoString", Constants.ClientProperties.IN_OUT);

            call.setOperationName(new QName("http://tempuri.org/", "echoString"));

            call.addParameter("arg1", XMLType.XSD_STRING, ParameterMode.IN);
            call.addParameter("arg2", XMLType.XSD_STRING, ParameterMode.IN);
View Full Code Here

Examples of org.apache.sandesha.SandeshaContext.initCall()

            SandeshaContext ctx = new SandeshaContext();

            ctx.setAcksToURL("http://127.0.0.1:" + defaultClientPort + "/axis/services/RMService");
            ctx.setReplyToURL("http://127.0.0.1:" + defaultClientPort + "/axis/services/RMService");
            ctx.setSendOffer(true);
            ctx.initCall(call, targetURL, "urn:wsrm:echoString", Constants.ClientProperties.IN_OUT);

            call.setOperationName(new QName("http://tempuri.org/", "echoString"));

            call.addParameter("arg1", XMLType.XSD_STRING, ParameterMode.IN);
            call.addParameter("arg2", XMLType.XSD_STRING, ParameterMode.IN);
View Full Code Here

Examples of org.apache.sandesha.SandeshaContext.initCall()

            Call call = (Call) service.createCall();

            SandeshaContext ctx = new SandeshaContext();
            ctx.setAcksToURL("http://127.0.0.1:" + defaultClientPort + "/axis/services/RMService");
            ctx.setReplyToURL("http://127.0.0.1:" + defaultClientPort + "/axis/services/RMService");
            ctx.initCall(call, targetURL, "urn:wsrm:ping", Constants.ClientProperties.IN_ONLY);

            call.setOperationName(new QName("http://tempuri.org", "Ping"));
            call.addParameter("Text", XMLType.XSD_STRING, ParameterMode.IN);

            call.invoke(new Object[]{"Ping Message Number One"});
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.