Examples of BindingOutputImpl


Examples of com.ibm.wsdl.BindingOutputImpl

    private Definition definition;
    private WSDLFactory factory;
   
   
    public void fixBindingOperation(String name,BindingOperation operation){
        BindingOutput out = new BindingOutputImpl();
        SOAPBodyImpl bodyImpl = new SOAPBodyImpl();
        bodyImpl.setUse("literal");
        bodyImpl.setNamespaceURI("http://extreme.indiana.edu/xregistry2/2007_02_21");
        operation.setBindingOutput(out);
    }
View Full Code Here

Examples of com.ibm.wsdl.BindingOutputImpl

                {
                    UnknownExtensibilityElement wsInPolicyRef = null;
                    UnknownExtensibilityElement wsOutPolicyRef = null;

                    BindingInputImpl bindingInput = addBindingInput(def, methodName, wsInPolicyRef);
                    BindingOutputImpl bindingOutput = addBindingOutput(def, methodName, outParams, wsOutPolicyRef);
                    BindingOperation bindingOperation = addBindingOperation(def, operation,dImpl);
                    bindingOperation.setBindingInput(bindingInput);
                    bindingOperation.setBindingOutput(bindingOutput);
                    binding.addBindingOperation(bindingOperation);
View Full Code Here

Examples of com.ibm.wsdl.BindingOutputImpl

                                                      String methodName,
                                                      Vector outParams,
                                                      UnknownExtensibilityElement wsPolicyRef)
    {
        // specify output only if there are output parameters
        BindingOutputImpl bindingOutput = null;
        if(outParams.size() > 0)
        {
            bindingOutput = (BindingOutputImpl) def.createBindingOutput();
            bindingOutput.setName(methodName+ GFacConstants.SERVICE_RESP_MSG_SUFFIX);
            if(wsPolicyRef != null)
            {
                logger.info("policy info is not null");
                bindingOutput.addExtensibilityElement(wsPolicyRef);
            }
            SOAPBodyImpl outputExtension = new SOAPBodyImpl();
            outputExtension.setUse(LITERAL);
            bindingOutput.addExtensibilityElement(outputExtension);
        }
        return bindingOutput;
    }
View Full Code Here

Examples of com.ibm.wsdl.BindingOutputImpl

            if (!abstractWSDL) {
                UnknownExtensibilityElement wsInPolicyRef = null;
                UnknownExtensibilityElement wsOutPolicyRef = null;

                BindingInputImpl bindingInput = addBindingInput(def, methodName, wsInPolicyRef);
                BindingOutputImpl bindingOutput = addBindingOutput(def, methodName, outputParams, wsOutPolicyRef);
                BindingOperation bindingOperation = addBindingOperation(def, operation, dImpl);
                bindingOperation.setBindingInput(bindingInput);
                bindingOperation.setBindingOutput(bindingOutput);
                binding.addBindingOperation(bindingOperation);
View Full Code Here

Examples of com.ibm.wsdl.BindingOutputImpl

    }

    private BindingOutputImpl addBindingOutput(Definition def, String methodName, OutputParameterType[] outputParams,
            UnknownExtensibilityElement wsPolicyRef) {
        // specify output only if there are output parameters
        BindingOutputImpl bindingOutput = null;
        if (outputParams.length > 0) {
            bindingOutput = (BindingOutputImpl) def.createBindingOutput();
            bindingOutput.setName(methodName + GFacSchemaConstants.SERVICE_RESP_MSG_SUFFIX);
            if (wsPolicyRef != null) {
                log.info("policy info is not null");
                bindingOutput.addExtensibilityElement(wsPolicyRef);
            }
            SOAPBodyImpl outputExtension = new SOAPBodyImpl();
            outputExtension.setUse(LITERAL);
            bindingOutput.addExtensibilityElement(outputExtension);
        }
        return bindingOutput;
    }
View Full Code Here

Examples of com.ibm.wsdl.BindingOutputImpl

            if (!abstractWSDL) {
                UnknownExtensibilityElement wsInPolicyRef = null;
                UnknownExtensibilityElement wsOutPolicyRef = null;

                BindingInputImpl bindingInput = addBindingInput(def, methodName, wsInPolicyRef);
                BindingOutputImpl bindingOutput = addBindingOutput(def, methodName, outputParams, wsOutPolicyRef);
                BindingOperation bindingOperation = addBindingOperation(def, operation, dImpl);
                bindingOperation.setBindingInput(bindingInput);
                bindingOperation.setBindingOutput(bindingOutput);
                binding.addBindingOperation(bindingOperation);
View Full Code Here

Examples of com.ibm.wsdl.BindingOutputImpl

    }

    private BindingOutputImpl addBindingOutput(Definition def, String methodName, OutputParameterType[] outputParams,
            UnknownExtensibilityElement wsPolicyRef) {
        // specify output only if there are output parameters
        BindingOutputImpl bindingOutput = null;
        if (outputParams.length > 0) {
            bindingOutput = (BindingOutputImpl) def.createBindingOutput();
            bindingOutput.setName(methodName + GFacSchemaConstants.SERVICE_RESP_MSG_SUFFIX);
            if (wsPolicyRef != null) {
                log.debug("policy info is not null");
                bindingOutput.addExtensibilityElement(wsPolicyRef);
            }
            SOAPBodyImpl outputExtension = new SOAPBodyImpl();
            outputExtension.setUse(LITERAL);
            bindingOutput.addExtensibilityElement(outputExtension);
        }
        return bindingOutput;
    }
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.