If you installed using the war file, the sample would work.

If you installed by putting soap.jar somewhere that Tomcat can find it,
you have only SOAP, not the samples.  If you want to have the samples
with your current installation, you must copy the samples classes under
a directory that Tomcat searches, such as $CATALINA_HOME/classes.

Scott Nichol

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 15, 2002 1:52 PM
Subject: Re: Need help in soap 2.3.1 samples


> Scott,
>
> The apache Soap is installed successfully, I believe. Now, my problem
is
> how to get the addressbook sample working. In other words, how to
deploy
> it in tomcat?
>
> Jingkun
>
>
>
>
>
>
> Scott Nichol <[EMAIL PROTECTED]>
> 2002-10-15 12:06 PM
> Please respond to soap-user
>
>
>         To:     [EMAIL PROTECTED]
>         cc:     (bcc: Jingkun Hu/BRQ/RESEARCH/PHILIPS)
>         Subject:        Re: Need help in soap 2.3.1 samples
>         Classification:
>
>
>
> I believe that this except tells you what to do
>
> >>>>
>
> The Apache SOAP distribution includes a web archive at
> /soap-2_3/webapps/soap.war. Simply drop this web archive into Tomcat's
> webapps directory (i.e. %catalina_home%\webapps). Note: If you copy
the
> web archive into the webapps directory while Tomcat is running, Tomcat
> will need to be restarted before the Apache SOAP web application can
be
> accessed.
>
> <<<<
>
> In other words, just copy the war file from the Apache SOAP
distribution
> to the webapps directory.
>
> Then, the .jar and .class files for your own services can either be
> copied to the Tomcat lib or classes directories or to the directories
> that are created when Tomcat unpacks the soap.war file.
>
> Scott Nichol
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 15, 2002 11:47 AM
> Subject: Re: Need help in soap 2.3.1 samples
>
>
> > Scott,
> >
> > Thanks for your quick reply. By reading this,
> >
> > IMPORTANT: With Tomcat 4.0, you do not need to change the startup
> scripts or place
> > any jar or class files in any of Tomcat's private directories. You
> need
> > only place files within Tomcat's webapps directory. If you cannot
> resist,
> > jars should be placed in %CATALINA_HOME%/lib and classes in
> > %CATALINA_HOME%/classes. Anything placed in these directories is
> visible
> > to all Web applications running on the Tomcat server.
> >
> > Does it mean that I need to create 'war' or 'jar' file for my server
> > application or just copy the class files or other procedure? So my
> > question is puting what files to the webapp directory.
> >
> > Thanks,
> >
> > Jingkun
> >
> >
> >
> >
> >
> >
> > Scott Nichol <[EMAIL PROTECTED]>
> > 2002-10-15 11:08 AM
> > Please respond to soap-user
> >
> >
> >         To:     [EMAIL PROTECTED]
> >         cc:     (bcc: Jingkun Hu/BRQ/RESEARCH/PHILIPS)
> >         Subject:        Re: Need help in soap 2.3.1 samples
> >         Classification:
> >
> >
> >
> > Your server cannot load the classes for the samples.  Since you are
> > using Tomcat 4.0.1, you should follow these instructions for
> > installation Apache SOAP:
> >
>
http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/docs/install/
> > tomcat.html?rev=HEAD&content-type=text/html
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, October 14, 2002 5:09 PM
> > Subject: Need help in soap 2.3.1 samples
> >
> >
> > > I have Tomcat 4.01 installed and running. Also I installed soap
> 2.3.1
> > and
> > > deployed AddressFetcher sample through Tomcat. I got the following
> > error
> > > when I run GetAllListings app:
> > >
> > > C:\soap-2_3_1>java samples.addressbook.GetAllListings
> > > http://130.140.65.79:8080/
> > > soap/servlet/rpcrouter
> > > Generated fault: [Attributes={}] [faultCode=SOAP-ENV:Client]
> > > [faultString=Deploy
> > > ment error in SOAP service 'urn:AddressFetcher': class name
> > > 'samples.addressbook
> > > .Address' could not be resolved: samples.addressbook.Address]
> > > [faultActorURI=/so
> > > ap/servlet/rpcrouter] [DetailEntries=] [FaultEntries=]
> > >
> > > Please help me out!
> > >
> > > Thank in advance,
> > >
> > > Jingkun
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to