bgrant
10-27-2004, 02:14 PM
Hello,
What does the XMLRPC STRUCT type map to in LZX and how does one build a param value of it for a remotecall?
I had presumed Object, e.g.:
<xmlrpc...
<remotecall...
<param...
<method name="getValue">
return { foo : "bar", baz : "buh" };
</method>
</param>
... would result in a request containing:
<methocall...
<methodname...
<params...
<param>
<struct>
<member>
<name>foo</name>
<value>bar</value>
</member>
<member>
<name>... etc etc
But, apparently it never gets far enough to build a request and send it (so I can't tell if XMLRPC struct format is being used by LZX, which is the underlying question here); onerror reports the following when I invoke the remotecall:
rpc/rpc.lzx:268: call to undefined method 'sendEvent'
Any ideas or pointers, much appreciated...
TIA,
Benjamin
What does the XMLRPC STRUCT type map to in LZX and how does one build a param value of it for a remotecall?
I had presumed Object, e.g.:
<xmlrpc...
<remotecall...
<param...
<method name="getValue">
return { foo : "bar", baz : "buh" };
</method>
</param>
... would result in a request containing:
<methocall...
<methodname...
<params...
<param>
<struct>
<member>
<name>foo</name>
<value>bar</value>
</member>
<member>
<name>... etc etc
But, apparently it never gets far enough to build a request and send it (so I can't tell if XMLRPC struct format is being used by LZX, which is the underlying question here); onerror reports the following when I invoke the remotecall:
rpc/rpc.lzx:268: call to undefined method 'sendEvent'
Any ideas or pointers, much appreciated...
TIA,
Benjamin