Package org.apache.axis2.description

Examples of org.apache.axis2.description.AxisService.mapActionToOperation()


        AxisOperation axisOp2 = new InOnlyAxisOperation(new QName("fault"));

        axisOp2.setMessageReceiver(new RawXMLINOnlyMessageReceiver());
        axisOp2.setStyle(WSDLConstants.STYLE_RPC);
        service.addOperation(axisOp2);
        service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + "fault", axisOp2);

        return service;
    }

    private ServiceClient createServiceClient() throws AxisFault {
View Full Code Here


        AxisOperation axisOp = new InOutAxisOperation(new QName("echoRedirect"));

        axisOp.setMessageReceiver(new RawXMLINOutMessageReceiver());
        service.addOperation(axisOp);
        service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + "echoRedirect", axisOp);

        return service;
    }

    AxisService createMultiHopRedirectService2() throws AxisFault {
View Full Code Here

        AxisOperation axisOp = new InOutAxisOperation(new QName("echoRedirect"));

        axisOp.setMessageReceiver(new RawXMLINOutMessageReceiver());
        service.addOperation(axisOp);
        service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + "echoRedirect", axisOp);

        return service;
    }

    protected void tearDown() throws Exception {
View Full Code Here

        operation2.setWsamappingList(op2actions);

        as.addOperation(operation1);
        as.addOperation(operation2);

        as.mapActionToOperation("urn:org.apache.axis2.dispatchers.test:operation1", operation1);
        as.mapActionToOperation("urn:org.apache.axis2.dispatchers.test:operation2", operation2);

        messageContext.setWSAAction("urn:org.apache.axis2.dispatchers.test:operation2");

        ActionBasedOperationDispatcher abod = new ActionBasedOperationDispatcher();
View Full Code Here

        as.addOperation(operation1);
        as.addOperation(operation2);

        as.mapActionToOperation("urn:org.apache.axis2.dispatchers.test:operation1", operation1);
        as.mapActionToOperation("urn:org.apache.axis2.dispatchers.test:operation2", operation2);

        messageContext.setWSAAction("urn:org.apache.axis2.dispatchers.test:operation2");

        ActionBasedOperationDispatcher abod = new ActionBasedOperationDispatcher();
        abod.invoke(messageContext);
View Full Code Here

        axisOp.setMessageReceiver(new RawXMLINOutMessageReceiver());
        axisOp.setSoapAction(Constants.AXIS2_NAMESPACE_URI + "/" + "echoRedirect");
        axisOp.setOutputAction(Constants.AXIS2_NAMESPACE_URI + "/" + "echoRedirect");
        service.addOperation(axisOp);
        service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + "echoRedirect", axisOp);

        ConfigurationContext configcontext = UtilServer.createClientConfigurationContext();

        ServiceClient sender;
        Options options = new Options();
View Full Code Here

        AxisOperation axisOp = new InOnlyAxisOperation(opName);

        axisOp.setMessageReceiver(messageReceiver);
        axisOp.setStyle(WSDLConstants.STYLE_RPC);
        service.addOperation(axisOp);
        service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + opName.getLocalPart(),
                                     axisOp);

        return service;
    }
View Full Code Here

        AxisOperation axisOp = new InOutAxisOperation(opName);

        axisOp.setMessageReceiver(messageReceiver);
        axisOp.setStyle(WSDLConstants.STYLE_RPC);
        service.addOperation(axisOp);
        service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + opName.getLocalPart(),
                                     axisOp);

        return service;
    }
View Full Code Here

        AxisOperation axisOp = new InOutAxisOperation(opName);

        axisOp.setMessageReceiver(messageReceiver);
        axisOp.setStyle(WSDLConstants.STYLE_RPC);
        service.addOperation(axisOp);
        service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + opName.getLocalPart(),
                                     axisOp);

        return service;
    }
View Full Code Here

        AxisOperation axisOp = new InOnlyAxisOperation(opName);

        axisOp.setMessageReceiver(messageReceiver);
        axisOp.setStyle(WSDLConstants.STYLE_RPC);
        service.addOperation(axisOp);
        service.mapActionToOperation(Constants.AXIS2_NAMESPACE_URI + "/" + opName.getLocalPart(),
                                     axisOp);

        return service;
    }
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.