}
protected String writeRequest(XmlRpcStreamRequestConfig pConfig, XmlRpcRequest pRequest)
throws XmlRpcException, SAXException {
StringWriter sw = new StringWriter();
XMLWriter xw = new XMLWriterImpl();
xw.setEncoding("US-ASCII");
xw.setDeclarating(true);
xw.setIndenting(false);
xw.setWriter(sw);
XmlRpcWriter xrw = new XmlRpcWriter(pConfig, xw, client.getTypeFactory());
xrw.write(pRequest);
return sw.toString();
}