Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/badboy/xmlrpc-example

simple xmlrpc server example, requested on rubyforen.de (see Homepage)
https://github.com/badboy/xmlrpc-example

Last synced: 9 days ago
JSON representation

simple xmlrpc server example, requested on rubyforen.de (see Homepage)

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}