Package org.apache.axis2.description

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


        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;
            }
        }

        // Add schema information to the AxisService (needed for "?xsd=" support)
View Full Code Here


        addSchemas(wsBinding.getWSDLDefinition(), axisService);

        // Use the existing WSDL
        Parameter wsdlParam = new Parameter(WSDLConstants.WSDL_4_J_DEFINITION, null);
        wsdlParam.setValue(definition);
        axisService.addParameter(wsdlParam);
        Parameter userWSDL = new Parameter("useOriginalwsdl", "true");
        axisService.addParameter(userWSDL);

        // Modify schema imports and includes to add "servicename?xsd=" prefix.
        // Axis2 does this for schema extensibility elements, but Tuscany has
View Full Code Here

        // Use the existing WSDL
        Parameter wsdlParam = new Parameter(WSDLConstants.WSDL_4_J_DEFINITION, null);
        wsdlParam.setValue(definition);
        axisService.addParameter(wsdlParam);
        Parameter userWSDL = new Parameter("useOriginalwsdl", "true");
        axisService.addParameter(userWSDL);

        // Modify schema imports and includes to add "servicename?xsd=" prefix.
        // Axis2 does this for schema extensibility elements, but Tuscany has
        // overriden the WSDl4J deserializer to create UnknownExtensibilityElement
        // elements in place of these.
View Full Code Here

        modifySchemaImportsAndIncludes(definition, name);

        // Axis2 1.3 has a bug with returning incorrect values for the port
        // addresses.  To work around this, compute the values here.
        Parameter modifyAddr = new Parameter("modifyUserWSDLPortAddress", "false");
        axisService.addParameter(modifyAddr);

        return axisService;
    }

    private void addSchemas(WSDLDefinition wsdlDef, AxisService axisService) {
View Full Code Here

        //axisService.addParameter(new Parameter("useOriginalwsdl", "true"));
        //axisService.addParameter(new Parameter("modifyUserWSDLPortAddress", "true"));
        //axisService.addParameter(new Parameter("setEndpointsToAllUsedBindings", "true"));

        /* Setting service type to use in service management*/
        axisService.addParameter(ServerConstants.SERVICE_TYPE, "bpel");

        /* Process ID as a service parameter to use with process try-it*/
        axisService.addParameter(BPELConstants.PROCESS_ID, pConf.getProcessId());

        /* Fix for losing of security configuration  when updating BPEL package*/
 
View Full Code Here

        /* Setting service type to use in service management*/
        axisService.addParameter(ServerConstants.SERVICE_TYPE, "bpel");

        /* Process ID as a service parameter to use with process try-it*/
        axisService.addParameter(BPELConstants.PROCESS_ID, pConf.getProcessId());

        /* Fix for losing of security configuration  when updating BPEL package*/
        axisService.addParameter(new Parameter(CarbonConstants.PRESERVE_SERVICE_HISTORY_PARAM,
                                               "true"));
        axisService.addParameter(
View Full Code Here

        /* Process ID as a service parameter to use with process try-it*/
        axisService.addParameter(BPELConstants.PROCESS_ID, pConf.getProcessId());

        /* Fix for losing of security configuration  when updating BPEL package*/
        axisService.addParameter(new Parameter(CarbonConstants.PRESERVE_SERVICE_HISTORY_PARAM,
                                               "true"));
        axisService.addParameter(
                new Parameter(BPELConstants.MESSAGE_RECEIVER_INVOKE_ON_SEPARATE_THREAD, "true"));

        return axisService;
View Full Code Here

        axisService.addParameter(BPELConstants.PROCESS_ID, pConf.getProcessId());

        /* Fix for losing of security configuration  when updating BPEL package*/
        axisService.addParameter(new Parameter(CarbonConstants.PRESERVE_SERVICE_HISTORY_PARAM,
                                               "true"));
        axisService.addParameter(
                new Parameter(BPELConstants.MESSAGE_RECEIVER_INVOKE_ON_SEPARATE_THREAD, "true"));

        return axisService;
    }

View Full Code Here

        try {
            ConfigurationContext configurationContext =
                    MessageContext.getCurrentMessageContext().getConfigurationContext();
            cx.putThreadLocal(MashupConstants.AXIS2_CONFIGURATION_CONTEXT, configurationContext);
            AxisService service = new AxisService();
            service.addParameter(MashupConstants.MASHUP_AUTHOR, CurrentSession.getUser());
            cx.putThreadLocal(MashupConstants.AXIS2_SERVICE, service);
            Scriptable scope = cx.initStandardObjects();
            ScriptableObject.defineClass(scope, ResourceHostObject.class);
            ScriptableObject.defineClass(scope, CollectionHostObject.class);
            ScriptableObject.defineClass(scope, RegistryHostObject.class);
View Full Code Here

            } else {
                // no function map in AxisConfiguration, new one is created
                HashMap tasksMap = new HashMap();
                tasksMap.put(taskDescription.getName(), resources);
                Parameter parameter = new Parameter(FunctionSchedulingJob.JS_FUNCTION_MAP, tasksMap);
                axisService.addParameter(parameter);
            }
        } catch (AxisFault axisFault) {
            axisFault.printStackTrace();
        }
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.