Hi,
I am trying with your configifuration but for me the OS is Win 2000. Now I
have a different error. When I run the Tomcat i am getting
XmlMapper: Can't find method setDescription in Wrapper(rpcrouter null) CLASS
cla
ss org.apache.tomcat.core.ServletWrapper
but the webserver is working fine.
But when i try to run the address book example i am getting the following
error:
This test assumes a server URL of
http://localhost:8080/apache-soap/servlet/rpcr
outer
Deploying the addressbook service...
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol;
msg=Unsu
pported response content type "text/html", must be: "text/xml". Response
was:
<h1>Error: 404</h1>
<h2>Location: /soap/servlet/rpcrouter</h2>File Not
Found<br>/soap/servlet/rpcrou
ter
]
at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:175)
at org.apache.soap.rpc.Call.invoke(Call.java:212)
at
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManag
erClient.java:129)
at
org.apache.soap.server.ServiceManagerClient.deploy(ServiceManagerClie
nt.java:142)
at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:230)
Did u encounter this problem?
Thanks
Rosh
-----Original Message-----
From: Se-yong, Um [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 5:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Beginner question : Client throwing AbstractMethodError
Hi.
I have got AbstractMethodError like you.
My environment is : RH7.0, JDK1.3.1 from sun, Tomcat 3.2.2, Soap 2.2, Xerces
1.3.1
When xml parser from tomcat 3.2.2 precedes xerces from ASF, I got
NoSuchMethodError,
when xerces precedes tomcat 3.2.2's parser, I got AbstractMethodError.
But I changed tomcat 3.2.2 to 3.1.1, then no error happened.
Other environments was not changed.
I do not know WHY, but at least for me, I could solve problem like yours by
changing tomcat.
--
Se-yong, Um
Republic of Korea
----- Original Message -----
From: "Rosh R Nair" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, June 23, 2001 2:33 AM
Subject: Beginner question : Client throwing AbstractMethodError
> Hi all,
> I was trying out the Java World tutorial on soap. I am trying out with
> Tomcat 3.2 and Soap 2.2. But when I try to run a sample program which just
> returns a string I am getting an error:
> Fault Code = SOAP-ENV:Server.Exception:
> Fault String = java.lang.AbstractMethodError
>
> The client is not able to knock the server. Can anyone help me out to
solve
> this problem.
>
> Thanks in advance
> Rosh Nair
>
> Rosh R Nair,
> 1901, Halford Avenue, Apt#183,
> Santa Clara, California, USA - 95051.
>
> Ph (H) : 408-985-5512
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
>