Package org.apache.axis2.description

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


        // If we get to here then we must have one of the user's operations, so
        // check the MEP.
        if(op.getAxisSpecifMEPConstant() == WSDLConstants.MEP_CONSTANT_OUT_IN) {
          Parameter p = new Parameter(Sandesha2Constants.SERVICE_CONTAINS_OUT_IN_MEPS, Boolean.TRUE);
          service.addParameter(p);
          break;
        }
      }
    } else if(axisDescription instanceof AxisOperation) {
      AxisOperation op = (AxisOperation) axisDescription;
View Full Code Here


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

                    }
                }

                try {
                    // Save calculated value since this won't change
                    axisService.addParameter("seiMethodHeaderParameter", seiMethodHeaders);
                } catch (AxisFault e) {
                    if (log.isDebugEnabled()) {
                        log.debug("Problem caching seiMethodHeaderParameter.  " +
                                        "Processing continues without cached value");
                    }
View Full Code Here

        ServiceDescription serviceDescription = DescriptionFactoryImpl.createServiceDescription(serviceImplClass, configContext);
        EndpointDescription[] edArray = serviceDescription.getEndpointDescriptions();
        AxisService axisService = edArray[0].getAxisService();
        try {
            JAXWSRIWSDLGenerator value = new JAXWSRIWSDLGenerator(axisService);
            axisService.addParameter("WSDLSupplier", value);
            axisService.addParameter("SchemaSupplier", value);
        } catch (Exception ex) {
            log.info("Unable to set the WSDLSupplier", ex);
        }
        return axisService;
View Full Code Here

        EndpointDescription[] edArray = serviceDescription.getEndpointDescriptions();
        AxisService axisService = edArray[0].getAxisService();
        try {
            JAXWSRIWSDLGenerator value = new JAXWSRIWSDLGenerator(axisService);
            axisService.addParameter("WSDLSupplier", value);
            axisService.addParameter("SchemaSupplier", value);
        } catch (Exception ex) {
            log.info("Unable to set the WSDLSupplier", ex);
        }
        return axisService;
    }
View Full Code Here

                 Messages.getMessage("NoWSAddressingFeatures"));
      }
     
      try {
            AxisService service = endpointDescription.getAxisService();
        service.addParameter(namespace);
        service.addParameter(disabled);
        service.addParameter(required);
           
            String value = Utils.getParameterValue(disabled);
        if (JavaUtils.isFalseExplicitly(value)) {
View Full Code Here

      }
     
      try {
            AxisService service = endpointDescription.getAxisService();
        service.addParameter(namespace);
        service.addParameter(disabled);
        service.addParameter(required);
           
            String value = Utils.getParameterValue(disabled);
        if (JavaUtils.isFalseExplicitly(value)) {
          ServiceDescription sd = endpointDescription.getServiceDescription();
View Full Code Here

     
      try {
            AxisService service = endpointDescription.getAxisService();
        service.addParameter(namespace);
        service.addParameter(disabled);
        service.addParameter(required);
           
            String value = Utils.getParameterValue(disabled);
        if (JavaUtils.isFalseExplicitly(value)) {
          ServiceDescription sd = endpointDescription.getServiceDescription();
          AxisConfiguration axisConfig = sd.getAxisConfigContext().getAxisConfiguration();
View Full Code Here

        axisService.setServiceDescription("Tuscany configured AxisService for service: " + wsBinding.getURI());
        axisService.setClientSide(false);
        Parameter classParam =
            new Parameter(Constants.SERVICE_CLASS, ((JavaInterface)contract.getInterfaceContract().getInterface())
                .getJavaClass().getName());
        axisService.addParameter(classParam);
        try {
            Utils.fillAxisService(axisService, configContext.getAxisConfiguration(), null, null);
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
View Full Code Here

        for ( Iterator i = axisService.getEndpoints().values().iterator(); i.hasNext(); ) {
            AxisEndpoint ae = (AxisEndpoint)i.next();
            if (endpointURL.startsWith("jms") ) {
                Parameter qcf = new Parameter(JMSConstants.CONFAC_PARAM, null);
                qcf.setValue(DEFAULT_QUEUE_CONNECTION_FACTORY);
                axisService.addParameter(qcf);
                break;
            }
        }
        // Use the existing WSDL
        Parameter wsdlParam = new Parameter(WSDLConstants.WSDL_4_J_DEFINITION, null);
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.