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 21:40:46 +0200

Wolfram Rittmeyer wrote:
> 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.
>

Oh, my. Forget this last mail. Should have watched football (European
Champions League) instead... The first mail is nevertheless still
relevant ;-)

--
Wolfram Rittmeyer