Package org.apache.axis2.description

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


          DBConstants.DATA_SERVICE_OBJECT).getValue()).getDsLocation();
      axisServiceGroup = axisService.getAxisServiceGroup();
      axisServiceGroup.addParameter(CarbonConstants.KEEP_SERVICE_HISTORY_PARAM, "true");
      axisServiceGroup.addParameter(CarbonConstants.PRESERVE_SERVICE_HISTORY_PARAM, "true");
      axisService.addParameter(CarbonConstants.KEEP_SERVICE_HISTORY_PARAM, "true");
      axisService.addParameter(CarbonConstants.PRESERVE_SERVICE_HISTORY_PARAM, "true");
      hotUpdateOrFaulty = true;
    }

    serviceContents = DBUtils.prettifyXML(serviceContents);
    /*
 
View Full Code Here


                AxisOperation axisOperation = operations.next();
                if (axisOperation.getMessageReceiver() == null) {
                    axisOperation.setMessageReceiver(new JAXWSMessageReceiver());
                }
            }
            axisService.addParameter("serviceType", "jaxws");
            axisService.setElementFormDefault(false);
            axisService.setFileName(serviceLocation);
            axisService.setClassLoader(classLoader);
            axisService.addParameter(new Parameter(org.apache.axis2.jaxws.spi.Constants.CACHE_CLASSLOADER, classLoader));
            axisService.addParameter(new Parameter("modifyUserWSDLPortAddress", "true"));
View Full Code Here

            }
            axisService.addParameter("serviceType", "jaxws");
            axisService.setElementFormDefault(false);
            axisService.setFileName(serviceLocation);
            axisService.setClassLoader(classLoader);
            axisService.addParameter(new Parameter(org.apache.axis2.jaxws.spi.Constants.CACHE_CLASSLOADER, classLoader));
            axisService.addParameter(new Parameter("modifyUserWSDLPortAddress", "true"));
        }
        return axisService;
    }
View Full Code Here

            axisService.addParameter("serviceType", "jaxws");
            axisService.setElementFormDefault(false);
            axisService.setFileName(serviceLocation);
            axisService.setClassLoader(classLoader);
            axisService.addParameter(new Parameter(org.apache.axis2.jaxws.spi.Constants.CACHE_CLASSLOADER, classLoader));
            axisService.addParameter(new Parameter("modifyUserWSDLPortAddress", "true"));
        }
        return axisService;
    }

    public void setDirectory(String directory) {
View Full Code Here

            log.debug("Setting the MTOM status to " + flag + " for service " + serviceName);
        }

        Parameter parameter = ParameterUtil.createParameter(Constants.Configuration.ENABLE_MTOM,
                                                            flag.trim());
        service.addParameter(parameter);

        for (Iterator iterator1 = service.getOperations(); iterator1.hasNext();) {
            AxisOperation axisOperation = (AxisOperation) iterator1.next();
            axisOperation.
                    addParameter(ParameterUtil.createParameter(Constants.Configuration.ENABLE_MTOM,
View Full Code Here

        }

        Parameter parameter = ParameterUtil.createParameter(paramEle);
        if (axisService.getParameter(parameter.getName()) != null) {
            if (!axisService.getParameter(parameter.getName()).isLocked()) {
                axisService.addParameter(parameter);
            }
        } else {
            axisService.addParameter(parameter);
        }
View Full Code Here

        if (axisService.getParameter(parameter.getName()) != null) {
            if (!axisService.getParameter(parameter.getName()).isLocked()) {
                axisService.addParameter(parameter);
            }
        } else {
            axisService.addParameter(parameter);
        }

        try {
            spm.updateServiceParameter(axisService, parameter);
        } catch (Exception e) {
View Full Code Here


    protected void invokeBusinessLogic(MessageContext inMessage) throws AxisFault {
        SOAPEnvelope env = inMessage.getEnvelope();
        AxisService axisServce = inMessage.getAxisService();
        axisServce.addParameter(WSDL2FormGenerator.LAST_TOUCH_TIME,
                Long.valueOf(System.currentTimeMillis()));
        Map endpoints = axisServce.getEndpoints();
        Set set = endpoints.keySet();
        AxisEndpoint endpoint = null;
        for (Iterator iterator = set.iterator(); iterator.hasNext();) {
View Full Code Here

                    inOutmessageReceiver);
        }
        AxisService service = new AxisService();

        if (!nillableElementsAllowed) {
            service.addParameter(Java2WSDLConstants.DISALLOW_NILLABLE_ELEMENTS_OPTION_LONG, "true");
        }

        if (messagePartName != null){
            service.addParameter(Java2WSDLConstants.MESSAGE_PART_NAME_OPTION_LONG, messagePartName);
        }
View Full Code Here

        if (!nillableElementsAllowed) {
            service.addParameter(Java2WSDLConstants.DISALLOW_NILLABLE_ELEMENTS_OPTION_LONG, "true");
        }

        if (messagePartName != null){
            service.addParameter(Java2WSDLConstants.MESSAGE_PART_NAME_OPTION_LONG, messagePartName);
        }

        if (portTypeName != null){
            service.addParameter(Java2WSDLConstants.PORT_TYPE_NAME_OPTION_LONG, portTypeName);
        }
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.