I recently upgraded from 1.1 to 1.2alpha and am now unable to invoke my
web services. Both of these methods worked with 1.1.
1) Service.findAll()
Call.invoke(null) produces:
Tried to invoke method
public abstract java.util.Collection Service.findAll()
throws java.rmi.RemoteException
with arguments .
The arguments do not match the signature.; nested exception is:
java.lang.IllegalArgumentException: object is not an instance of
declaring class
2) Service.findById()
Call.invoke(new Object[] {new Integer(1)}) produces:
Tried to invoke method
public abstract java.util.Collection Service.findById(int)
throws java.rmi.RemoteException
with arguments java.lang.Integer.
The arguments do not match the signature.; nested exception is:
java.lang.IllegalArgumentException: object is not an instance of
declaring class
So, does anyone have instructions (or an example) of how to execute a
method that takes no arguments, as well as a method that takes primitive
arguments?
Thanks!
- Re: method signature errors with 1.2alpha __matthewHawthorne
- Re: method signature errors with 1.2alpha Davanum Srinivas
