Package org.apache.axis2.description

Examples of org.apache.axis2.description.ServiceDescription.addOperation()


            } catch (AxisFault axisFault) {
                logger.error(Messages.getMessage("axisoperationcreateerror", axisFault.getMessage()));
                throw new DeploymentException(
                        Messages.getMessage("axisoperationcreateerror", axisFault.getMessage()));
            }
            axisService.addOperation(axisOperation);
        }
        return axisService;
    }

    private int getMessageExchangePattern(Operation wsdl4jOperation) {
View Full Code Here


                    }
                }
            };
            InOutAxisOperation operation1 = new InOutAxisOperation(new QName("receive"));
            operation1.setMessageReceiver(messageReceiver);
            messageCollectorService.addOperation(operation1);
           
            configContext.getAxisConfiguration().addService(messageCollectorService);
           
            axis2Server = new SimpleHTTPServer(configContext, 7777);
            axis2Server.start();
View Full Code Here

        // later in the convenience API; if you use
        // this constructor then you can't expect any magic!
        AxisService axisService = new AxisService(ANON_SERVICE);
        RobustOutOnlyAxisOperation robustoutoonlyOperation = new RobustOutOnlyAxisOperation(
                ANON_ROBUST_OUT_ONLY_OP);
        axisService.addOperation(robustoutoonlyOperation);

        OutOnlyAxisOperation outOnlyOperation = new OutOnlyAxisOperation(
                ANON_OUT_ONLY_OP);
        axisService.addOperation(outOnlyOperation);
View Full Code Here

                ANON_ROBUST_OUT_ONLY_OP);
        axisService.addOperation(robustoutoonlyOperation);

        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

        engineRegistry = new AxisConfigurationImpl();
        service.engageModule(m1,engineRegistry);

        OperationDescription operation = new OperationDescription(
                operationName);
        service.addOperation(operation);

        UtilServer.deployService(service);
        UtilServer.start();
    }
View Full Code Here

        operation.setMessageReceiver(new MessageReceiver() {
            public void receive(MessageContext messgeCtx) throws AxisFault {
                envelope = messgeCtx.getEnvelope();
            }
        });
        service.addOperation(operation);
        configContext.getAxisConfiguration().addService(service);
        Utils.resolvePhases(configContext.getAxisConfiguration(), service);


View Full Code Here

                public void receive(MessageContext messgeCtx) throws AxisFault {
                    envelope = messgeCtx.getEnvelope();
                }
            });
            engineRegistry.removeService(serviceName.getLocalPart());
            clientService.addOperation(clientOperation);
            engineRegistry.addService(clientService);
            Utils.resolvePhases(engineRegistry, clientService);
            clientServiceContext = Utils.fillContextInformation(clientOperation,  clientService, clientConfigContext);

            org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call(
View Full Code Here

        operation.setMessageReceiver(new MessageReceiver() {
            public void receive(MessageContext messgeCtx) throws AxisFault {
                envelope = messgeCtx.getEnvelope();
            }
        });
        service.addOperation(operation);
        configContext.getAxisConfiguration().addService(service);
        Utils.resolvePhases(configContext.getAxisConfiguration(), service);
        ServiceContext serviceContext = Utils.fillContextInformation(operation,  service, configContext);
    }
View Full Code Here

        operation.setMessageReceiver(new MessageReceiver() {
            public void receive(MessageContext messgeCtx) throws AxisFault {
                envelope = messgeCtx.getEnvelope();
            }
        });
        service.addOperation(operation);
        configContext.getAxisConfiguration().addService(service);
        Utils.resolvePhases(configContext.getAxisConfiguration(), service);
        ServiceContext serviceContext = Utils.fillContextInformation(operation,  service, configContext);

        SOAPFactory fac = OMAbstractFactory.getSOAP11Factory();
View Full Code Here

        operation.setMessageReceiver(new MessageReceiver() {
            public void receive(MessageContext messgeCtx) throws AxisFault {
                envelope = messgeCtx.getEnvelope();
            }
        });
        service.addOperation(operation);
        configContext.getAxisConfiguration().addService(service);
        Utils.resolvePhases(configContext.getAxisConfiguration(), service);
        ServiceContext serviceContext = service.getParent().getServiceGroupContext(configContext).getServiceContext(service.getName().getLocalPart());

        org.apache.axis2.clientapi.Call call = new org.apache.axis2.clientapi.Call(
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.