rpc-$21.lzx
<canvas debug="true" height="300" width="100%">
<debug x="100" width="450" height="280"/>
<soap name="google" wsdl="http://api.google.com/GoogleSearch.wsdl">
<handler name="onload">
Debug.debug('google soap service stub loaded');
</handler>
</soap>
<button text="search" onclick="this.doGoogleSearch.invoke()">
<remotecall funcname="doGoogleSearch" remotecontext="$once{canvas.google}">
<param value="'2TKUw4ZQFHJ84ByemZK0EXV0Lj+7xGOx'"/>
<param value="'sweet'"/>
<param value="1"/>
<param value="10"/>
<param value="true"/>
<param value="''"/>
<param value="true"/>
<param value="''"/>
<param value="''"/>
<param value="''"/>
<handler name="ondata" args="value">
Debug.debug('got result');
Debug.inspect(value);
</handler>
<handler name="onerror" args="error">
Debug.error("RPC error: %w", error);
</handler>
</remotecall>
</button>
</canvas>
Cross References
Named Instances