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 Daniel Humberg <sl...@gmx.de> on 2003/12/17 13:07:45 UTC

Using other classes in same package

I am using axis within tomcat 4.1.
All my classes are in TOMCATHOME\webapps\axis\classes 

How can I use one of those classes from a webservice?

I have a method 'String getMessage()' that is in MainService.class in
the classes-directory. I deployed with a standard deploy.wsdd (see
below).
If i create an object of another class in this directory, i get a
Soap-Fault with a
<faultstring>java.lang.reflect.InvocationTargetException </faultstring>.


This is my deploy.wsdd:
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
 <service name="iManual" provider="java:RPC">
  <parameter name="className" value="MainService"/>
  <parameter name="allowedMethods" value="*"/>
 </service>
</deployment>

thx