Examples of invoke()


Examples of org.apache.axis2.engine.RequestURIOperationDispatcher.invoke()

        requestDispatcher.invoke(msgContext);
        AxisService axisService = msgContext.getAxisService();
        if (axisService != null) {
            RequestURIOperationDispatcher requestURIOperationDispatcher =
                    new RequestURIOperationDispatcher();
            requestURIOperationDispatcher.invoke(msgContext);

            if (msgContext.getAxisOperation() == null) {
                HTTPLocationBasedDispatcher httpLocationBasedDispatcher =
                        new HTTPLocationBasedDispatcher();
                httpLocationBasedDispatcher.invoke(msgContext);
View Full Code Here

Examples of org.apache.axis2.jaxws.client.TestClientInvocationController.invoke()

       
        d.invoke(null);
       
        TestClientInvocationController testController = getInvocationController();
        InvocationContext ic = testController.getInvocationContext();
        testController.invoke(ic);

        assertNotNull("Invocation of the proxy object should have caused COOKIE_STRING keyed property to be on the ServiceContext", ic.getServiceClient().getServiceContext().getProperty(HTTPConstants.HEADER_COOKIE));
       
    }
   
View Full Code Here

Examples of org.apache.axis2.jaxws.core.controller.AxisInvocationController.invoke()

            return response;
        }

        if (!operationDesc.isOneWay()) {
            InvocationContext responseIC = controller.invoke(requestIC);

            //Check to see if we need to maintain session state
            checkMaintainSessionState(request, requestIC);

            MessageContext responseContext = responseIC.getResponseMessageContext();
View Full Code Here

Examples of org.apache.axis2.jaxws.core.controller.InvocationController.invoke()

            return response;
        }

        if (!operationDesc.isOneWay()) {
            InvocationContext responseIC = controller.invoke(requestIC);

            //Check to see if we need to maintain session state
            checkMaintainSessionState(request, requestIC);

            MessageContext responseContext = responseIC.getResponseMessageContext();
View Full Code Here

Examples of org.apache.axis2.jaxws.proxy.doclitnonwrapped.sei.DocLitnonWrappedProxy.invoke()

        assertNotNull(service);
        DocLitnonWrappedProxy proxy = service.getPort(portName, DocLitnonWrappedProxy.class);
        assertNotNull(proxy);
        BindingProvider p = (BindingProvider)proxy;
        p.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,axisEndpoint);
        ReturnType response = proxy.invoke(invokeObj);
        assertNotNull(response);
        TestLogger.logger.debug(">>Response =" + response.getReturnStr());

        TestLogger.logger.debug("-------------------------------------");
    }
View Full Code Here

Examples of org.apache.axis2.jaxws.proxy.doclitwrapped.sei.DocLitWrappedProxy.invoke()

            TestLogger.logger.debug("Service Call #1");
            ProxyDocLitWrappedService service1 = new ProxyDocLitWrappedService();
            DocLitWrappedProxy proxy1 = service1.getDocLitWrappedProxyImplPort();
            BindingProvider p1 =    (BindingProvider)proxy1;
            p1.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,axisEndpoint);
            String response1 = proxy1.invoke(request);
            TestLogger.logger.debug("Proxy Response =" + response1);
            TestLogger.logger.debug("---------------------------------------");

            TestLogger.logger.debug("Service Call #2");
            ProxyDocLitWrappedService service2 = new ProxyDocLitWrappedService();
View Full Code Here

Examples of org.apache.axis2.jaxws.server.dispatcher.EndpointDispatcher.invoke()

                return eic;
            }
            MessageContext response = null;
            EndpointDispatcher dispatcher = eic.getDispatcher();
            if (request != null && dispatcher != null) {
                response = dispatcher.invoke(request);   
                // Note that response may be null in the case of a Provider returning null
                eic.setResponseMessageContext(response);
            }
            else {
                throw ExceptionFactory.makeWebServiceException(Messages.getMessage("invokeErr"));
View Full Code Here

Examples of org.apache.axis2.transport.TransportSender.invoke()

        boolean successfullySent = false;
        if (transportSender != null) {
          try {
           
            //TODO change this to cater for security.
            transportSender.invoke(msgCtx);
            successfullySent = true;
          } catch (AxisFault e) {
            // TODO Auto-generated catch block
              log.debug("Could not send message");
            log.debug(e.getStackTrace().toString());
View Full Code Here

Examples of org.apache.cactus.extension.jsp.JspTagLifecycle.invoke()

    {
        OutTag tag = new OutTag();
        JspTagLifecycle lifecycle = new JspTagLifecycle(pageContext, tag);
        tag.setValue("Value");
        lifecycle.expectBodySkipped();
        lifecycle.invoke();
    }
   
    /**
     * Verifies that the response has been correctly rendered by the
     * <code>&lt;c:out&gt;</code>-tag.
 
View Full Code Here

Examples of org.apache.camel.component.cxf.CamelInvoker.invoke()

        Exchange exchange = inMessage.getExchange();
        Message outMessage = null;
        try {
            CamelInvoker invoker = exchange.get(CamelInvoker.class);
            outMessage = invoker.invoke(inMessage);
        } catch (Exception e) {
            throw new Fault(e);
        }

        // set back channel conduit in the exchange if it is not present
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.