users@glassfish.java.net

Re: Invoke error when using refection to call SLSB business-method

From: Wolfram Rittmeyer <w.rittmeyer_at_jsptutorial.org>
Date: Wed, 27 May 2009 20:57:02 +0200

Wolfram Rittmeyer wrote:
> What is the expected type/are the expected types when you invoke the
> method? That is the types of the classes of the array "pm"?
>

After looking at your code once more:
You are passing an array of objects (data) to the invoke method. But the
method which you want to be invoked expects an object of type
se.pliktverket.pvlib.util.PvDataMap. Thus the invoke method object
throws this exception.


--
Wolfram Rittmeyer