
Okay, well, apparently I have to rely on an external HTTP server. This is not very simple, is there another more suitable way to get RPC working in haskell? Yves Parès wrote:
Okay, I tried to make the sample here: http://www.haskell.org/haskellwiki/HaXR
But I can't get it working... Is there an external XML-RPC server that must be running? Maybe even an external HTTP server? The server launches without complaining about anything, whereas the client tells: simple_client: user error (Error calling examples.add: connect: does not exist (Connection refused))
I know I have to adapt the url the client tries to connect at (in the sample, "http://localhost/~bjorn/cgi-bin/simple_server"), but I don't know how.
Roman Cheplyaka-2 wrote:
* Yves Parès
[2010-03-23 13:46:25-0700] Is there a way to perform some kind of remote method invocation in haskell? (Or, "remote object", but I prefer not to use this term, as there are no "objects" strictly speaking in Haskell) I would like to use a higher level API than sockets for network programing.
There is for example XML-RPC library for Haskell. http://hackage.haskell.org/package/haxr
-- Roman I. Cheplyaka :: http://ro-che.info/ "Don't let school get in the way of your education." - Mark Twain _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
----- Yves Parès Live long and prosper -- View this message in context: http://old.nabble.com/Remote-invocations-in-Haskell--tp28006793p28008179.htm... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.