You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Narayanan Seshadri <Na...@Yodlee.com> on 2000/06/26 19:09:20 UTC
RE: Client throws "NoSuchMethodError" Followup.
I forgot to mention,
I use IBM-SOAP 1.2 from alphaworks and I use Xerces 1.0.3
I have verified the classpath and that includes the correct xerces.jar
-Narayanan
> -----Original Message-----
> From: Narayanan Seshadri [mailto:Narayanan@yodlee.com]
> Sent: Monday, June 26, 2000 9:58 AM
> To: 'soap-dev@xml.apache.org'
> Subject: 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><UnknownR
> esponse><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
>