org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ws-soap-user by Frey, Gregor Karl, 1 year ago
The markup in the document preceding the root element must be well-formed.
via ws-soap-user by Keen, Andy, 1 year ago
The markup in the document preceding the root element must be well-formed.
via ws-soap-user by Adam Lang, 1 year ago
The markup in the document preceding the root element must be well-formed.
via ws-soap-user by Narasimha Rao, 1 year ago
The markup in the document preceding the root element must be well-formed.
via xml-soap-user by Narasimha Rao, 1 year ago
The markup in the document preceding the root element must be well-formed.
via ws-soap-user by Adam Lang, 1 year ago
The markup in the document preceding the root element must be well-formed.
org.xml.sax.SAXParseException: The markup in the document preceding the root element must be well-formed.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1056)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:626)
at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:805)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948)
at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
at org.apache.soap.rpc.Call.invoke(Call.java:157)
at samples.addressbook.GetAllListings.main(GetAllListings.java:102)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.