i finally figured out why i was getting that error though i still dont
know why!

my webservice was under

axis/WEB-INF/classes/org/hope/

and my class was under

axis/WEB-INF/classes/org/acme/


i redeployed my webservice so that the class and the webservice were
under the same directory (and changed the package name in the
webservice)  and it worked!

can anyone tell me why?

harsh 


On Wed, 2003-07-30 at 11:18, Harsh Nagpal wrote:
> Yes...
> Im instantiating class "B" in webservice "A" and then invoke a method
> (of class "B" from webservice "A") which just returns "Hello"
> 
> when i try to do this, i get the following error:
> 
> java.lang.reflect.InvocationTargetException
> 
> 
> harsh
> 
> On Wed, 2003-07-30 at 10:56, Yakulis, Ross (Ross) wrote:
> > Are you saying instantiating a class (Class B in your example) from with the 
> > implementation of the web service A, where Class B does the actuall processing for 
> > the Webservice A?
> > 
> > Ross
> > 
> > -----Original Message-----
> > From: Harsh Nagpal [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, July 29, 2003 10:26 PM
> > To: [EMAIL PROTECTED]
> > Subject: Calling another Class from within a webservice
> > 
> > 
> > Can you call a another class from with a webservice??
> > 
> > eg
> > 
> > webservice "A" calls class "B" which does processing and returns value
> > to "A"??
> > 
> > Harsh
> > 
> > 
> > 
> 
> 


Reply via email to