Index: openacs-4/packages/xml-rpc/www/doc/index.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xml-rpc/www/doc/index.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/xml-rpc/www/doc/index.adp 11 Mar 2019 19:38:04 -0000 1.1
+++ openacs-4/packages/xml-rpc/www/doc/index.adp 9 May 2019 09:18:34 -0000 1.2
@@ -152,9 +152,9 @@
dependency to this package and then call
xmlrpc::remote_call
. As an example, the
system.add
method sums a variable number of ints. To
-call the system.add
method on http://example.com/RPC2,
+call the system.add
method on http://example.com/RPC2/,
do this:
-catch {xmlrpc::remote_call http://example.com/RPC2 system.add -int 4 -int 44 -int 23} result +catch {xmlrpc::remote_call http://example.com/RPC2/ system.add -int 4 -int 44 -int 23} result set result ==> 71
It's important to alwayscatch
outgoing XML-RPC calls. If there's an error, it will be written