Examples of PortImpl


Examples of com.ibm.wsdl.PortImpl

            {
                def.addBinding(binding);
                ServiceImpl service = (ServiceImpl) def.createService();
                service.setQName(wsdlQName);
               
                PortImpl port = (PortImpl) def.createPort();
                port.setName(wsdlQName.getLocalPart() + WSDL_PORT_SUFFIX);
                port.setBinding(binding);
                service.addPort(port);

                SOAPAddressImpl soapAddress = new SOAPAddressImpl();
                soapAddress.setLocationURI(serviceLocation);
                port.addExtensibilityElement(soapAddress);
                def.addService(service);
            }

            if(!abstractWSDL)
            {
View Full Code Here

Examples of com.ibm.wsdl.PortImpl

            if (!abstractWSDL) {
                def.addBinding(binding);
                ServiceImpl service = (ServiceImpl) def.createService();
                service.setQName(wsdlQName);

                PortImpl port = (PortImpl) def.createPort();
                port.setName(wsdlQName.getLocalPart() + WSDL_PORT_SUFFIX);
                port.setBinding(binding);
                service.addPort(port);

                SOAPAddressImpl soapAddress = new SOAPAddressImpl();
                soapAddress.setLocationURI(serviceLocation);
                port.addExtensibilityElement(soapAddress);
                def.addService(service);
            }

            if (!abstractWSDL) {
                table.put(WSDL_QNAME, wsdlQName);
View Full Code Here

Examples of com.ibm.wsdl.PortImpl

                Service service = (Service) iterator.next();
                service.getPorts().values().clear();

                for (int i = 0; i < serviceURL.length; i++) {
                    String url = serviceURL[i];
                    Port port = new PortImpl();
                    SOAPAddress soapAddress = new SOAPAddressImpl();

                    soapAddress.setElementType(SOAPConstants.Q_ELEM_SOAP_ADDRESS);
                    soapAddress.setLocationURI(url);
                    port.addExtensibilityElement(soapAddress);
                    port.setName(getName() + "Port" + i);
                    port.setBinding(binding);
                    service.addPort(port);
                }
            }

            WSDLFactory.newInstance().newWSDLWriter().writeWSDL(wsdlDefinition, out);
View Full Code Here

Examples of com.ibm.wsdl.PortImpl

            if (!abstractWSDL) {
                def.addBinding(binding);
                ServiceImpl service = (ServiceImpl) def.createService();
                service.setQName(wsdlQName);

                PortImpl port = (PortImpl) def.createPort();
                port.setName(wsdlQName.getLocalPart() + WSDL_PORT_SUFFIX);
                port.setBinding(binding);
                service.addPort(port);

                SOAPAddressImpl soapAddress = new SOAPAddressImpl();
                soapAddress.setLocationURI(serviceLocation);
                port.addExtensibilityElement(soapAddress);
                def.addService(service);
            }

            if (!abstractWSDL) {
                table.put(WSDL_QNAME, wsdlQName);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.graph.impl.PortImpl

     */
    @Override
    protected void setPortPositions() {
        super.setPortPositions();

        PortImpl controlInPort = this.node.getControlInPort();
        if (controlInPort != null) {
            Point off = new Point(0, this.headHeight / 2);
            controlInPort.getGUI().setOffset(off);
        }
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.graph.impl.PortImpl

            Point offset = new Point(PortGUI.DATA_PORT_SIZE / 2,
                    this.headHeight + PORT_INITIAL_GAP + PORT_GAP * i);
            port.getGUI().setOffset(offset);
        }

        PortImpl controlInPort = this.node.getControlInPort();
        if (controlInPort != null) {
            Point offset = new Point(0, this.headHeight / 2);
            controlInPort.getGUI().setOffset(offset);
        }

        // There are two controlOutPorts.
        List<? extends Port> controlOutPorts = this.node.getControlOutPorts();
        Port controlOutPort1 = controlOutPorts.get(0);
View Full Code Here

Examples of edu.indiana.extreme.xbaya.graph.impl.PortImpl

                GraphSchema.PORT_TYPE_ATTRIBUTE);
        if (type == null) {
            // Old graphs don't have the namespace for the attribute.
            type = portElement.attributeValue(GraphSchema.PORT_TYPE_ATTRIBUTE);
        }
        PortImpl port;
        if (GraphSchema.PORT_TYPE_WS_DATA.equals(type)) {
            port = new WSPort(portElement);
        } else if(GraphSchema.PORT_TYPE_CEP.equals(type)){
          port = new CepPort(portElement);
        }else if (GraphSchema.PORT_TYPE_SYSTEM_DATA.equals(type)) {
View Full Code Here

Examples of edu.indiana.extreme.xbaya.graph.impl.PortImpl

                        "Cannot connect more than one Control Ports to the Exit node.");
            }
        }
    }
    protected List<ControlEdge> getEdges() {
      PortImpl port = getControlInPort();
        List<ControlEdge> edges = (List<ControlEdge>) port.getEdges();
        return edges;
    }
View Full Code Here

Examples of edu.indiana.extreme.xbaya.graph.impl.PortImpl

                // This should not happen.
                throw new XBayaRuntimeException(originalFromNode.getClass()
                        .getName());
            }
            Port originalToPort = originalFromPort.getToPorts().get(0);
            PortImpl toPort = graph.getPort(originalToPort.getID());
            InputNode inputNode = (InputNode) toPort.getFromNode();
            inputNode.setDefaultValue(output);
        }

        return workflow;
    }
View Full Code Here

Examples of org.apache.airavata.workflow.model.graph.impl.PortImpl

            }
        }
    }

    protected List<ControlEdge> getEdges() {
        PortImpl port = getControlInPort();
        List<ControlEdge> edges = (List<ControlEdge>) port.getEdges();
        return edges;
    }
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.