Package com.ibm.wsdl

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


                {
                    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

                                                      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

            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

    }

    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

            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

    }

    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

Related Classes of com.ibm.wsdl.BindingOutputImpl

Copyright © 2018 www.massapicom. 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.