At 09:56 AM 7/16/2001 -0600, Liaw, Wan-Bih wrote:
>I have made sure I following eth instructions in
><http://xml.apache.org/soap/faq/faq_chawke.html#Q1_4>http://xml.apache.org/soap/faq/faq_chawke.html#Q1_4
> and still got the following error when I run it:
>
>C:\soap-2_2\samples\addressbook>testit
>This test assumes a server URL of
><http://localhost:80/soap/rpcrouter>http://localhost:80/soap/rpcrouter
>Deploying the addressbook service...
>Ouch, the call failed:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = org.xml.sax.helpers.AttributesImpl: method getQName(I)Ljava/lan
>g/String; not found
>.
>
>Does Apache Soap really work???
SOAP works fine, but something it calls on isn't there.
(a) what's your server setup? Tomcat, WebLogic, Jrun, &c&c&c?
(b) what happens when you look at http://localhost:80/soap/rpcrouter ?
(for me, that's http://localhost:8080/soap/servlet/rpcrouter and it says
"Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me."
which is the right thing for it to say)
(c) what's your client classpath? It looks like things are blowing up as you run
>java org.apache.soap.server.ServiceManagerClient
>http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml
(that's the line within testit that seems to be blowing up for you)
so that's using your default system classpath, and of course it also
uses your JAVA_HOME /jre/lib/ext
(d) what's your server classpath?
(e) what jars are in your JAVA_HOME /jre/lib/ext and especially which of
them contain the uncompressed string
org/xml/sax/helpers/AttributesImpl
(use grep, or ^F for windows)
Tom Myers
>-----Original Message-----
>From: Tom Myers [<mailto:[EMAIL PROTECTED]>mailto:[EMAIL PROTECTED]]
>Sent: Friday, July 13, 2001 6:31 PM
>To: [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: RE: When to use SOAP?
>
>
>At 02:51 PM 7/13/2001 -0600, Liaw, Wan-Bih wrote:
>
> >Ok, I just tested the first sample in soap-2_2, and got the following error. Anyone
>can help me? Thanks!
> >
> >C:\soap-2_2\samples\addressbook>testit
> >This test assumes a server URL of
><<http://localhost:80/soap/rpcrouter>http://localhost:80/soap/rpcrouter>http://localhost:80/soap/rpcrouter
> >Deploying the addressbook service...
> >Ouch, the call failed:
> > Fault Code = SOAP-ENV:Server.Exception:
> > Fault String = org.xml.sax.helpers.AttributesImpl: method
>getQName(I)Ljava/lang/String; not found
>
>I'd expect this to be a variant on
>
><http://xml.apache.org/soap/faq/faq_chawke.html#Q1_4>http://xml.apache.org/soap/faq/faq_chawke.html#Q1_4
> or of course #Q1_5
>'cos it certainly sounds like an out-of-date parser has gotten hold of this;
>getQName in that package was once called getRawName
>(see
><http://www.megginson.com/SAX/Java/changes.html>http://www.megginson.com/SAX/Java/changes.html
> )
>Or then again, it might be something totally Other.
>
>Tom Myers