Examples of xml()


Examples of org.gpel.model.GpelAssignCopyTo.xml()

        headerFrom.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerFrom.xml().setAttributeValue(VARIABLE_STR, WORKFLOW_INPUT_STR);

        GpelAssignCopyTo headerTo = new GpelAssignCopyTo(ns);
        headerTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        headerTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        GpelAssignCopy headerCopy = new GpelAssignCopy(ns, headerFrom,
            headerTo);
        GpelAssign assign = (GpelAssign) last;
        assign.addCopy(headerCopy);
View Full Code Here

Examples of org.gpel.model.GpelAssignCopyTo.xml()

            .parseFragmentFromString("<dummyelement>"
                + next.xml().attributeValue(NAME)
                + "</dummyelement>"));
        GpelAssignCopyTo nodeIDTo = new GpelAssignCopyTo(ns);

        nodeIDTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        nodeIDTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        // TODO is this ok?? what of the query language
        nodeIDTo.setQuery("/leadcntx:workflow-node-id");
View Full Code Here

Examples of org.gpel.model.GpelAssignCopyTo.xml()

                + next.xml().attributeValue(NAME)
                + "</dummyelement>"));
        GpelAssignCopyTo nodeIDTo = new GpelAssignCopyTo(ns);

        nodeIDTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        nodeIDTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        // TODO is this ok?? what of the query language
        nodeIDTo.setQuery("/leadcntx:workflow-node-id");

        GpelAssignCopy nodeIDCopy = new GpelAssignCopy(ns, nodeIDFrom,
View Full Code Here

Examples of org.gpel.model.GpelAssignCopyTo.xml()

        timeStepFrom.setLiteral(XmlConstants.BUILDER
            .parseFragmentFromString("<dummyelement>"
                + "5"
                + "</dummyelement>"));
        GpelAssignCopyTo timeStepTo = new GpelAssignCopyTo(ns);
        timeStepTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        timeStepTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        // TODO is this ok?? what of the query language
        timeStepTo.setQuery("/leadcntx:workflow-time-step");
View Full Code Here

Examples of org.gpel.model.GpelAssignCopyTo.xml()

            .parseFragmentFromString("<dummyelement>"
                + "5"
                + "</dummyelement>"));
        GpelAssignCopyTo timeStepTo = new GpelAssignCopyTo(ns);
        timeStepTo.xml().setAttributeValue(PART_STR, LEAD_HEADER_STR);
        timeStepTo.xml().setAttributeValue(VARIABLE_STR,
            next.xml().attributeValue(INPUT_VARIABLE_STR));
        // TODO is this ok?? what of the query language
        timeStepTo.setQuery("/leadcntx:workflow-time-step");

        GpelAssignCopy timeStepCopy = new GpelAssignCopy(ns,
View Full Code Here

Examples of org.gpel.model.GpelProcess.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);
View Full Code Here

Examples of org.gpel.model.GpelProcess.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 org.gpel.model.GpelVariable.xml()

                String variableName = port.getID() + INPUT_SUFFIX;

                GpelVariable ifVar = new GpelVariable(this.process.xml().getNamespace(), variableName);
                XmlNamespace xsdNS = process.xml().lookupNamespaceByName(WSConstants.XSD_NS_URI);
                if (null != xsdNS && xsdNS.getPrefix() != null) {
                    ifVar.xml().setAttributeValue("element",
                            xsdNS.getPrefix() + ":" + WSConstants.XSD_ANY_TYPE.getLocalPart());
                } else {
                    this.process.xml().declareNamespace(WSConstants.XSD_NS);
                    ifVar.xml().setAttributeValue("element",
                            WSConstants.XSD_NS.getPrefix() + ":" + WSConstants.XSD_ANY_TYPE.getLocalPart());
View Full Code Here

Examples of org.gpel.model.GpelVariablesContainer.xml()

   * @throws CloneNotSupportedException
   */
  public void addreceive(GpelProcess process, WsdlDefinitions workflowWsdl, String operationName, String receiveMessage ) throws CloneNotSupportedException {

    GpelVariablesContainer variables = process.getVariables();
    XmlNamespace ns = variables.xml().getNamespace();
    GpelVariable var = new GpelVariable(ns, "newReceiveVar");
    variables.addVariable(var);
    var.setMessageTypeQName(new QName(workflowWsdl.getTargetNamespace(),
        receiveMessage));

View Full Code Here

Examples of sos.spooler.Order.xml()

            if (spooler_task.params().value("response_stylesheet") != null && spooler_task.params().value("response_stylesheet").length() > 0) {
                // .. either transform the response from order parameters and payload
                Xslt_stylesheet stylesheet = spooler.create_xslt_stylesheet();
                stylesheet.load_file( spooler_task.params().value("response_stylesheet") );
                xml_document = stylesheet.apply_xml( order.xml() );
                spooler_log.debug3( "content of response transformation:\n" + xml_document );
                response.set_string_content( xml_document );
            } else {
                // .. or send an individual response (use order.params().xml() or order.xml_payload() to access order data)
                response.set_string_content( "<response state=\"success\">" + order.params().xml() + "</response>" );
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.