Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0Release
-
Fix Version/s: 2.0.1Release
-
Component/s: None
-
Labels:None
-
Environment:Ubuntu Linux, Java 6, Eclipse 3.5, XML-RPC module 0.7 from mvn repo
-
Number of attachments :
Description
The XMLRPCServerProxy seems not to be working. Whenever one tries to call any remote method, it fails with a MissingPropertyException.
However, if I try to call serverProxy.invokeMethod directly, it works.
So, the following fails:
def server = new XMLRPCServerProxy('http://localhost:8069/xmlrpc/common')
def uid = server.login('terp', 'admin', 'admin')
while the following works:
def server = new XMLRPCServerProxy('http://localhost:8069/xmlrpc/common')
def uid = server.invokeMethod('login', ['terp', 'admin', 'admin'])
I've found that in org.codehaus.groovy.runtime.callsite.CallSiteArray:145, even though XMLRPCServerProxy implements the GroovyObject interface, the "receiver instanceof GroovyObject" evaluation returns false! That's beyond my understanding!