	<xp:button value="Label" id="button1">
        <xp:eventHandler event="onclick" submit="false">
            <xp:this.script><![CDATA[var arr = ['123', 'abc']
rpc.test("kkk", arr)]]></xp:this.script>
        </xp:eventHandler>
    </xp:button>
    <xe:jsonRpcService id="jsonRpcService1" serviceName="rpc">
        <xe:this.methods>
            <xe:remoteMethod name="test" script="print(arr);print(keys)">
                <xe:this.arguments>
                    <xe:remoteMethodArg name="keys" type="string"></xe:remoteMethodArg>
                    <xe:remoteMethodArg name="arr" type="list"></xe:remoteMethodArg>
                </xe:this.arguments>
            </xe:remoteMethod>
        </xe:this.methods>
    </xe:jsonRpcService>