You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Narayanan Seshadri <Na...@Yodlee.com> on 2000/06/26 18:58:26 UTC

Client throws "NoSuchMethodError"

Hi,

I am working on a project to develop a soap client for an existing
application.
I tried simple GetQuote client to receive response from the server.
While unmarshalling I get the following error.

Exception in thread "main" java.lang.NoSuchMethodError: org.w3c.dom.Node:
method getNamespaceURI()Ljava/lang/String; not found
        at com.ibm.cs.xml.QName.matches(QName.java, Compiled Code)
        at com.ibm.soap.Envelope.unmarshall(Envelope.java, Compiled Code)
        at com.ibm.soap.rpc.Call.invoke(Call.java, Compiled Code)
        at demos.stockquote.GetQuote.main(GetQuote.java, Compiled Code)

My XML Response sent from server is,
<?xml version = "1.0"?><s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/
"
xmlns:xsi="http://www.w3.org/1999/XMLSchema"><s:Body><UnknownResponse><St><S
tC>1001
</StC></St></UnknownResponse></s:Body></s:Envelope>

Am I missing some URI here in the response?

Has anyone successfully used Soap4J for other server implementation (like
Developmentor's?)?

Thanks a bunch

-Narayanan