I'm writing all this up as a FlashGuide on my site, so if you want more info, check it in a couple of days.
Regards,
Lajos
http://www.galatea.com/flashguides
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]>)
-- galatea.com Cocoon training, consulting & support
