You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Mir S Islam <mi...@mindspring.com> on 2001/05/31 23:56:24 UTC

Odd SAXParseException error

>From the archives I can see this is a very common problem. But I have not
found a solution yet. Here is my situation.

I am connecting to a IdooXoap (c++) soap server and envoking a method that
returns an int (0 or -1) It fails with the errror below.

I have tried with both old (1.3/1.2) and new (1.4) xerces jar files but got
the same error all the time. I do not have any other xml parser in my path
or in $JAVAHOME/jre/lib/ext

My Classpath:
/usr/users/mislam/jars/xerces.old.jar:/usr/local/jb2/jboss-tomcat-2.2/jakart
a-tomcat-3.2.1/lib/soap2.2.jar:./:/usr/users/mislam/myjars/mail.jar:/usr/use
rs/mislam/myjars/activation.jar


Error from java command line client:
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
msg=Parsing error, response was:
The markup in the document preceding the root element must be well-formed.;
targetException=org.xml.sax.SAXParseException: The markup in the document
preceding the root element must be well-formed.]
        at org.apache.soap.rpc.Call.invoke(Call.java, Compiled Code)
        at CreateSession.main(CreateSession.java, Compiled Code)

Thanks in advance.
Mir



---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org