Good Morning Patrick- Take a look at /axis/server-config.wsdd notice the entry for your service Here is an example <service name="AdminService" provider="java:MSG"> <parameter name="allowedMethods" value="AdminService"/> <parameter name="enableRemoteAdmin" value="false"/> <parameter name="className" value="org.apache.axis.utils.Admin"/> <namespace>http://xml.apache.org/axis/wsdd/</namespace> <namespace>http://xml.apache.org/axis/wsdd/</namespace> </service> In this situation Admin.class must be in %TOMCAT_HOME%/webapps/axis/WEB-INF/classes/org/apache/axis/utils/Admin OR if wrapped in a jar could be located here %TOMCAT_HOME%/webapps/axis/WEB-INF/lib
HTH, Martin -- ********************************************************************* This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "Patrick Schmidt" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, July 17, 2006 7:46 AM Subject: Re: InvocationTargetException when putting the web service classes in a jar file under lib >A little appendix: > > I am using Axis 1.4 > > Patrick Schmidt schrieb: >> Hi there, >> >> I have following problem with axis. I already searched the mailing >> list, but found nothing so far. Therefore any help would be greatly >> appreciated. >> >> When I am putting the classes of my web service in a jar file under >> the webapps/axis/lib directory on my tomcat, I get an >> InvocationTargetException, when trying to invoke the web service. >> However, if I am extracting the web service class (only the class >> specified in the param className in the server-config.wsdd, the other >> associated classes are still only in the jar) in the >> webapps/axis/classes folder everything works fine. >> >> I am sure that the directory structure in the jar equals the directory >> structure under /axis/classes. >> >> Thanks for any answer. >> >> >> Best regards, >> >> Patrick Schmidt >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
