org.pentaho.platform.engine.services
Class WebServiceUtil
java.lang.Object
org.pentaho.platform.engine.services.WebServiceUtil
public class WebServiceUtil
- extends Object
WebServiceUtil
public WebServiceUtil()
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,
org.dom4j.Document doc,
boolean wrapWithSOAP)
throws IOException
- Throws:
IOException
writeDocument
public static void writeDocument(OutputStream outputStream,
org.dom4j.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)