Package xsul5.wsdl

Examples of xsul5.wsdl.WsdlDocumentation.xml()


        File bpelFile = new File(this.temporalDirectory, filename
                + XBayaConstants.BPEL_SUFFIX);
        File wsdlFile = new File(this.temporalDirectory, filename
                + XBayaConstants.WSDL_SUFFIX);
        XMLUtil.saveXML(gpelProcess.xml(), bpelFile);
        XMLUtil.saveXML(definitions.xml(), wsdlFile);

        // Save the workflow
        File workflowFile = new File(this.temporalDirectory, filename
                + XBayaConstants.WORKFLOW_FILE_SUFFIX);
        XMLUtil.saveXML(workflow.toXML(), workflowFile);
View Full Code Here


        File bpelFile2 = new File(this.temporalDirectory, filename + "-2"
                + XBayaConstants.BPEL_SUFFIX);
        File wsdlFile2 = new File(this.temporalDirectory, filename + "-2"
                + XBayaConstants.WSDL_SUFFIX);
        XMLUtil.saveXML(gpelProcess.xml(), bpelFile2);
        XMLUtil.saveXML(definitions.xml(), wsdlFile2);

        File workflowFile2 = new File(this.temporalDirectory, filename + "-2"
                + XBayaConstants.WORKFLOW_FILE_SUFFIX);
        XMLUtil.saveXML(workflow.toXML(), workflowFile2);
View Full Code Here

          .getDSCURL(), configuration.getODEURL());
    } catch (Exception e) {
      // shouldnt happen cos we have already called this once
      throw new XBayaRuntimeException(e);
    }
    org.xmlpull.infoset.XmlElement service = workflowWSDL.xml().element(
        null, "service");
    org.xmlpull.infoset.XmlElement port = service.element(null, "port");
    org.xmlpull.infoset.XmlElement address = port.element(null, "address");
    String location = address.attributeValue("location");
View Full Code Here

              .serializeToStringPretty(workflow
                  .getODEDeploymentDescriptor(dscURI,
                      configuration.getODEURL()))));

      XMLFile processWSDL = XMLFile.Factory.newInstance();
      processWSDL.setFileName(workflowWSDL.xml().attributeValue("name")
          + ".wsdl");
      processWSDL.setContent(XBeansUtil
          .xmlElementToXmlObject(workflowWSDL.xmlStringPretty()));
      documentsType.setProcessWSDL(processWSDL);
View Full Code Here

      XMLFile[] serviceWSDLs = new XMLFile[wsdlMap.size() + 3];
      int index = 0;
      for (String id : wsdlMap.keySet()) {
        WsdlDefinitions wsdl = wsdlMap.get(id);
        serviceWSDL = XMLFile.Factory.newInstance();
        serviceWSDL.setFileName(wsdl.xml().attributeValue("name")
            + ".wsdl");
        serviceWSDL.setContent(XBeansUtil.xmlElementToXmlObject(wsdl
            .xmlStringPretty()));
        serviceWSDLs[index++] = serviceWSDL;
      }
View Full Code Here

        File file = File.createTempFile(
            ".xbaya-" + portTypeQName.getLocalPart(),
            XBayaConstants.WSDL_SUFFIX);
        this.tmpWSDLFiles.add(file);
        XMLUtil.saveXML(wsdl.xml(), file);

        String wsdlID = JythonScript.getWSDLID(node);
        String wsdlURL = file.toURL().toString();
        arguments.add("-" + wsdlID);
        arguments.add(wsdlURL);
View Full Code Here

        removedBindings .add(wsdlBinding);
      }
    }
    //to mitigate the Concurrent modifications this is done separately
    for (WsdlBinding wsdlBinding : removedBindings) {
      wsdl.xml().removeElement(wsdlBinding.xml());
    }
   
    ArrayList<WsdlPort> removePorts = new ArrayList<WsdlPort>();
    Iterable<WsdlService> services = wsdl.services();
    for (WsdlService wsdlService : services) {
View Full Code Here

        if (workflowWSDLresource == null) {
            workflowWSDLresource = new GcWsdlResource(PROCESS_WSDL_TYTLE,
                    workflowWSDL);
            links.add(workflowWSDLresource);
        } else {
            workflowWSDLresource.setXmlContent(workflowWSDL.xml());
        }

        Map<String, WsdlDefinitions> wsdlMap = workflow.getWSDLs();
        for (String id : wsdlMap.keySet()) {
            WsdlDefinitions wsdl = wsdlMap.get(id);
View Full Code Here

            GcWsdlResource wsdlResource = wsdlResourceMap.remove(id);
            if (wsdlResource == null) {
                wsdlResource = new GcWsdlResource(id, wsdl);
                links.add(wsdlResource);
            } else {
                wsdlResource.setXmlContent(wsdl.xml());
            }
        }

        // Remove the rest of unused WSDL from the links.
        for (GcWsdlResource resource : wsdlResourceMap.values()) {
View Full Code Here

        if (null != fromPort && fromPort instanceof DataPort) {
          DataPort fromDataPort = (DataPort) fromPort;
          WsdlDefinitions wsdl = engine.getWorkflow().getWSDLs().get(
              fromWsNode.getWSDLID());
          System.out.println(xsul5.XmlConstants.BUILDER
              .serializeToString(wsdl.xml()));
          Iterator<XmlNamespace> itr = wsdl.xml().namespaces()
              .iterator();
          try {
            XmlElement schema = wsdl.getTypes().element("schema")
                .clone();
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.