Examples of xml()


Examples of xsul5.wsdl.WsdlDefinitions.xml()

                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

Examples of xsul5.wsdl.WsdlDefinitions.xml()

    while(iterator.hasNext()){
      String id = iterator.next();
      WsdlDefinitions wsdl = wsdls.get(id);
      XmlElement importElement = process.xml().newElement(process.xml().getNamespace(), "import");
      importElement.setAttributeValue("importType", "http://schemas.xmlsoap.org/wsdl/");
      importElement.setAttributeValue("location", wsdl.xml().attributeValue("name")+".wsdl");
      importElement.setAttributeValue("namespace", wsdl.getTargetNamespace());
      process.xml().addChild(0, importElement);
     
    }
   
View Full Code Here

Examples of xsul5.wsdl.WsdlDefinitions.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

Examples of xsul5.wsdl.WsdlDefinitions.xml()

        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

Examples of xsul5.wsdl.WsdlDefinitions.xml()

          .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

Examples of xsul5.wsdl.WsdlDefinitions.xml()

              .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

Examples of xsul5.wsdl.WsdlDefinitions.xml()

      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

Examples of xsul5.wsdl.WsdlDocumentation.xml()

        this.wsdlQName = new QName(this.targetNamespace, wsdlName);

        WsdlDocumentation documentation = this.wsdl.getDocumentation();
        if (documentation != null) {
            StringBuffer buf = new StringBuffer();
            for (Object child : documentation.xml().children()) {
                if (child instanceof String) {
                    buf.append(child.toString());
                } else if (child instanceof XmlCharacters) {
                    buf.append(((XmlCharacters) child).getText());
                }
View Full Code Here

Examples of xsul5.wsdl.WsdlMessagePart.xml()

          WsdlMessagePart leadHeaderPart = new WsdlMessagePart(
              LEAD_HEADER);
          leadHeaderPart.setName(LEAD_HEADER);
          // we hand set this element to xml because when you use the
          // API it doent add the namespace correctly
          leadHeaderPart.xml().setAttributeValue(ELEMENT,
              LC_CONTEXT);

          wsdl.getMessage(
              operation.getInput().getMessage().getLocalPart())
              .addPart(leadHeaderPart);
View Full Code Here

Examples of xsul5.wsdl.WsdlPort.xml()

        if (iterator.hasNext()) {
            Iterable<WsdlPort> ports = iterator.next().ports();
            Iterator<WsdlPort> portIterator = ports.iterator();
            if (portIterator.hasNext()) {
                WsdlPort port = portIterator.next();
                Iterable children = port.xml().children();
                Iterator childIterator = children.iterator();
                while (childIterator.hasNext()) {
                    Object next = childIterator.next();
                    if (next instanceof XmlElementWithViewsImpl) {
                        org.xmlpull.infoset.XmlAttribute epr = ((XmlElementWithViewsImpl) next).attribute("location");
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.