org.pentaho.platform.engine.services
Class WebServiceUtil

java.lang.Object
  extended by org.pentaho.platform.engine.services.WebServiceUtil

public class WebServiceUtil
extends java.lang.Object


Constructor Summary
WebServiceUtil()
           
 
Method Summary
static java.lang.String getErrorXml(java.lang.String errorMsg)
           
static java.lang.String getStatusXml(java.lang.String statusMsg)
           
static void writeDocument(java.io.OutputStream outputStream, org.dom4j.Document doc)
           
static void writeDocument(java.io.OutputStream outputStream, org.w3c.dom.Document doc, boolean wrapWithSOAP)
           
static void writeDocument(java.io.OutputStream outputStream, org.dom4j.Document doc, boolean wrapWithSOAP)
           
static void writeString(java.io.OutputStream outputStream, java.lang.String strXml)
           
static void writeString(java.io.OutputStream outputStream, java.lang.String strXml, boolean wrapWithSOAP)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceUtil

public WebServiceUtil()
Method Detail

writeDocument

public static void writeDocument(java.io.OutputStream outputStream,
                                 org.w3c.dom.Document doc,
                                 boolean wrapWithSOAP)
                          throws java.io.IOException,
                                 javax.xml.transform.TransformerConfigurationException,
                                 javax.xml.transform.TransformerException,
                                 javax.xml.transform.TransformerFactoryConfigurationError
Throws:
java.io.IOException
javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException
javax.xml.transform.TransformerFactoryConfigurationError

writeDocument

public static void writeDocument(java.io.OutputStream outputStream,
                                 org.dom4j.Document doc,
                                 boolean wrapWithSOAP)
                          throws java.io.IOException
Throws:
java.io.IOException

writeDocument

public static void writeDocument(java.io.OutputStream outputStream,
                                 org.dom4j.Document doc)
                          throws java.io.IOException
Throws:
java.io.IOException

writeString

public static void writeString(java.io.OutputStream outputStream,
                               java.lang.String strXml)
                        throws java.io.IOException
Throws:
java.io.IOException

writeString

public static void writeString(java.io.OutputStream outputStream,
                               java.lang.String strXml,
                               boolean wrapWithSOAP)
                        throws java.io.IOException
Throws:
java.io.IOException

getStatusXml

public static java.lang.String getStatusXml(java.lang.String statusMsg)

getErrorXml

public static java.lang.String getErrorXml(java.lang.String errorMsg)