Package org.apache.axis2.description

Examples of org.apache.axis2.description.OutInAxisOperation


    //TODO: Remove when policy support is completed
    public static void issueRequest(ConversationConfiguration config) throws RampartException, AxisFault, TrustException  {
        MessageContext msgCtx = config.getMsgCtx();
        AxisService axisService = new AxisService("SecurityTokenService");
        QName rstQn = new QName("requestSecurityToken");
        OutInAxisOperation operation = new OutInAxisOperation(rstQn);
        axisService.addOperation(operation);
        ServiceClient client = new ServiceClient(msgCtx
                .getConfigurationContext(), axisService);
       
        Options options = new Options();
View Full Code Here


        AxisService service = new AxisService(serviceName.getLocalPart());

        service.setClassLoader(getContextClassLoader_DoPriv());
        service.addParameter(new Parameter(Constants.SERVICE_CLASS, className));

        AxisOperation axisOp = new OutInAxisOperation(opName);

        axisOp.setMessageReceiver(messageReceiver);
        axisOp.setStyle(WSDLConstants.STYLE_RPC);
        service.addOperation(axisOp);

        return service;
    }
View Full Code Here

        _service.addOperation(robustoutoonlyOperation);

        OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(ServiceClient.ANON_OUT_ONLY_OP);
        _service.addOperation(outOnlyOperation);

        OutInAxisOperation outInOperation = new OutInAxisOperation(ServiceClient.ANON_OUT_IN_OP);
        _service.addOperation(outInOperation);
    }
View Full Code Here

            anonymousService.setParent(_axisConfig);

            OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(ServiceClient.ANON_OUT_ONLY_OP);
            anonymousService.addOperation(outOnlyOperation);

            OutInAxisOperation outInOperation = new OutInAxisOperation(ServiceClient.ANON_OUT_IN_OP);
            anonymousService.addOperation(outInOperation);
        }
View Full Code Here

        AxisService service = new AxisService(serviceName.getLocalPart());

        service.setClassLoader(Thread.currentThread().getContextClassLoader());
        service.addParameter(new Parameter(AbstractMessageReceiver.SERVICE_CLASS, className));

        AxisOperation axisOp = new OutInAxisOperation(opName);

        axisOp.setMessageReceiver(messageReceiver);
        axisOp.setStyle(WSDLService.STYLE_RPC);
        service.addOperation(axisOp);

        return service;
    }
View Full Code Here

    protected void assumeServiceContext(String clientHome) throws AxisFault {
        super.assumeServiceContext(clientHome);

        AxisService axisService = serviceContext.getAxisService();

        axisOperationTemplate = new OutInAxisOperation();
        axisOperationTemplate.setName(new QName("TemplateOperation"));

        AxisConfiguration axisConfiguration =
                serviceContext.getConfigurationContext().getAxisConfiguration();
        PhasesInfo info = axisConfiguration.getPhasesInfo();
View Full Code Here

    protected void populateAxisService() throws AxisFault {
        _service = new AxisService(serviceName + getUniqueSuffix());
        operations = new AxisOperation[4];

        AxisOperation operation = new OutInAxisOperation(new QName(DEFAULT_OPERATION_NAMESPACE, ACTION_GET_NLAID));
        _service.addOperation(operation);
        operations[0] = operation;

        operation = new OutInAxisOperation(new QName(DEFAULT_OPERATION_NAMESPACE, ACTION_GET_PARTY_OBJECT));
        _service.addOperation(operation);
        operations[1] = operation;

        operation = new OutInAxisOperation(new QName(DEFAULT_OPERATION_NAMESPACE, ACTION_GET_PROJECTS));
        _service.addOperation(operation);
        operations[2] = operation;

        operation = new OutInAxisOperation(new QName(DEFAULT_OPERATION_NAMESPACE, ACTION_GET_ACTIVITY_OBJECT));
        _service.addOperation(operation);
        operations[3] = operation;
    }
View Full Code Here

        OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(
                ANON_OUT_ONLY_OP);
        axisService.addOperation(outOnlyOperation);

        OutInAxisOperation outInOperation = new OutInAxisOperation(
                ANON_OUT_IN_OP);
        axisService.addOperation(outInOperation);
        return axisService;
    }
View Full Code Here

    protected void assumeServiceContext(String clientHome) throws AxisFault {
        super.assumeServiceContext(clientHome);

        AxisService axisService = serviceContext.getAxisService();

        axisOperationTemplate = new OutInAxisOperation();
        axisOperationTemplate.setName(new QName("TemplateOperation"));

        AxisConfiguration axisConfiguration =
                serviceContext.getConfigurationContext().getAxisConfiguration();
        PhasesInfo info = axisConfiguration.getPhasesInfo();
View Full Code Here

        service.setClassLoader(Thread.currentThread().getContextClassLoader());
        service.addParameter(new ParameterImpl(AbstractMessageReceiver.SERVICE_CLASS, className));

        // todo I assumed in-out mep , this has to be imroved : Deepal
        AxisOperation axisOp = new OutInAxisOperation(opName);

        axisOp.setMessageReceiver(messageReceiver);
        axisOp.setStyle(WSDLService.STYLE_RPC);
        service.addOperation(axisOp);

        return service;
    }
View Full Code Here

TOP

Related Classes of org.apache.axis2.description.OutInAxisOperation

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.