I don't believe the statement "As you are talking with axis, not tomcat wheni nvoking a service, axis can´t load classes the same as tomcat" is correct. I don't put anything related to Axis in my classpath before starting Tomcat.T omcat gets everything it needs to run Axis from the axis webapp.
 
I know this doesn't help, but example3 works for me. I didn't move any new files into the axis webapp. I just ran
 
java org.apache.axis.client.AdminClient deploy.wsdd
 
to deploy the service and then ran
 
java samples.userguide.example3.Client test
 
to execute it.
 
Of course I had to have all the jars in the Axis lib directory, plus xerces.jar (1.4.4) in my classpath to run those two commands. I didn't have those jars in my classpath when I started Tomcat though.
 
-----Original Message-----
From: Walden Mathews [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 11:05 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Service deployment location

"axis can't load classes the same as tomcat"
 
Do I smell a requirement here, guys?
 
Walden
-----Original Message-----
From: M. en C. Jesús Sosa Iglesias [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 12:04 PM
To: [EMAIL PROTECTED]
Subject: Re: Service deployment location

 
As you are talking with axis, not tomcat when invoking a service, axis can´t load classes the same as tomcat.
Axis use the Classpath to find classes, So you have to set up the classpath before start tomcat :
I put inside Tomcat Bat.
    set CLASSPATH=h:\jakarta-tomcat-3.2.3\webaps\axis\web-inf\classes;%CP%
I hope this help

Walden Mathews wrote:

 Where is the correct place to deploy web service classes to Axis running as a Tomcatservlet?  The examples are packaged into a folder hierarchy under Axis/Web-inf, but Tomcatdoesn't seem to be able to locate them there.  If I move them to a "classes" folderdirectly under Tomcat, they are found, but is this the right "scope"?  I think not.  Pleaseadvise.Walden Mathews
ILX Systems
111 Fulton St. 3rd Floor
New York, NY 10038
Phone (212) 510-3121
Fax (212) 437-2305 


***************************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
***************************************************************************************

Reply via email to