public static String xmlToString ( InputStream in ) throws AlipayApiException { Element root = getRootElementFromStream ( in ) ; return nodeToString ( root ) ; }
Converts the an XML file input stream to XML payload .