Hello Chris,
You said in a prior message that the exception was
clear, and that you'd perform a reflection test. Well
I've done this ( see below, please ) and still I can't
find why I'm failing to use it from my bean which
is called from a servlet. Again this works just fine
from a regular main method.
Please help in any way you can, this is holding me
back for some time now.
Thanks in advance,
eyal.
This is a debug dump using reflection on the bean
I've retrieved :
After beanInstance.getClass() - WebECom.Products._Product_Stub
Name ( 0 ) - equals
Params :
0 - java.lang.Object
Return type -boolean
Modifiers - 1Public
.....
Name ( 39 ) - showAllProducts
Params :
0 - WebECom.Utils.RequestWrapper
Return type -java.lang.String
Modifiers - 1Public
The showAllProducts is the method i'm tring
to call with getMethod and fail.
Any suggestions what am I doing wrong here ? ? ?
>This exception is pretty clear. To see what is going on, I would write a
>chunk of simple reflection code to iterate over the stubs and dump the
>method signatures (return type, method name, argument types...). The output
>of this test should make it pretty clear where the disconnect is.
>
>-Chris.
>
>> Hi Chris,
>>
>> > // The following line causes the NoSuchMethodException exception
>> > Method methodToInvoke = classData.getMethod(
>> > mappedData.sMethodName, methodBeanTypes );
>>
>> I get a NoSuchMethodException thrown in this
>> line of code, even though the method exists.
>> Any suggestions ?
>>
>> thanks,
>> eyal.
>>
>> ==========================================================================
>> =
>> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
>> body
>> of the message "signoff EJB-INTEREST". For general help, send email to
>> [EMAIL PROTECTED] and include in the body of the message "help".
>
> ==========================================================================
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff EJB-INTEREST". For general help, send email to
>[EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".