Hi Monika,

to avoid problems with classpath files I always specify the CLASSPATH from
the command line,
this way I know which jar files are being included. As I mentioned in a
previous e-mail, this 
works fine for me:

set AXIS_LIBS=%AXIS_HOME%\lib\axis.jar;%AXIS_HOME%\lib\log4j-core.jar;
%AXIS_HOME%\lib\clutil.jar;%AXIS_HOME%\lib\wsdl4j.jar

set XERCES=%WSTK_HOME%\lib\xerces.jar

java -classpath .;%XERCES%;%AXIS_LIBS% org.apache.axis.client.AdminClient 
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd 

If you don't do this the classpath is taken from the CLASSPATH variable.
Check what is
its value. Regards.

-------------------------------------- 
Ramon Turnes Perez 
HERMES SoftLab, Litijska 47 
1000 Ljubljana, SLOVENIA 
Phone: +386 1 5865 638 
Fax:     +386 1 5865 270 
E-mail: [EMAIL PROTECTED] 
www.hermes-softlab.com 
-------------------------------------- 
-----Original Message-----
From: Monika Solanki [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 11:01 AM
To: [EMAIL PROTECTED]
Subject: Re: Help with installation of axis


Hello 

Thanks a lot for your help. I am quite new to the area of web services. I am
finding a lot of problems in getting the concepts straight, especially with
respect to installation. I would be really glad if you could clarify some of
the issues. 
Here is a step by step account of what I have done : 

1. I installed js2dk1.4.0 
2.. I then deployed the java web services development kit ( this uses Tomcat
as well). 
3. I ran a sample example (Converter) from the jwsdp-1_0-ea1 which worked
absolutely fine. 
4. Then I downloaded xml-axis and followed the installation steps. 
5. I tried setting the classpath repeatedly, but could not, I do not
understand why. Anyways. I put the required jar files(axis, log4j and
xerces) in the common\ lib of jwsdp-1_0-ea1. 
6. I started the web server. 
7. Now when I go to the stock directory which has all the files including
deploy.wsdd and also client_deploy.xml and try to run the following command,


java org.apache.axis.client.AdminClient 
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd 

I get the following exception: 

Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/axis/client/AdminClient 

Please help me . 

Thanks 

Monika 

Ramon Turnes wrote:


Hi Monika,

maybe you don't know what deployment descriptor files (.wsdd) are because
the
statement is very clear. Once you have developed a service, you need to
describe
it, in Axis this is done through WSDD files where you describe what the
service 
does. WSDD files are very similar to WSDL files. Take a look to the examples
in
axis. Once you have your deploy.wsdd file for your service you execute

java org.apache.axis.client.AdminClient 
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd 

to deploy your service. Regards.


--------------------------------------
Ramon Turnes Perez 
HERMES SoftLab, Litijska 47 
1000 Ljubljana, SLOVENIA 
Phone: +386 1 5865 638 
Fax:     +386 1 5865 270
E-mail: [EMAIL PROTECTED] 
www.hermes-softlab.com 
--------------------------------------
-----Original Message-----
From: Monika Solanki [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 9:37 AM
To: axis-user
Subject: Help with installation of axis


Can someone pls explain , what is this statement from the installation doc
for axis suppose to mean 

Locate the deployment descriptor for your service and execute the following
command: 
java org.apache.axis.client.AdminClient
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd 

Thanks

Monika



-- 
>**<>**<>**<>**<>**<>**<>**<>**<>**<>**< 
Monika Solanki
De Montfort University 
Software Technology Research Laboratory
Hawthorn building, H00.18 
The Gateway. 
Leicester LE1 9BH, UK 

phone: +44 (0)116 250 6170 intern: 6170
>**<>**<>**<>**<>**<>**<>**<>**<>**<>**< 



-- 
>**<>**<>**<>**<>**<>**<>**<>**<>**<>**< 
Monika Solanki
De Montfort University 
Software Technology Research Laboratory
Hawthorn building, H00.18 
The Gateway. 
Leicester LE1 9BH, UK 

phone: +44 (0)116 250 6170 intern: 6170
>**<>**<>**<>**<>**<>**<>**<>**<>**<>**< 

Reply via email to