Package org.apache.cxf.service.model

Examples of org.apache.cxf.service.model.BindingInfo.addOperation()


        for (OperationInfo op : service.getInterface().getOperations()) {
            adjustConcreteNames(op.getInput());
            adjustConcreteNames(op.getOutput());
            BindingOperationInfo bop =
                info.buildOperation(op.getName(), op.getInputName(), op.getOutputName());
            info.addOperation(bop);
        }
       
        return info;
    }
View Full Code Here


                                                                        bop.getName()), inName, outName);
                if (bop2 != null) {

                    copyExtensors(bop2, bop.getExtensibilityElements());
                    copyExtensionAttributes(bop2, bop);
                    bi.addOperation(bop2);
                    if (bop.getBindingInput() != null) {
                        copyExtensors(bop2.getInput(), bop.getBindingInput().getExtensibilityElements());
                        copyExtensionAttributes(bop2.getInput(), bop.getBindingInput());
                        handleHeader(bop2.getInput());
                    }
View Full Code Here

        info.setName(new QName(si.getName().getNamespaceURI(),
                               si.getName().getLocalPart() + "ObjectBinding"));
       
        for (OperationInfo o : si.getInterface().getOperations()) {
            BindingOperationInfo bop = info.buildOperation(o.getName(), o.getInputName(), o.getOutputName());
            info.addOperation(bop);
        }
        return info;
    }

    public boolean isAutoRegisterLocalEndpoint() {
View Full Code Here

                                                                        bop.getName()), inName, outName);
                if (bop2 != null) {

                    copyExtensors(bop2, bop.getExtensibilityElements());
                    copyExtensionAttributes(bop2, bop);
                    bi.addOperation(bop2);
                    if (bop.getBindingInput() != null) {
                        copyExtensors(bop2.getInput(), bop.getBindingInput().getExtensibilityElements());
                        copyExtensionAttributes(bop2.getInput(), bop.getBindingInput());
                        handleHeader(bop2.getInput());
                    }
View Full Code Here

        MethodDispatcher md = (MethodDispatcher) service.get(MethodDispatcher.class.getName());

        for (OperationInfo o : si.getInterface().getOperations()) {
            BindingOperationInfo bop = info.buildOperation(o.getName(), o.getInputName(), o.getOutputName());

            info.addOperation(bop);
           
            Method m = md.getMethod(bop);
           
            try {
                Class c = (Class) service.get(ReflectionServiceFactoryBean.ENDPOINT_CLASS);
View Full Code Here

            BindingInfo bi = new BindingInfo(si, bindingURI);
           
            BindingOperationInfo bop =
                bi.buildOperation(new QName(getServiceNamespace(),
                                            "invoke"), "input", "output");
            bi.addOperation(bop);
            bi.setName(new QName(getServiceNamespace(), getServiceName() + "Binding"));
            si.addBinding(bi);
           
            EndpointInfo ei = new EndpointInfo(si, bindingURI);
            ei.setBinding(bi);
View Full Code Here

        BindingInfo info = new BindingInfo(si, "http://cxf.apache.org/bindings/xformat");       
        info.setName(getBindingName());             
        for (OperationInfo op : si.getInterface().getOperations()) {                      
            BindingOperationInfo bop =
                info.buildOperation(op.getName(), op.getInputName(), op.getOutputName());
            info.addOperation(bop);
        }
       
        return info;
    }
   
View Full Code Here

        MethodDispatcher md = (MethodDispatcher) service.get(MethodDispatcher.class.getName());

        for (OperationInfo o : getServiceInfo().getInterface().getOperations()) {
            BindingOperationInfo bop = info.buildOperation(o.getName(), o.getInputName(), o.getOutputName());

            info.addOperation(bop);
           
            Method m = md.getMethod(bop);
           
            // attempt to map the method to a resource using different strategies
            for (ResourceStrategy s : strategies) {
View Full Code Here

                BindingOperationInfo bop2 = bi.buildOperation(new QName(service.getName().getNamespaceURI(),
                                                                        bop.getName()), inName, outName);
                if (bop2 != null) {

                    copyExtensors(bop2, bop.getExtensibilityElements());
                    bi.addOperation(bop2);
                    if (bop.getBindingInput() != null) {
                        copyExtensors(bop2.getInput(), bop.getBindingInput().getExtensibilityElements());
                        handleHeader(bop2.getInput());
                    }
                    if (bop.getBindingOutput() != null) {
View Full Code Here

                                                                        bop.getName()), inName, outName);
                if (bop2 != null) {

                    copyExtensors(bop2, bop.getExtensibilityElements());
                    copyExtensionAttributes(bop2, bop);
                    bi.addOperation(bop2);
                    if (bop.getBindingInput() != null) {
                        copyExtensors(bop2.getInput(), bop.getBindingInput().getExtensibilityElements());
                        copyExtensionAttributes(bop2.getInput(), bop.getBindingInput());
                        handleHeader(bop2.getInput());
                    }
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.