Package com.eibus.xml.nom

Examples of com.eibus.xml.nom.Document


      }
  
      private static void startBPM(String bpmName, String inputMessage)
    {     
        int message = 0;
        Document document = BSF.getXMLDocument();
     
        SOAPRequestObject soapRequestObject = new SOAPRequestObject("http://schemas.cordys.com/bpm/execution/1.0",
        "ExecuteProcess",null,null);
    soapRequestObject.addParameterAsXml(document.createTextElement("type", "definition"));
    soapRequestObject.addParameterAsXml(document.createTextElement("receiver", bpmName));
    try
    {
      message = BSF.getXMLDocument().parseString(inputMessage);
      soapRequestObject.addParameterAsXml(message);   
      soapRequestObject.addParameterAsXml(document.createTextElement("source", "Run from Process Designer"));
        soapRequestObject.execute();       
    }
    catch (Exception e){}       
  }
View Full Code Here

TOP

Related Classes of com.eibus.xml.nom.Document

Copyright © 2018 www.massapicom. 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.