Title: RE: Trying to run sample
Hello!
 
Now I set classpath to "" and tried to run it:
 
 
E:\jakarta-tomcat\bin>startup.bat
Including all jars in ..\lib in your CLASSPATH.
 
Using CLASSPATH: ..\classes;..\lib\activation.jar;..\lib\ant.jar;..\lib\jasper.jar;..\lib\
jaxp.jar;..\lib\mail.jar;..\lib\parser.jar;..\lib\servlet.jar;..\lib\soap.jar;..\lib\webse
rver.jar;..\lib\xerces.jar;..\lib\xml.jar;E:\Work\jdk1.3\lib\tools.jar
 
Starting Tomcat in new window
 
java -cp activation.jar;mail.jar;xerces.jar;soap.jar org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list

Ouch, the call failed:
Fault Code   = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError

I have stuck. :(

SIncerely yours, Sergei Kozello.

----- Original Message -----
Sent: Friday, August 03, 2001 8:45 PM
Subject: RE: Trying to run sample

Sergei, try putting xerces.jar at the front of your classpath.

Richard Whitcomb

-----Original Message-----
From: Sergei Kozello [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 03, 2001 11:45 AM
To: soap-dev
Subject: Re: Trying to run sample


Hello!

I just checked, here my classpath, I also just downloaded activation.jar
from jaf1_0_1 and mail.jar from javamail-1_2

The error is the same, I also look for it in bugfixes and didn't find any
similar:

Ouch, the call failed:
Fault Code   = SOAP-ENV:Server.Exception:
Fault String = java.lang.NoSuchMethodError

E:\jakarta-tomcat\bin>startup.bat
Including all jars in ..\lib in your CLASSPATH.

Using CLASSPATH:
..\classes;..\lib\ant.jar;..\lib\jasper.jar;..\lib\jaxp.jar;..\lib\parser
.jar;..\lib\servlet.jar;..\lib\webserver.jar;..\lib\xml.jar;.;E:\Work\jdk1.3
.1\jre\lib\rt.
jar;E:\jakarta-tomcat\lib\servlet.jar;E:\Inprise\vbroker\lib\vbjorb.jar;E:\W
ork\Additional
 jars\activation.jar;E:\Work\Additional
jars\mail.jar;E:\work\xerces-1_4_1\XERCES.JAR;E:\W
ork\Additional
jars\xml4j.jar;e:\work\e-speak\lib\es.jar;e:\work\e-speak\extern\cryptix\cr
yptix32.jar;e:\work\e-speak\extern\ldap\ldapjdk.jar;E:\work\soap-2_2\lib\soa
p.jar;E:\Work\
jdk1.3\lib\tools.jar

Starting Tomcat in new window

Could you suggest anything?


Sincerely yours, Sergei Kozello.

----- Original Message -----
From: Scott Nichol <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 03, 2001 7:39 PM
Subject: Re: Trying to run sample


> I believe your client is using Xerces 1.4.1, but Tomcat is not.  Be
certain
> to follow the SOAP installation instructions for modifying the classpath
in
> the Tomcat startup scripts and, of course, restart Tomcat.
>
> Scott
>
> ----- Original Message -----
> From: "Sergei Kozello" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 03, 2001 11:07 AM
> Subject: Re: Trying to run sample
>
>
> > Hello!
> >
> > Thanks for the response. I did as you told me - get Xersis 1.4.1. Now I
> have
> > got another error:
> >
> > java org.apache.soap.server.ServiceManagerClient
> > http://localhost:8080/soap/servlet/rpcrouter list
> > Ouch, the call failed:
> >   Fault Code   = SOAP-ENV:Server.Exception:
> >   Fault String = java.lang.NoSuchMethodError
> >
> > What is the error about?
> >
> > Sincerely yours, Sergei Kozello.
> >
> > ----- Original Message -----
> > From: Scott Nichol <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, August 03, 2001 6:03 PM
> > Subject: Re: Trying to run sample
> >
> >
> > > It sounds like you might be using Xerces 1.3.1.  If so, try 1.2.3,
1.3.0
> > or
> > > 1.4.1, all of which have worked for me.
> > >
> > > Scott
> > >
> > > ----- Original Message -----
> > > From: "Sergei Kozello" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, August 03, 2001 9:54 AM
> > > Subject: Trying to run sample
> > >
> > >
> > > Hello!
> > >
> > > I downloaded the SOAP v2.2, copied the webapps to tomcat and tried to
> run
> > > the adressbook sample:
> > >
> > > After running
> > > java org.apache.soap.server.ServiceManagerClient
> > > http://localhost:8080/soap/servlet/rpcrouter list
> > >
> > > I have got the error.
> > >
> > > Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
> > msg=A
> > > 'http://schema
> > > s.xmlsoap.org/soap/envelope/:Fault' element must contain a:
'faultcode'
> > > element.; targetEx
> > > ception=java.lang.IllegalArgumentException: A
> > > 'http://schemas.xmlsoap.org/soap/envelope/:F
> > > ault' element must contain a: 'faultcode' element.]
> > >         at org.apache.soap.rpc.Call.invoke(Call.java:246)
> > >         at
> > >
> >
>
org.apache.soap.server.ServiceManagerClient.invokeMethod(ServiceManagerClien
> > > t.j
> > > ava:129)
> > >         at
> > >
> >
>
org.apache.soap.server.ServiceManagerClient.list(ServiceManagerClient.java:1
> > > 51)
> > >
> > >         at
> > >
> >
>
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient.java:2
> > > 37)
> > >
> > > Please, explain me what I did wrong.
> > >
> > > Sincerely yours, Sergei Kozello.
> > >
> >

Reply via email to