It works without making a jar.  If you look at the client-side installation 
instructions in the documentation (http://ws.apache.org/soap/docs/install/index.html), 
it specifies that, if you have installed Apache SOAP to /foo/soap-2_3, to run the 
samples you add /foo/soap-2_3 to your classpath.  Do *not* try to add 
/foo/soap-2_3/samples!  You can see in the source that the addressbook code is all in 
samples.addressbook.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.

----- Original Message ----- 
From: "Pascal Miquet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 05, 2003 7:00 AM
Subject: Re: Testing SOAP Samples


Thank's for your reply.

I've tried to add to my classpath the current location of JAVA classes.
Do I have to archive JAVA classes into addressbook.jar and add to my
client CLASSPATH=$CLASSPATH:/The/Path/To/JAR/addressbook.jar ?
Should it works with path to classes without making the JAR file ?

Thanks for your help.


Le mar 05/08/2003 � 12:41, Scott Nichol a �crit :
> The error is coming from the client you are invoking, not the server.  Therefore, 
> you must update the CLASSPATH in your client's environment.
> 
> Scott Nichol
> 
> Do not send e-mail directly to this e-mail address,
> because it is filtered to accept only mail from
> specific mail lists.
> ----- Original Message ----- 
> From: "Pascal Miquet" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 05, 2003 4:37 AM
> Subject: Testing SOAP Samples
> 
> 
> > Hello,
> > 
> > I've installed SOAP 2.3.1 on APACHE/TOMCAT 4.1.27
> > Accessing to http://localhost:8090/soap is correct.
> > Using the testit.sh (after edition of 8080 port to my 8090) let deploy
> > the Addressbook for example, but accessing to 
> > 
> > 
> > java samples.addressbook.GetAddress
> > http://localhost:8090/soap/servlet/rpcrouter "John B. Good"
> > 
> > give me the following exception:
> > 
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> > samples/addressbook/GetAddress
> > 
> > I think I have to add to CLASSPATH the location of JAVA classes, but I
> > wonder where this have to be added ?
> > 
> > Thanks for your help.
> > Regards
> > Pascal Miquet
> > 
> > 
> > 
-- 
Pascal MiQUET
Responsable Developpement
T�l�phone: +33 1 40 89 98 98
Cellulaire: +33 6 60 58 55 77


Reply via email to