Thank you very much for sending this to me.  One thing I wasn't sure about
during the installation was whether to put the %AXIS_HOME% under
%CATALINA_HOME%/webapps or whether to put it in a separate directory.

Right now I have it in a separate directory.  So my %AXIS_HOME% is c:\axis
while my %TOMCAT_HOME% is c:\tomcat41.

How did you set it up?

Here are all my environment variables:

%AXIS_HOME% = c:\axis

%AXIS_LIB% = %AXIS_HOME%\lib

%AXISCLASSPATH% =
%AXIS_LIB%\axis.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\com
mons-logging.jar;%AXIS_LIB%\commons-discovery.jar;%AXIS_LIB%\wsdl4j.jar;%AXI
S_LIB%\log4j-1.2.8.jar;C:\tomcat41\common\endorsed\xercesImpl.jar;C:\tomcat4
1\common\endorsed\xmlParserAPIs.jar

%CATALINA_HOME% = c:\tomcat41

%CLASSPATH% =
;C:\ORACLE\ORA92\JDBC\LIB\ojdbc14.jar;C:\ORACLE\ORA92\JDBC\LIB\nls_charset1
2.zip;%AXISCLASSPATH%

Then I have the following jar files duplicated in c:\axis\lib and
c:\axis\webapps\axis\web-inf\lib and in
c:\tomcat41\webapps\ROOT\axis\web-inf\lib:

axis.jar
axis-ant.jar
commons-discovery.jar
commons-logging.jar
jaxrpc.jar
log4j-1.2.8.jar
saaj.jar
wsdl4j.jar
xml-apis.jar
xmlsec.jar

Will it cause a problem having the jar files in multiple places?  They are
the exact same jar files.  I just copied them from one directory to another.
If it's a problem, where should they be?

Thanks again for all the help.
Dave

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 01, 2004 7:36 PM
Subject: RE: help with Axis fault


> Hi,
> don't know if this helps, I'm a newbie too. I'm able to get your
> web service to work. I did the following
>
> 1. Your web service is similar to the
> %AXIS_HOME%/samples/userguide/example3. I just updated the
> Myservice.java to include your new api. I have attached a
> copy to the email.
>
> 2. Recompiled the Myservice.java file
> javac -classpath %CLASSPATH% MyService.java
>
> Copied the new files to
> %TOMCAT_HOME%/webapps/axis/Web-inf/classes/samples/userguide/example3
>
> 3. Deployed the web serivce
> java -classpath %CLASSPATH% org.apache.axis.client.AdminClient deploy.wsdd
>
> 4. Modified your client.jsp and placed it in
> %TOMCAT_HOME%/webapps/axis/client.jsp
>
> I have attached a copy. Ran the file from the browser and got
> the following output
>
> samples.userguide.example3.MyService -> p_selectedMonth=31
p_selectedYear=2004 p_timeZone=EST
>
> I using axis 1.1, tomcat 4.1.29, windows nt server

Attachment: MyService.java
Description: Binary data

Attachment: client.jsp
Description: Binary data

Reply via email to