1, issue: server-side parsing xml message is an exception org.xml.sax.SAXParseException: Content is not allowed in prolog
2, Environment: The xml file transfer using http protocol. client-side use httpclient to send xml message, server-side parsing after the correlation processing.
3 reasons: the local xml file using Notepad, save the emergence of byte order problem, the problem is BOM! xml use utf-8 encoding, byte order problem does not exist!
4, the solution: use higher version of ue to regenerate normal xml file!
5, the other with the question: httpclient in sending the post request, the default parameters and values in between will add a "=", so do not need to explicitly go to increase.