Examples of addParameter()


Examples of org.apache.axis.description.OperationDesc.addParameter()

                ParameterDesc.IN,
                typeMapping.getTypeQName(String.class),
                String.class,
                false,
                false);
        op.addParameter(parameter);
        serviceDesc.addOperationDesc(op);

        serviceDesc.getOperations();
        ReadOnlyServiceDesc sd = new ReadOnlyServiceDesc(serviceDesc, Collections.EMPTY_LIST);

Examples of org.apache.axis.wsdl.wsdl2ws.info.MethodInfo.addParameter()

                        ptype.getName(),
                        ptype.getQName(),
                        p.getName(),
                        language);

                minfo.addParameter(pinfo);
            }

            //get the return type
            Iterator returnlist =
                op.getOutput().getMessage().getParts().values().iterator();

Examples of org.apache.axis2.description.AxisModule.addParameter()

                                                        policyResource);
            if (log.isDebugEnabled()) {
                log.debug("Caching policy is saved in the configRegistry");
            }

            cachingModule.addParameter(new Parameter(GLOBALLY_ENGAGED_PARAM_NAME, "true"));

            //engage the module for every service which is not an admin service
            for (Iterator serviceIter = this.axisConfig.getServices().values().iterator();
                 serviceIter.hasNext();) {
                AxisService service = (AxisService) serviceIter.next();

Examples of org.apache.axis2.description.AxisOperation.addParameter()

        // 2) A MessageContextListener which (when triggered) registers
        //    the JAXBCustomBuilder
        Parameter param = axisOp.getParameter(UnmarshalInfo.KEY);
        if (param == null) {
            UnmarshalInfo info = new UnmarshalInfo(packages, packagesKey);
            axisOp.addParameter(UnmarshalInfo.KEY, info);
            param = axisOp.getParameter(UnmarshalInfo.KEY);
            param.setTransient(true);
            // Add a listener that will set the JAXBCustomBuilder
            UnmarshalMessageContextListener.
                create(mc.getAxisMessageContext().getServiceContext());

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

    Parameter parameter = new Parameter(Constants.SERVICE_CLASS, soapService.serviceClass);
    OMElement paraElement = Utils.getParameter(Constants.SERVICE_CLASS, soapService.serviceClass, false);
    parameter.setParameterElement(paraElement);
    axisService.setUseDefaultChains(false);
    axisService.addParameter(parameter);
    axisService.setName(soapService.serviceName);

    axisService.setClassLoader(soapService.serviceObj.getClass().getClassLoader());

    NamespaceMap map = new NamespaceMap();

Examples of org.apache.axis2.description.AxisServiceGroup.addParameter()

                    Parameter springGroupCtxLocation = axisServiceGroup
                            .getParameter(SPRING_APPLICATION_CONTEXT_LOCATION);
                    // add the context to the service group or add it to the
                    // service
                    if (springGroupCtxLocation != null) {
                        axisServiceGroup.addParameter(new Parameter(SPRING_APPLICATION_CONTEXT,
                                appContext));
                    } else {
                        axisService.addParameter(new Parameter(SPRING_APPLICATION_CONTEXT,
                                appContext));
                    }

Examples of org.apache.axis2.description.InOutAxisOperation.addParameter()

            AxisOperation axisOperation = new InOutAxisOperation(new QName(operationName));

            Boolean safe = annotationParser.isSafe();
            if (safe != null) {
                Parameter safeParameter = new Parameter(WSDL2Constants.ATTR_WSDLX_SAFE, safe);
                axisOperation.addParameter(safeParameter);
            }

            String httpLocation = annotationParser.getHttpLocation();

            /*
 

Examples of org.apache.axis2.description.ModuleConfiguration.addParameter()

        ConfigurationContext configurationContext = getConfigContext();
        AxisConfiguration axisConfiguration = configurationContext.getAxisConfiguration();

        ModuleConfiguration moduleConfiguration = new ModuleConfiguration("sandesha2", null);
        moduleConfiguration.addParameter(new Parameter("db.connectionstring", connectionString));
        moduleConfiguration.addParameter(new Parameter("db.driver", driver));
        moduleConfiguration.addParameter(new Parameter("db.user", userName));
        moduleConfiguration.addParameter(new Parameter("db.password", password));

        axisConfiguration.addModuleConfig(moduleConfiguration);

Examples of org.apache.axis2.description.ModuleDescription.addParameter()

            para.setName("PARA_NAME");
            para.setLocked(true);
            reg.addParameter(para);
            ModuleDescription module = new ModuleDescription(new QName("Service1"));
            module.setParent(reg);
            module.addParameter(para);
            fail("This should fails with Parmter is locked can not overide");
        } catch (AxisFault axisFault) {

        }
    }

Examples of org.apache.axis2.description.OperationDescription.addParameter()

            ServiceDescription service = new ServiceDescription(new QName("Service1"));
            reg.addService(service);

            OperationDescription opertion = new OperationDescription();
            opertion.setParent(service);
            opertion.addParameter(para);
            fail("This should fails with Parmter is locked can not overide");


        } catch (AxisFault axisFault) {
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.