Package org.apache.axis2.engine

Examples of org.apache.axis2.engine.AxisEngine.send()


        final ServerCallback callback = new ServerCallback() {
            public void handleResult(MessageContext result) throws AxisFault {
                AxisEngine engine =
                        new AxisEngine(messageCtx.getOperationContext().getServiceContext()
                                .getConfigurationContext());
                engine.send(result);
            }

            public void handleFault(AxisFault fault) throws AxisFault {
                AxisEngine engine =
                        new AxisEngine(messageCtx.getOperationContext().getServiceContext()
View Full Code Here


    public static MessageContext send(MessageContext msgctx,TransportInDescription transportIn) throws AxisFault{
      
        AxisEngine engine = new AxisEngine(msgctx.getSystemContext());
      

        engine.send(msgctx);

        MessageContext response =
            new MessageContext(msgctx.getSystemContext(),
                msgctx.getSessionContext(),
                msgctx.getTransportIn(),
View Full Code Here

                            + "/"
                            + axisop.getName().getLocalPart(),
                        listenerTransport.getName().getLocalPart()));
                msgctx.setOperationContext(axisop.findOperationContext(msgctx, serviceContext));
                msgctx.setServiceContext(serviceContext);
                engine.send(msgctx);
            } else {
                serviceContext.getEngineContext().getThreadPool().addWorker(
                    new NonBlockingInvocationWorker(callback, axisop, msgctx));
            }
View Full Code Here

        invokeBusinessLogic(messgeCtx,newmsgCtx);

        AxisEngine engine =
            new AxisEngine(
                messgeCtx.getOperationContext().getServiceContext().getEngineContext());
        engine.send(newmsgCtx);
    }
}
View Full Code Here

    public final void recieve(final MessageContext messgeCtx) throws AxisFault {
        final ServerCallback callback = new ServerCallback() {
            public void handleResult(MessageContext result)throws AxisFault {
                AxisEngine engine =
                    new AxisEngine(messgeCtx.getOperationContext().getServiceContext().getEngineContext());
                engine.send(messgeCtx);
            }
            public void handleFault(AxisFault fault)throws AxisFault{
                AxisEngine engine = new AxisEngine(messgeCtx.getOperationContext().getServiceContext().getEngineContext());
                engine.handleFault(messgeCtx,fault);
            }
View Full Code Here

        AxisConfiguration registry = sysContext.getAxisConfiguration();

        AxisEngine engine = new AxisEngine(sysContext);
        msgctx.setOperationContext(axisop.findOperationContext(msgctx,serviceContext));

        engine.send(msgctx);
    }

    /**
     * @param action
     */
 
View Full Code Here

            }
            //if dont do this , this guy will wait till its gets HTTP 202 in the case
            //HTTP
            mc.setProperty(MessageContext.TRANSPORT_NON_BLOCKING, Boolean.TRUE);
            AxisEngine engine = new AxisEngine(cc);
            engine.send(mc);
        } else {
            if (block) {
                // Send the SOAP Message and receive a response
                MessageContext response = send(mc);
                // check for a fault and return the result
View Full Code Here

     */
    private MessageContext send(MessageContext msgctx) throws AxisFault {

        AxisEngine engine = new AxisEngine(msgctx.getConfigurationContext());

        engine.send(msgctx);

        // create the responseMessageContext
        MessageContext responseMessageContext = new MessageContext();
        responseMessageContext.setTransportIn(msgctx.getTransportIn());
        responseMessageContext.setTransportOut(msgctx.getTransportOut());
View Full Code Here

        AxisEngine engine =
                new AxisEngine(
                        messgeCtx.getOperationContext().getServiceContext()
                .getEngineContext());
        engine.send(newmsgCtx);
    }
}
View Full Code Here

        final ServerCallback callback = new ServerCallback() {
            public void handleResult(MessageContext result) throws AxisFault {
                AxisEngine engine =
                    new AxisEngine(
                        messgeCtx.getOperationContext().getServiceContext().getEngineContext());
                engine.send(messgeCtx);
            }
            public void handleFault(AxisFault fault) throws AxisFault {
                AxisEngine engine =
                    new AxisEngine(
                        messgeCtx.getOperationContext().getServiceContext().getEngineContext());
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.