Package org.wso2.carbon.mediator.service.builtin

Examples of org.wso2.carbon.mediator.service.builtin.SequenceMediator.addChild()


                if (endpoint == null) {
                    // then we can assume it is http
                    endpoint = TreeNodeBuilderUtil.evaluateXPathToValue(WSDLConstants.HTTP_ENDPOINT_EXPR, portElement);
                    if (endpoint != null) {
                        portNode.addChild(new TreeNode(WSDLConstants.HTTP_ENDPOINT, endpoint));
                        portNode.addChild(new TreeNode(WSDLConstants.HTTP_BINDING, WSDLConstants.HTTP_BINDING_TRUE));
                    }
                }
            }
            portNode.addChild(new TreeNode(WSDLConstants.BINDING, TreeNodeBuilderUtil.convertQNameToString(bindingLocalName,
                    bindingNamespace)));
View Full Code Here


                        portNode.addChild(new TreeNode(WSDLConstants.HTTP_ENDPOINT, endpoint));
                        portNode.addChild(new TreeNode(WSDLConstants.HTTP_BINDING, WSDLConstants.HTTP_BINDING_TRUE));
                    }
                }
            }
            portNode.addChild(new TreeNode(WSDLConstants.BINDING, TreeNodeBuilderUtil.convertQNameToString(bindingLocalName,
                    bindingNamespace)));
        }
        return portTypesFound;
    }
View Full Code Here

    private void fillPortType(TreeNode typeNode, OMElement typeElement) throws Exception {
        TreeNode operationsNode = new TreeNode(WSDLConstants.OPERATIONS);
        typeNode.addChild(operationsNode);
        List<String> operations = TreeNodeBuilderUtil.evaluateXPathToValues(WSDLConstants.PORT_TYPE_OPERATIONS_EXPR, typeElement);
        for (String operation: operations) {
            operationsNode.addChild(operation);
        }
    }

    private static String getWSDLVersion(OMElement wsdlElement) throws Exception {
        QName wsdl11RootQName = new QName("http://schemas.xmlsoap.org/wsdl/", "definitions");
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.