Examples of WsdlPortType


Examples of xsul5.wsdl.WsdlPortType

        return message.getPrefix() + ":" + message.getLocalPart();
    }

    private QName findInputMessaQname(WsdlBindingOperation wsdlBindingOperation, WsdlDefinitions wsdl) {
        String operationName = wsdlBindingOperation.getName();
        WsdlPortType portType = wsdl.getPortType(wsdlBindingOperation.getBinding().getPortType().getLocalPart());
        WsdlPortTypeOperation operation = portType.getOperation(operationName);
        QName message = operation.getInput().getMessage();
        return message;
    }
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType

            Map<String, WsdlDefinitions> wsdls) {
        Iterator<String> iterator = wsdls.keySet().iterator();
        while (iterator.hasNext()) {
            String key = (String) iterator.next();
            WsdlDefinitions wsdlDefinitions = wsdls.get(key);
            WsdlPortType pType = wsdlDefinitions.getPortType(portType.getLocalPart());
            WsdlPortTypeOperation operation = null;
            if (null != pType && null != (operation = pType.getOperation(opName))) {

                if (input) {
                    WsdlPortTypeInput messageRef = operation.getInput();
                    if (null != messageRef && null != messageRef.getMessage()) {
                        WsdlMessage message = wsdlDefinitions.getMessage(messageRef.getMessage().getLocalPart());
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType

                    Iterator<String> keys = wsdls.keySet().iterator();

                    while (keys.hasNext()) {
                        String key = keys.next();
                        WsdlDefinitions wsdl = wsdls.get(key);
                        WsdlPortType portType = wsdl.getPortType(portTypeName);
                        if (null != portType) {
                            WsdlPortTypeOperation wsdlOperation = portType.getOperation(operation);
                            WsdlMessagePart part = wsdl
                                    .getMessage(wsdlOperation.getInput().getMessage().getLocalPart()).parts()
                                    .iterator().next();
                            XmlElement childElement = container.addElement(part.getElement().getLocalPart());
                            Iterator<GpelAssignCopy> copyItr = assign.copyOperations().iterator();
                            while (copyItr.hasNext()) {
                                GpelAssignCopy copyItm = copyItr.next();
                                childElement.addElement(getElementName(copyItm.getTo().getQuery()));
                                if (messagePartName == null) {
                                    messagePartName = copyItm.getTo().xml().attributeValue(PART_STR);
                                }
                            }
                            break;
                        }
                    }
                } else {
                    // reply

                    WsdlPortType portType = workflowWSDL.getPortType(portTypeName);
                    if (null != portType) {
                        WsdlPortTypeOperation wsdlOperation = portType.getOperation(operation);
                        WsdlMessagePart part = workflowWSDL
                                .getMessage(wsdlOperation.getOutput().getMessage().getLocalPart()).parts().iterator()
                                .next();
                        XmlElement childElement = container.addElement(part.getElement().getLocalPart());
                        Iterator<GpelAssignCopy> copyItr = assign.copyOperations().iterator();
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.