org.pentaho.platform.engine.services
Class WebServiceUtil

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

public class WebServiceUtil
extends Object


Constructor Summary
WebServiceUtil()
           
 
Method Summary
static String getErrorXml(String errorMsg)
           
static String getStatusXml(String statusMsg)
           
static void writeDocument(OutputStream outputStream, Document doc)
           
static void writeDocument(OutputStream outputStream, Document doc, boolean wrapWithSOAP)
           
static void writeString(OutputStream outputStream, String strXml)
           
static void writeString(OutputStream outputStream, 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(OutputStream outputStream,
                                 Document doc,
                                 boolean wrapWithSOAP)
                          throws IOException,
                                 TransformerConfigurationException,
                                 TransformerException,
                                 TransformerFactoryConfigurationError
Throws:
IOException
TransformerConfigurationException
TransformerException
TransformerFactoryConfigurationError

writeDocument

public static void writeDocument(OutputStream outputStream,
                                 Document doc)
                          throws IOException
Throws:
IOException

writeString

public static void writeString(OutputStream outputStream,
                               String strXml)
                        throws IOException
Throws:
IOException

writeString

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

getStatusXml

public static String getStatusXml(String statusMsg)

getErrorXml

public static String getErrorXml(String errorMsg)