https://github.com/badboy/xmlrpc-example
simple xmlrpc server example, requested on rubyforen.de (see Homepage)
https://github.com/badboy/xmlrpc-example
Last synced: over 1 year ago
JSON representation
simple xmlrpc server example, requested on rubyforen.de (see Homepage)
- Host: GitHub
- URL: https://github.com/badboy/xmlrpc-example
- Owner: badboy
- Created: 2008-12-16T20:09:33.000Z (over 17 years ago)
- Default Branch: master
- Last Pushed: 2008-12-16T20:13:00.000Z (over 17 years ago)
- Last Synced: 2025-03-14T19:52:11.554Z (over 1 year ago)
- Language: Ruby
- Homepage: http://forum.ruby-portal.de/viewtopic.php?t=8534
- Size: 82 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
sample.sumAndDifference(3, 5)
{"sum"=>8, "difference"=>-2}
sample.requestLogin(test)
!!! exception caught: XMLRPC::FaultException
Uncaught exception return can't jump across threads in method sample.requestLogin
sample.requestLogin(42)
!!! exception caught: XMLRPC::FaultException
Uncaught exception return can't jump across threads in method sample.requestLogin
sample.requestLogin2(test)
{"token"=>"5dbe1se6y"}
sample.requestLogin2(42)
{"token"=>"7g0a1yo8a"}
sample.gettoken()
{"42"=>{"token"=>"7g0a1yo8a", "time"=>#}, "test"=>{"token"=>"5dbe1se6y", "time"=>#}}
sample.zero()
!!! exception caught: XMLRPC::FaultException
Uncaught exception undefined local variable or method `asdfasfdasdf' for main:Object in method sample.zero
sample.zero2()
!!! exception caught: XMLRPC::FaultException
Uncaught exception divided by 0 in method sample.zero2
sample.l(7, 8)
{"sum"=>15, "difference"=>-1}