FYI, this is the second approach under "method 2" from the installing
with Tomcat 4

>>>>

There are two ways to approach this. First, you can add a new <Context>
element for the WAR file into %catalina_home%/conf/server.xml:

<Context path="/soap" docBase="path-to-apache-soap/webapps/soap.war"
debug="1" reloadable="true" />
With this approach, you must put the classes or jars for your services
in %CATALINA_HOME%/classes or %CATALINA_HOME%/lib, respectively.

For the second approach, you first unjar the WAR file into the
path-to-apache-soap/webapps/soap directory. Then you can add a new
<Context> element into %catalina_home%/conf/server.xml:

<Context path="/soap" docBase="path-to-apache-soap/webapps/soap"
debug="1" reloadable="true" />
With this method, you can either put your service classes and jars in
the directories under %CATALINA_HOME% or under
path-to-apache-soap/webapps/soap/WEB-INF.

<<<<

Scott Nichol
----- Original Message -----
From: "Scott Nichol" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 15, 2002 2:56 PM
Subject: Re: Need help in soap 2.3.1 samples


> Then I believe you have two options for deploying services.
>
> 1. Copy the classes to subdirectories of %JWSDP_HOME%/classes, e.g.
> %JWSDP_HOME%/classes/samples/addressbook.
>
> 2. Copy the classes to subdirectories of
> %JWSDP_HOME%/webapps/soap/WEB-INF/classes.
>
> For the addressbook sample, I believe Address.class implements the
> service.
>
> Scott Nichol
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 15, 2002 2:49 PM
> Subject: Re: Need help in soap 2.3.1 samples
>
>
> > What I did is dropping the soap.war to %JWSDP_HOME%/webapps and
adding
> a
> > line of
> > <Context path="/soap" docBase="C:/soap-2_0/webapps/soap" debug="1"
> reloadable="true"/>
> > to %JWSDP_HOME%/conf/server.xml.
> >
> > Jingkun
> >
> >
> >
> >
> > Scott Nichol <[EMAIL PROTECTED]>
> > 2002-10-15 02:33 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:
> >
> >
> >
> > The classes in a webapp are not accessible from any other webapp.
If
> > you have an Apache SOAP webapp and want to run the sample services,
> the
> > service classes must be accessible from the Apache SOAP webapp.  If
> you
> > deployed the Apache SOAP webapp using the soap.war file, you would
> > already have the samples.  How did you install Apache SOAP in
Tomcat?
> >
> > Scott Nichol
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, October 15, 2002 2:26 PM
> > Subject: Re: Need help in soap 2.3.1 samples
> >
> >
> > > This is addressbook.war I created using deploytool from JWSDP.
> > >
> > >
> > >
> > > Jingkun
> > >
> > >
> > >
> > >
> > > Scott Nichol <[EMAIL PROTECTED]>
> > > 2002-10-15 02:21 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:
> > >
> > >
> > >
> > > What is in addressbook.war?
> > >
> > > Scott Nichol
> > >
> > > ----- Original Message -----
> > > From: <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, October 15, 2002 2:09 PM
> > > Subject: Re: Need help in soap 2.3.1 samples
> > >
> > >
> > > > Scott,
> > > >
> > > > I forgot to mention that I didn't installed Tomcat separately
but
> > > together
> > > > with Sun's JWSDP. I created addressbook.war and dropped it to
the
> > > webapp
> > > > directory. Also, I can see addressbook is running in Tomcat's
Web
> > > Service
> > > > Manager:
> > > /Addressbook:running:0:C:\jwsdp-1_0_01\webapps\Addressbook.war
> > > >
> > > > But I still got the same error ( ..Address class could not be
> > > resolved).
> > > >
> > > > 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]>
> >
> >
> >
> >
>
>
> --
> 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