Dear All,
I'm having what I'm sure is a simple problem. I have some existing code
that I want to adapt to access via XML-RPC, but am having problems
instantiating and using objects.
At the moment I have code of the form:
MyObj o = new MyObj(x,y,z)
o.doSomething();
o.doSomething2();
I've adapted this to:
client.execute("o.init", [x,y,z])
client.execute ("o.doSomething",null)
where o.init() just calls the constructor. This works ok, but when I
make the second call via XML-RPC, I get a null error. I think this is
because the object o gets "lost", but I'm not sure.
Could someone give me some pointers as to what I should be doing ?
Thanks,
Matt
--
http://acl.icnet.uk/~mw
http://adhominem.blogsome.com/
+44 (0)7834 899570
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]