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 Christian Rab <ra...@hackhofer.com> on 2001/04/10 10:19:18 UTC

Parsing Error ,,,,

Hello

I installed the Server-Side SOAP 2.1 under Websphere Application Server 3.5.

The JSP-Pages und the RPCRouter-Servlet seems to work.
I  can deploy a Soap-Service and list the deployed Services. (all under 
the Web-Environment)

But i  have problems when i tried the same thing in the command line
for  example the call

java org.apache.soap.server.ServiceManagerClient 
http://Server/soap/servlet/rpcrouter list

causes this error

**** begin of error
org.xml.sax.SAXParseException: The element type "init" must be 
terminated by the
matching end-tag "</init>".
       at 
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1056
)
       at 
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
LDocumentScanner.java:635)
       at 
org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumen
tScanner.java:684)
       at 
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java:1188)
       at 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.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:213)
       at 
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:127)
       at 
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient
.java:149)
       at 
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:235)
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; 
msg=Parsin
g error, response was:
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
lns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org
/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>org.apache.xerces.dom.NodeImpl: method 
<init>(Lorg/apache/xerces/do
m/DocumentImpl;)V not found</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
]
       at org.apache.soap.rpc.Call.invoke(Call.java:223)
       at 
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:127)
       at 
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient
.java:149)
       at 
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:235)


**** end or error

The same erro occurs when i tried the samples (e.g. theStockQuote).

I use xerces 1.2.3, end xerces.jar is the first entry in my CLASSPATH. 
(I tried xerces 1.3.1 f irst, but it also didn't work)

Why can I list, and deploy the Soap-Services under the Web-Environment, 
but not in the Command-Line?

I hope anyone can help me ...

Thank you
Christian Rab


I







Re: Parsing Error ,,,,

Posted by Christian Rab <ra...@hackhofer.com>.
I only want to say that it works now, but I don't know exaxtly why
I have restarted all things, (Websphere etc.) and now it works
(with xerces 1.2.3)

Christian

Christian Rab wrote:

> Hello
> 
> I installed the Server-Side SOAP 2.1 under Websphere Application 
> Server 3.5.
> 
> The JSP-Pages und the RPCRouter-Servlet seems to work.
> I  can deploy a Soap-Service and list the deployed Services. (all 
> under the Web-Environment)
> 
> But i  have problems when i tried the same thing in the command line
> for  example the call
> 
> java org.apache.soap.server.ServiceManagerClient 
> http://Server/soap/servlet/rpcrouter list
> 
> causes this error
> 
> **** begin of error
> org.xml.sax.SAXParseException: The element type "init" must be 
> terminated by the
> matching end-tag "</init>".
>        at 
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1056
> )
>        at 
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
> LDocumentScanner.java:635)
>        at 
> org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumen
> tScanner.java:684)
>        at 
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
> atch(XMLDocumentScanner.java:1188)
>        at 
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.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:213)
>        at 
> org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
> erClient.java:127)
>        at 
> org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient
> ..java:149)
>        at 
> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> ..java:235)
> Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; 
> msg=Parsin
> g error, response was:
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
> <http://schemas.xmlsoap.org/soap/envelope/> xm
> lns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
> <http://www.w3.org/1999/XMLSchema-instance> xmlns:xsd="http://www.w3.org
> /1999/XMLSchema">
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode>SOAP-ENV:Server.Exception:</faultcode>
> <faultstring>org.apache.xerces.dom.NodeImpl: method 
> <init>(Lorg/apache/xerces/do
> m/DocumentImpl;)V not found</faultstring>
> <faultactor>/soap/servlet/rpcrouter</faultactor>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> ]
>        at org.apache.soap.rpc.Call.invoke(Call.java:223)
>        at 
> org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
> erClient.java:127)
>        at 
> org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient
> ..java:149)
>        at 
> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> ..java:235)
> **** end or error
> 
> The same erro occurs when i tried the samples (e.g. theStockQuote).
> 
> I use xerces 1.2.3, end xerces.jar is the first entry in my CLASSPATH. 
> (I tried xerces 1.3.1 f irst, but it also didn't work)
> 
> Why can I list, and deploy the Soap-Services under the 
> Web-Environment, but not in the Command-Line?
> 
> I hope anyone can help me ...
> 
> Thank you
> Christian Rab
> 
> 
> I
> 
> 
> 
> 


Re: Parsing Error ,,,,

Posted by Christian Rab <ra...@hackhofer.com>.
I only want to say that it works now, but I don't know exaxtly why
I have restarted all things, (Websphere etc.) and now it works
(with xerces 1.2.3)

Christian

Christian Rab wrote:

> Hello
> 
> I installed the Server-Side SOAP 2.1 under Websphere Application 
> Server 3.5.
> 
> The JSP-Pages und the RPCRouter-Servlet seems to work.
> I  can deploy a Soap-Service and list the deployed Services. (all 
> under the Web-Environment)
> 
> But i  have problems when i tried the same thing in the command line
> for  example the call
> 
> java org.apache.soap.server.ServiceManagerClient 
> http://Server/soap/servlet/rpcrouter list
> 
> causes this error
> 
> **** begin of error
> org.xml.sax.SAXParseException: The element type "init" must be 
> terminated by the
> matching end-tag "</init>".
>        at 
> org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1056
> )
>        at 
> org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XM
> LDocumentScanner.java:635)
>        at 
> org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumen
> tScanner.java:684)
>        at 
> org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
> atch(XMLDocumentScanner.java:1188)
>        at 
> org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
> canner.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:213)
>        at 
> org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
> erClient.java:127)
>        at 
> org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient
> ..java:149)
>        at 
> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> ..java:235)
> Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; 
> msg=Parsin
> g error, response was:
> <?xml version='1.0' encoding='UTF-8'?>
> <SOAP-ENV:Envelope 
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
> <http://schemas.xmlsoap.org/soap/envelope/> xm
> lns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
> <http://www.w3.org/1999/XMLSchema-instance> xmlns:xsd="http://www.w3.org
> /1999/XMLSchema">
> <SOAP-ENV:Body>
> <SOAP-ENV:Fault>
> <faultcode>SOAP-ENV:Server.Exception:</faultcode>
> <faultstring>org.apache.xerces.dom.NodeImpl: method 
> <init>(Lorg/apache/xerces/do
> m/DocumentImpl;)V not found</faultstring>
> <faultactor>/soap/servlet/rpcrouter</faultactor>
> </SOAP-ENV:Fault>
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> ]
>        at org.apache.soap.rpc.Call.invoke(Call.java:223)
>        at 
> org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
> erClient.java:127)
>        at 
> org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient
> ..java:149)
>        at 
> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> ..java:235)
> **** end or error
> 
> The same erro occurs when i tried the samples (e.g. theStockQuote).
> 
> I use xerces 1.2.3, end xerces.jar is the first entry in my CLASSPATH. 
> (I tried xerces 1.3.1 f irst, but it also didn't work)
> 
> Why can I list, and deploy the Soap-Services under the 
> Web-Environment, but not in the Command-Line?
> 
> I hope anyone can help me ...
> 
> Thank you
> Christian Rab
> 
> 
> I
> 
> 
> 
>