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 -N -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
Index: openacs-4/packages/xml-rpc/www/doc/index.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xml-rpc/www/doc/index.html,v
diff -u -N -r1.4 -r1.5
--- openacs-4/packages/xml-rpc/www/doc/index.html 27 Mar 2018 17:08:50 -0000 1.4
+++ openacs-4/packages/xml-rpc/www/doc/index.html 9 May 2019 09:18:34 -0000 1.5
@@ -224,9 +224,9 @@
needs to make XML-RPC calls can simply add a 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, do this:
+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