Hi!

I'd move all the Axis files (including all jars) to the new location 
/the-struts-application/WEB_INF/. Then you would have to change your web.xml to 
direct the Web Service calls to the Axis servlet instead of your struts 
servlet(s) based on the URL. I.e. copy the <servlet> and <servlet-mappings> 
from the Axis web.xml to your application.


Best regards,

--
Günter Grossberger
Consultant             Tel: +43 1 329 50 161
Software AG Austria    Fax: +43 1 329 50 171
Guglgasse 7-9          GSM: +43 676 833 29 261
1030 Wien              http://www.softwareag.com/austria
 

> -----Original Message-----
> From: AMC Clinixx Test Account [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, January 10, 2006 11:15 AM
> To: [email protected]
> Subject: how to change location of web service classes
> 
> Hi all.
> 
> I installed axis into tomcats webapps folder and created my 
> web services in
> tomcat/webapps/axis/WEB_INF/classes. Everything works fine. 
> But now I want
> to integrate my web service classes into an existing struts 
> application for
> using same property files and so on.
> In different words: I want to have my classes in 
> /the-struts-application/WEB_INF/classes/ instead of
> tomcat/webapps/axis/WEB_INF/classes.
> 
> How can I tell the axis servlet to look for the classes in 
> the new location? 
> Which files I have to change? Do I have to generate a new 
> context inside the 
> server.xml of tomact?
> 
> Please help me. Some hints would be nice. Thanks.
> 
> Cheers,
> Oli
> 
> 

Reply via email to