Examples of WsdlPortType


Examples of com.caucho.soap.wsdl.WSDLPortType

   
    _wsdl = wsdl;

    if (_wsdl != null) {
      for (WSDLBinding binding : _wsdl.getBindings()) {
        WSDLPortType portType = binding.getPortType();

        if (portType != null && portType.getName().equals(_portName)) {
          for (WSDLBindingOperation operation : binding.getOperations()) {
            if (operation.getName().equals(_operationName)) {
              _bindingOperation = operation;
              break;
            }
View Full Code Here

Examples of com.sun.xml.internal.ws.api.model.wsdl.WSDLPortType

    void finalizeRpcLitBinding(WSDLBoundPortTypeImpl boundPortType){
        assert(boundPortType != null);
        QName portTypeName = boundPortType.getPortTypeName();
        if(portTypeName == null)
            return;
        WSDLPortType pt = portTypes.get(portTypeName);
        if(pt == null)
            return;
        for (WSDLBoundOperationImpl bop : boundPortType.getBindingOperations()) {
            WSDLOperation pto = pt.get(bop.getName().getLocalPart());
            WSDLMessage inMsgName = pto.getInput().getMessage();
            if(inMsgName == null)
                continue;
            WSDLMessageImpl inMsg = messages.get(inMsgName.getName());
            int bodyindex = 0;
View Full Code Here

Examples of com.sun.xml.ws.api.model.wsdl.WSDLPortType

    void finalizeRpcLitBinding(WSDLBoundPortTypeImpl boundPortType){
        assert(boundPortType != null);
        QName portTypeName = boundPortType.getPortTypeName();
        if(portTypeName == null)
            return;
        WSDLPortType pt = portTypes.get(portTypeName);
        if(pt == null)
            return;
        for (WSDLBoundOperationImpl bop : boundPortType.getBindingOperations()) {
            WSDLOperation pto = pt.get(bop.getName().getLocalPart());
            WSDLMessage inMsgName = pto.getInput().getMessage();
            if(inMsgName == null)
                continue;
            WSDLMessageImpl inMsg = messages.get(inMsgName.getName());
            int bodyindex = 0;
View Full Code Here

Examples of xsul.wsdl.WsdlPortType

          }

          if (this.portTypeQName == null) {
              try {
                  Iterable portTypes = this.abstractDefinitions.getPortTypes();
                  WsdlPortType portType = (WsdlPortType) portTypes.iterator()
                          .next();
                  String portTypeName = portType.getPortTypeName();
                  String targetNamespace = this.abstractDefinitions
                          .getTargetNamespace();
                  this.portTypeQName = new QName(targetNamespace, portTypeName);
              } catch (RuntimeException e) {
                  String message = "Error in finding QName of the service in the WSDL";
View Full Code Here

Examples of xsul.wsdl.WsdlPortType

    }

    if (this.portTypeQName == null) {
      try {
        Iterable portTypes = this.abstractDefinitions.getPortTypes();
        WsdlPortType portType = (WsdlPortType) portTypes.iterator()
            .next();
        String portTypeName = portType.getPortTypeName();
        String targetNamespace = this.abstractDefinitions
            .getTargetNamespace();
        this.portTypeQName = new QName(targetNamespace, portTypeName);
      } catch (RuntimeException e) {
        String message = "Error in finding QName of the service in the WSDL";
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType

    private void addReceive(ReceiveNode node, GpelSequence sequence) {
        String id = node.getID();
        String operationName = id;

        // Create this operation and type in WSDL.
        WsdlPortType portType = this.workflowWSDL.addReceivePortType(
                operationName, node);
        QName portTypeQName = portType.getQName();

        // Partner link
        String partnerLinkName = createPartnerLinkName(id);
        XmlNamespace partnerLinkTypeNS = this.targetNamespace;
        String partnerLinkTypeName = id + PARTNER_LINK_TYPE_SUFFIX;
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType

                }
            }
            this.description = buf.toString();
        }

        WsdlPortType portType = this.wsdl.getPortType(this.portTypeQName
                .getLocalPart());
        if (portType == null) {
            throw new ComponentException("portType, " + this.portTypeQName
                    + " is not defined.");
        }
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType

    public WorkflowComponent(WsdlDefinitions wsdl, QName portTypeQName,
            String operationName) throws ComponentException {
        super(wsdl, portTypeQName, operationName);
        try {
            // Get template ID from WSDL
            WsdlPortType portType = this.wsdl.getPortType(portTypeQName
                    .getLocalPart());
            XmlElement templateIDElement = portType.xml().element(
                    GPEL_NAMESPACE, WORKFLOW_TEMPLATE_ID_TAG);
            String templateIDString = templateIDElement.requiredText();
            this.templateID = new URI(templateIDString);
        } catch (URISyntaxException e) {
            throw new ComponentException(e);
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType

     */
    public static URI getWorkflowTemplateID(WsdlDefinitions definitions)
            throws ComponentException {
        try {
            // Get template ID from WSDL
            WsdlPortType portType = WSDLUtil.getFirstPortType(definitions);
            XmlElement templateIDElement = portType.xml().element(
                    GPEL_NAMESPACE, WORKFLOW_TEMPLATE_ID_TAG);
            if (templateIDElement == null) {
                // Not a workflow
                return null;
            } else {
View Full Code Here

Examples of xsul5.wsdl.WsdlPortType

     * @throws ComponentException
     */
    public static List<WSComponent> createComponents(WsdlDefinitions wsdl)
            throws ComponentException {
        QName portTypeQName = WSDLUtil.getFirstPortTypeQName(wsdl);
        WsdlPortType portType = wsdl.getPortType(portTypeQName.getLocalPart());
        List<WSComponent> components = new ArrayList<WSComponent>();
        for (WsdlPortTypeOperation operation : portType.operations()) {
            String operationName = operation.getOperationName();
            WSComponent component = createComponent(wsdl, portTypeQName,
                    operationName);
            components.add(component);
        }
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.