You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Fabrizio Candon <fc...@e-tree.com> on 2001/06/22 12:26:22 UTC

Client side error on parsing xml

Lauching the service manager I get this parsing message, I ask which file is
it trying to
parse? And why should it have a bad declaration? It's not any of my files...

java org.apache.soap.server.ServiceManagerClient
http://localhost:8841/soap/testSOAP.jhtml list

I got:

Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
msg=Parsin
g error, response was:
The XML declaration may only appear at the very beginning of the document.;
targ
etException=org.xml.sax.SAXParseException: The XML declaration may only
appear a
t the very beginning of the document.]
        at org.apache.soap.rpc.Call.invoke(Call.java:250)
        at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:129)
        at
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient
.java:151)
        at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:237)

Thank
Fab