Hello,

if you deploy a service, a entry is added to the WEB-INF/server-config.wsdd file in
the axis webapp directory. The informations for the entry are from the deploy.wsdd
file. With the entry in the WEB-INF/server-config.wsdd file a fully qualified
classname is bound to the urn of the SOAP-Service. While invoking a method of a
service the Axis-Servlet loads the class with the specified classname in 
WEB-INF/server-config.wsdd.

If you put your classes in a jar file, you have to put the jar file in the classpath
of tomcat (what a bad english ;-)). The WEB-INF/lib directory of the webapp is a
good place. About classpath, axis and tomcat see the very good posting 'Classloaders,
jaxrpc, axis, log4j Re: log4j' of Brian Ewins from Tuesday, 16th of July in the
mailing list.

cu

                                                                     
 Dipl. Inform. (FH) Walter Stocker
 T-Systems International GmbH
 Software Developer
 System Integration
 Address: Memmelsdorfer Str. 209a, 96052 Bamberg
 Phone: +49 (09 51) 40 97 - 1 46
 Fax: +49 (09 51) 40 97 - 2 00
 E-Mail: mailto:[EMAIL PROTECTED]
 Internet: http://www.t-systems.com
                                                                     


> -----Ursprüngliche Nachricht-----
> Von: Th Templ [mailto:[EMAIL PROTECTED]]
> Gesendet am: Montag, 22. Juli 2002 13:36
> An: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Betreff: Deloy a web service
> 
> Hello,
> 
> I read this user guide on the Axis web site, but I have 
> questions about how 
> to deploy a webservice and its mechanism.
> I use to deploy the following command:
> java org.apache.axis.client.AdminClient 
> -lhttp://localhost/axis/services/AdminService deploy.wsdd
> It works fine and I can successfully test it with a client of 
> samples...
> 
> However I don't understand how the axis servlet finds the 
> class of the 
> webservice. And what happens if I want to use several classes 
> in a jar?
> Thanks for your help
> Templ
> 
> 
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
> 

Reply via email to