org.xml.sax.SAXParseException: The markup in the document preceding the root ele ment 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 3004, 1 year ago
The markup in the document preceding the root ele ment 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 xml-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 Frey, Gregor Karl, 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.
org.xml.sax.SAXParseException: The markup in the document preceding the root ele ment must be well-formed.
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1008)
at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:625)
at org.apache.xerces.framework.XMLDocumentScanner$XMLDeclDispatcher.dispatch(XMLDocumentScanner.java:804)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:380)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
at org.apache.soap.rpc.Call.invoke(Call.java:157)
at samples.addressbook.GetAddress.main(GetAddress.java:125)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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