You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "David B. Bitton" <da...@codenoevil.com> on 2002/03/11 04:44:18 UTC

CLASSPATH, or do my classes have to be under soap/WEB-INF/classes

To make my soap classes available to the world, do they have to reside
within c:\tomcat4\webapps\soap\WEB-INF\classes?  I am currently running this
class from both a Win32 Tomcat installtion, and a Debian GNU/Linux install
(thanks to System.getProperty("os.name") i can get the paths right from
within my code).

My second question has to do with relative paths.  If I attempt to open a
file from within this class, using a relative path, where is it rooted in
relation to the SOAP class?

Finally, can I pass config values into the SOAP server class like I would do
for a servlet from the web.xml file?

Tx :)

--

David B. Bitton
david@codenoevil.com
www.codenoevil.com

Diversa ab illis virtute valemus.


Re: CLASSPATH, or do my classes have to be under soap/WEB-INF/classes

Posted by "David B. Bitton" <da...@codenoevil.com>.
Well, soap works fine, but what my question was is if I can have my classes
that are being exposed by soap outside of the webapps/soap/WEB-INF
directory.  Also, do you have any answer to my other questions in regards to
relative paths and config values?

--

David B. Bitton
david@codenoevil.com
www.codenoevil.com

Diversa ab illis virtute valemus.
----- Original Message -----
From: "akshay saluja" <ak...@yahoo.com>
To: <so...@xml.apache.org>
Sent: Monday, March 11, 2002 7:06 AM
Subject: Re: CLASSPATH, or do my classes have to be under
soap/WEB-INF/classes


> if you are using apache then u have to add the context
> of soap and all the defined classes are to be resided
> in classpath ie Your <soap-home>/soap directory has to
> be in the classpath
>
>
> --- "David B. Bitton" <da...@codenoevil.com> wrote:
> > To make my soap classes available to the world, do
> > they have to reside
> > within c:\tomcat4\webapps\soap\WEB-INF\classes?  I
> > am currently running this
> > class from both a Win32 Tomcat installtion, and a
> > Debian GNU/Linux install
> > (thanks to System.getProperty("os.name") i can get
> > the paths right from
> > within my code).
> >
> > My second question has to do with relative paths.
> > If I attempt to open a
> > file from within this class, using a relative path,
> > where is it rooted in
> > relation to the SOAP class?
> >
> > Finally, can I pass config values into the SOAP
> > server class like I would do
> > for a servlet from the web.xml file?
> >
> > Tx :)
> >
> > --
> >
> > David B. Bitton
> > david@codenoevil.com
> > www.codenoevil.com
> >
> > Diversa ab illis virtute valemus.
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>


Re: CLASSPATH, or do my classes have to be under soap/WEB-INF/classes

Posted by "David B. Bitton" <da...@codenoevil.com>.
Well, soap works fine, but what my question was is if I can have my classes
that are being exposed by soap outside of the webapps/soap/WEB-INF
directory.  Also, do you have any answer to my other questions in regards to
relative paths and config values?

--

David B. Bitton
david@codenoevil.com
www.codenoevil.com

Diversa ab illis virtute valemus.
----- Original Message -----
From: "akshay saluja" <ak...@yahoo.com>
To: <so...@xml.apache.org>
Sent: Monday, March 11, 2002 7:06 AM
Subject: Re: CLASSPATH, or do my classes have to be under
soap/WEB-INF/classes


> if you are using apache then u have to add the context
> of soap and all the defined classes are to be resided
> in classpath ie Your <soap-home>/soap directory has to
> be in the classpath
>
>
> --- "David B. Bitton" <da...@codenoevil.com> wrote:
> > To make my soap classes available to the world, do
> > they have to reside
> > within c:\tomcat4\webapps\soap\WEB-INF\classes?  I
> > am currently running this
> > class from both a Win32 Tomcat installtion, and a
> > Debian GNU/Linux install
> > (thanks to System.getProperty("os.name") i can get
> > the paths right from
> > within my code).
> >
> > My second question has to do with relative paths.
> > If I attempt to open a
> > file from within this class, using a relative path,
> > where is it rooted in
> > relation to the SOAP class?
> >
> > Finally, can I pass config values into the SOAP
> > server class like I would do
> > for a servlet from the web.xml file?
> >
> > Tx :)
> >
> > --
> >
> > David B. Bitton
> > david@codenoevil.com
> > www.codenoevil.com
> >
> > Diversa ab illis virtute valemus.
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Try FREE Yahoo! Mail - the world's greatest free email!
> http://mail.yahoo.com/
>


Re: CLASSPATH, or do my classes have to be under soap/WEB-INF/classes

Posted by akshay saluja <ak...@yahoo.com>.
if you are using apache then u have to add the context
of soap and all the defined classes are to be resided
in classpath ie Your <soap-home>/soap directory has to
be in the classpath


--- "David B. Bitton" <da...@codenoevil.com> wrote:
> To make my soap classes available to the world, do
> they have to reside
> within c:\tomcat4\webapps\soap\WEB-INF\classes?  I
> am currently running this
> class from both a Win32 Tomcat installtion, and a
> Debian GNU/Linux install
> (thanks to System.getProperty("os.name") i can get
> the paths right from
> within my code).
> 
> My second question has to do with relative paths. 
> If I attempt to open a
> file from within this class, using a relative path,
> where is it rooted in
> relation to the SOAP class?
> 
> Finally, can I pass config values into the SOAP
> server class like I would do
> for a servlet from the web.xml file?
> 
> Tx :)
> 
> --
> 
> David B. Bitton
> david@codenoevil.com
> www.codenoevil.com
> 
> Diversa ab illis virtute valemus.
> 


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

Re: CLASSPATH, or do my classes have to be under soap/WEB-INF/classes

Posted by akshay saluja <ak...@yahoo.com>.
if you are using apache then u have to add the context
of soap and all the defined classes are to be resided
in classpath ie Your <soap-home>/soap directory has to
be in the classpath


--- "David B. Bitton" <da...@codenoevil.com> wrote:
> To make my soap classes available to the world, do
> they have to reside
> within c:\tomcat4\webapps\soap\WEB-INF\classes?  I
> am currently running this
> class from both a Win32 Tomcat installtion, and a
> Debian GNU/Linux install
> (thanks to System.getProperty("os.name") i can get
> the paths right from
> within my code).
> 
> My second question has to do with relative paths. 
> If I attempt to open a
> file from within this class, using a relative path,
> where is it rooted in
> relation to the SOAP class?
> 
> Finally, can I pass config values into the SOAP
> server class like I would do
> for a servlet from the web.xml file?
> 
> Tx :)
> 
> --
> 
> David B. Bitton
> david@codenoevil.com
> www.codenoevil.com
> 
> Diversa ab illis virtute valemus.
> 


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/