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 William McKenzie <ws...@cartewright.com> on 2000/11/04 18:52:38 UTC

NoSuchMethodError for getNamespaceURI()

Just can't seem to find this method.  I'm using xerces 1.2.1; classpath as
follows:

set CLASSPATH=.;c:\xerces-1_2_1\xerces.jar;c:\soap-2_0\lib\soap.jar

I've removed the default xml jar file from my jre directory (i'm using
jdk1.3 with the default jre). I am able to make a call successfully, but
then get this when trying to unmarshall the results:

Exception in thread "main" java.lang.NoSuchMethodError
        at org.apache.soap.util.xml.QName.<init>(QName.java:80)
        at org.apache.soap.util.xml.QName.matches(QName.java:146)
        at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
        at org.apache.soap.rpc.Call.invoke(Call.java:172)
        at test.main(test.java:30)

the method in question is Node.getNamespaceURI.  The obvious probability is
that i'm pointing at some not DOM2 org.w3c classes.  But where could they be
coming from?

~Bill

William (Bill) McKenzie
CarteWright, Inc.
wsmckenz@cartewright.com
8324436258@messaging.sprintpcs.com - page
(713) 807-0817 Office
(832) 443-6258 Mobile
(713) 754-2541 Chevron