You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Rick Fishman <rf...@codeblazers.com> on 2002/07/14 20:56:32 UTC

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:ambrosetati@ukgateway.net]
  Sent: Sunday, July 14, 2002 2:59 PM
  To: axis-user@xml.apache.org
  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

Re: Custom Handlers, help please

Posted by Ambrose Tati <am...@ukgateway.net>.
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 ----- 
  From: Rick Fishman 
  To: axis-user@xml.apache.org 
  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:ambrosetati@ukgateway.net]
    Sent: Sunday, July 14, 2002 2:59 PM
    To: axis-user@xml.apache.org
    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