Here is how to get a xml-rpc client working in SBCL.
You will need to install s-xml,s-xml-rpc using asdf
[sourcecode lang='bash']
(require 'asdf)
(require 'asdf-install)
(asdf-install:install 's-xml)
(asdf-install:install 's-xml-rpc)
[/sourcecode]
Next to use the libraries you will use the following commands.
[sourcecode lang='bash']
(require 'asdf)
(asdf:oos 'asdf:load-op 's-xml)
(asdf:oos 'asdf:load-op 's-xml-rpc)
(use-package :s-xml-rpc)
;(use-package :commuse-lisp-user)
(xml-rpc-call
(encode-xml-rpc-call "math.SumAndDifference" 5 2)
:host "www.cookcomputing.com"
:url "/xmlrpcsamples/math.rem")
[/sourcecode]
Links
cookcomputing rpc page
XML-RPC in Lisp
XML-RPC project page
Saturday, September 12, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment