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 Ladioss Sopp <la...@hotmail.com> on 2000/11/09 15:48:59 UTC

still not quite working...

Hi,

I'm trying to get the Soap Address example to run.  I've read most of the 
documentation in apache/on the web, and went through the mailing list 
archives.
I have the TCP Tunnel/Monitor running when I issue this command:

java -cp 
c:\xml\xerces-1_2_1\xerces.jar;c:\xml\soap-2_0;c:\xml\soap-2_0\lib\soap.jar; 
org.apache.soap.server.ServiceManagerClient 
http://localhost:1234/servlet/rpcrouter deploy DeploymentDescriptor.xml

I have the rpcrouter servlet set up on:
http://localhost/servlet/rpcrouter

When I run the command, I get the following error at the prompt:
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:1008)
	etc...

On the TCP Tunnel side from port 1234, I get:

	POST /servlet/rpcrouter HTTP/1.0	Host: localhost:1234	Content-Type: 
text/xml	Content-Length: 2509	SOAPAction: ""	<SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
	xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
	xmlns:xsd="http://www.w3.org/1999/XMLSchema">	etc...

On the TCP Tunnel's right panel (From localhost:80)

	HTTP/1.1 200 OK	Date: Wed, 08 Nov 2000 21:38:50 GMT	Server: Apache/1.3.12 
(Win32)	Set-Cookie: jsessionid=229835973719530949;path=/	Expires: Thu, 01 
Dec 1994 16:00:00 GMT	Connection: Keep-alive, close	Cache-Control: 
no-cache="set-cookie,set-cookie2"	Content-Length: 1364	Content-Type: 
text/xml; charset=UTF-8	java.lang.NoSuchMethodError: org.w3c.dom.Node: 
method 	getNamespaceURI()Ljava/lang/String; not found	at 
org.apache.soap.util.xml.QName.<init>(QName.java:78)	at 
org.apache.soap.util.xml.QName.matches(QName.java:146)	at 
org.apache.soap.Envelope.unmarshall(Envelope.java, Compiled Code)	at 
org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java,

I have the latest xerces jar and I have placed it in the beginning of my 
classpath.
What else could be the problem?

Thanks for any help!
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Re: still not quite working...

Posted by Bill Pfeiffer <ws...@tampabay.rr.com>.
I get the exact same error with the Soap Address example.

Does anyone have this example actually working with the current soap binary?
I wonder if the xml used in the example is simply failing to parse correctly
because it really is incorrect.

TIA,

Bill Pfeiffer

----- Original Message -----
From: "Ladioss Sopp" <la...@hotmail.com>
To: <so...@xml.apache.org>
Sent: Thursday, November 09, 2000 9:48 AM
Subject: still not quite working...


> Hi,
>
> I'm trying to get the Soap Address example to run.  I've read most of the
> documentation in apache/on the web, and went through the mailing list
> archives.
> I have the TCP Tunnel/Monitor running when I issue this command:
>
> java -cp
>
c:\xml\xerces-1_2_1\xerces.jar;c:\xml\soap-2_0;c:\xml\soap-2_0\lib\soap.jar;
> org.apache.soap.server.ServiceManagerClient
> http://localhost:1234/servlet/rpcrouter deploy DeploymentDescriptor.xml
>
> I have the rpcrouter servlet set up on:
> http://localhost/servlet/rpcrouter
>
> When I run the command, I get the following error at the prompt:
> 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:1008)
> etc...
>
> On the TCP Tunnel side from port 1234, I get:
>
> POST /servlet/rpcrouter HTTP/1.0 Host: localhost:1234 Content-Type:
> text/xml Content-Length: 2509 SOAPAction: "" <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"> etc...
>
> On the TCP Tunnel's right panel (From localhost:80)
>
> HTTP/1.1 200 OK Date: Wed, 08 Nov 2000 21:38:50 GMT Server: Apache/1.3.12
> (Win32) Set-Cookie: jsessionid=229835973719530949;path=/ Expires: Thu, 01
> Dec 1994 16:00:00 GMT Connection: Keep-alive, close Cache-Control:
> no-cache="set-cookie,set-cookie2" Content-Length: 1364 Content-Type:
> text/xml; charset=UTF-8 java.lang.NoSuchMethodError: org.w3c.dom.Node:
> method getNamespaceURI()Ljava/lang/String; not found at
> org.apache.soap.util.xml.QName.<init>(QName.java:78) at
> org.apache.soap.util.xml.QName.matches(QName.java:146) at
> org.apache.soap.Envelope.unmarshall(Envelope.java, Compiled Code) at
> org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java,
>
> I have the latest xerces jar and I have placed it in the beginning of my
> classpath.
> What else could be the problem?
>
> Thanks for any help!
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>


Re: still not quite working...

Posted by Bill Pfeiffer <ws...@tampabay.rr.com>.
I get the exact same error with the Soap Address example.

Does anyone have this example actually working with the current soap binary?
I wonder if the xml used in the example is simply failing to parse correctly
because it really is incorrect.

TIA,

Bill Pfeiffer

----- Original Message -----
From: "Ladioss Sopp" <la...@hotmail.com>
To: <so...@xml.apache.org>
Sent: Thursday, November 09, 2000 9:48 AM
Subject: still not quite working...


> Hi,
>
> I'm trying to get the Soap Address example to run.  I've read most of the
> documentation in apache/on the web, and went through the mailing list
> archives.
> I have the TCP Tunnel/Monitor running when I issue this command:
>
> java -cp
>
c:\xml\xerces-1_2_1\xerces.jar;c:\xml\soap-2_0;c:\xml\soap-2_0\lib\soap.jar;
> org.apache.soap.server.ServiceManagerClient
> http://localhost:1234/servlet/rpcrouter deploy DeploymentDescriptor.xml
>
> I have the rpcrouter servlet set up on:
> http://localhost/servlet/rpcrouter
>
> When I run the command, I get the following error at the prompt:
> 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:1008)
> etc...
>
> On the TCP Tunnel side from port 1234, I get:
>
> POST /servlet/rpcrouter HTTP/1.0 Host: localhost:1234 Content-Type:
> text/xml Content-Length: 2509 SOAPAction: "" <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"> etc...
>
> On the TCP Tunnel's right panel (From localhost:80)
>
> HTTP/1.1 200 OK Date: Wed, 08 Nov 2000 21:38:50 GMT Server: Apache/1.3.12
> (Win32) Set-Cookie: jsessionid=229835973719530949;path=/ Expires: Thu, 01
> Dec 1994 16:00:00 GMT Connection: Keep-alive, close Cache-Control:
> no-cache="set-cookie,set-cookie2" Content-Length: 1364 Content-Type:
> text/xml; charset=UTF-8 java.lang.NoSuchMethodError: org.w3c.dom.Node:
> method getNamespaceURI()Ljava/lang/String; not found at
> org.apache.soap.util.xml.QName.<init>(QName.java:78) at
> org.apache.soap.util.xml.QName.matches(QName.java:146) at
> org.apache.soap.Envelope.unmarshall(Envelope.java, Compiled Code) at
> org.apache.soap.server.http.RPCRouterServlet.doPost(RPCRouterServlet.java,
>
> I have the latest xerces jar and I have placed it in the beginning of my
> classpath.
> What else could be the problem?
>
> Thanks for any help!
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>


method getNamespaceURI()/Ljava/lang/String; not found

Posted by Gus Delgado <gu...@netquotient.com>.
I'm getting this error when I run the stockquote example:

java.lang.NoSuchMethodError: org.w3c.dom.Node: method
getNamespaceURI()Ljava/lang/String; not found

any ideas...?

I'm deploying through the web browser, and then I go to command line to run
the client, that's when I get the error.

here is how I run the client:

java samples.stockquote.GetQuote
http://localhost:4444/soap/servlet/rpcrouter IBM

thanks for the help


method getNamespaceURI()/Ljava/lang/String; not found

Posted by Gus Delgado <gu...@netquotient.com>.
I'm getting this error when I run the stockquote example:

java.lang.NoSuchMethodError: org.w3c.dom.Node: method
getNamespaceURI()Ljava/lang/String; not found

any ideas...?

I'm deploying through the web browser, and then I go to command line to run
the client, that's when I get the error.

here is how I run the client:

java samples.stockquote.GetQuote
http://localhost:4444/soap/servlet/rpcrouter IBM

thanks for the help