Alex,

Simply put the axis runtime in your own webapp, i.e the required jars,
config etc. 
Axis can happily co-exist as a subcomponent within your application.

Adam

On Wed, 2002-11-27 at 08:41, Alex Bates wrote:
> Hi,
>  
> I have an existing webapp running on Tomcat.  I want to expose some
> methods in this webapp as Axis web services.  Axis is a separate webapp
> - the examples I've seen so far have had to copy .class or .jar files
> into the Axis WEB-INF\classes directory.
>  
> But this approach doesn't seem reasonable, it would lead to versioning
> issues (i.e. how often to copy from
> "tomcat\webapps\MyWebApp\WEB-INF\classes" to
> "tomcat\webapps\axis\WEB-INF\classes" to keep the two versions in sync
> ).  
>  
> What I'm looking for is something similar to the ability to expose
> existing COM components as web services with Microsoft's WSTK; but
> instead of COM components they're Java components running in a webapp.  
>  
> I tried simply creating a WSDD for my existing app and not copying the
> .class and .jar files into the axis\WEB-INF directory, and got the
> following exeption:
>  
>  
> Fault - org.apache.axis.ConfigurationException: Could not find class for
> the service named: com.mycompany.myservice
> Hint: you may need to copy your class files/tree into the right location
> (which depends on the servlet system you are using).
> AxisFault
>  faultCode: {http://xml.apache.org/axis/}Server.generalException
>  faultString: Could not find class for the service named: 
> com.mycompany.myservice
> Hint: you may need to copy your class files/tree into the right location
> (which depends on the servlet system you are using).
>  faultActor: null
>  faultDetail: 
>  
>  
>  
> Thanks in advance -
>  
> Alex
> (please cc: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> )
>  
-- 
====================================
Adam Leggett ([EMAIL PROTECTED])
Applications Solution Provider

UPCO http://www.upco.co.uk

Office :     +44 113 201 0600
Direct Line: +44 113 201 0631
Fax :        +44 113 201 0666

Marshall Mill, Marshall Street,
Leeds LS11 9YJ
====================================

The contents of this e-mail are intended for the named addressees and
may contain confidential and/or priviledged material. If received in
error, please contact UPCO on +44 (0) 113 201 0600 and then delete the
entire e-mail from your system. Unauthorised review, distribution,
disclosure or other use of this information could constitute a breach of
confidence. Your co-operation in this matter is greatly appreciated

Reply via email to