Dear all,
 
I've written a simple Web service, which when deployed without any custom handlers works fine.
 
When I deploy it with a simple custom handler, when I run the client code I get the following error:
 
Exception in thread "main" org.apache.axis.ConfigurationException:
java.lang.ClassNotFoundException: <my_package_name>/<my_handler_class>
 
<my_handler_class> is in the same <my_package_name> as my <web_service_class> which Axis has no problem finding.
 
Any ideas? I've attached the deployment descriptor, together with the service and the handler classes.
 
Many thanks in advance.
Ambrose Tati
 
 
 
 
----- Original Message -----
Sent: 14 July 2002 11:56
Subject: RE: Custom Handlers, help please

Can you post your service's deployment descriptor with both the service and handler definitions? That might help...
 
One stupid question :), did you copy both classes to the appropriate directory (i.e. did you forget to copy the handler class (don't hit me, you gotta ask))?
 
Rick
-----Original Message-----
From: Ambrose Tati [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 14, 2002 2:59 PM
To: [EMAIL PROTECTED]
Subject: Custom Handlers, help please

Dear all,
 
I've written a simple Web service, which when deployed without any custom handlers works fine.
 
When I deploy it with a simple custom handler, when I run the client code I get the following error:
 
Exception in thread "main" org.apache.axis.ConfigurationException:
java.lang.ClassNotFoundException: <my_package_name>/<my_handler_class>
 
<my_handler_class> is in the same <my_package_name> as my <web_service_class> which Axis has no problem finding.
 
Any ideas?
 
Many thanks in advance.
Ambrose Tati

Attachment: HelloWorldHandler.java
Description: Binary data

Attachment: HelloWorld.java
Description: Binary data

Attachment: deploy_with_handler.wsdd
Description: Binary data

Reply via email to