XML-RPC $B$O(B HTTP $B>e(B
$B$G%j%b!<%H
Perl $B$G=q$+$l$?C;$$(B XML-RPC $B%/%i%$%"%s%H$r<($7$^$9(B (Ken MacLeod $B$N(B Frontier::Client $B$r;HMQ$7$^$9(B)$B!#(B
use Frontier::Client; $server = Frontier::Client->new(url => 'http://betty.userland.com/RPC2'); $name = $server->call('examples.getStateName', 41); print "$name\n"; |
$B
Python $B$G$NF1$8%W%m%0%i%`$G$9(B ($B$3$l$G$O(B Fredrik Lundh $B$N(B xmlrpclib $B$r;H$$$^$9(B)$B!#(B
python> import xmlrpclib python> server = xmlrpclib.Server("http://betty.userland.com/RPC2") python> server.examples.getStateName(41) 'South Dakota' |
$B0J9_$N>O$G$O!"MM!9$J8@8l$G(B XML-RPC $B%/%i%$%"%s%H$*$h$S%5!<%P$N=q(B $B$-J}$r3X$S$^$9!#(B
XML-RPC $B$O(B Dave Winer $B$N(B$B8x<0;EMM=q(B$B$G>\:Y$K@bL@$5(B $B$l$F$$$^$9!#6=L#$,$"$k$J$i!"@'Hs$4Mw$K$J$C$F$/$@$5$$!#4J7i$GL@2r$J(B $BJ8=q$G$9!#(B
$BDL?.$9$k>e$G!"(BXML-RPC $B$NCM$O(B XML $B$K%(%s%3!<%I$5$l$^$9(B -
<methodCall> <methodName>sample.sumAndDifference</methodName> <params> <param><value><int>5</int></value></param> <param><value><int>3</int></value></param> </params> </methodCall> |
$B>e5-$O>iD9$G$9$,!"4JC1$K05=L$G$-$^$9!#$^$?!"M=A[0J>e$KB.$$(B
$B$G$9(B - Rick Blair $B$NB,Dj$K$h$l$P!"(BHannes Walln$Bvf(Ber $B$N(B Java
$B$G$N
XML-RPC $B$O0J2<$N%G!<%?$N $BId9fIU(B 32 $B%S%C%H@0?t(B ASCII $BJ8;zNs$G6u%P%$%H$b5v$5$l$^$9!#(B($B $B??$+56$N$I$A$i$+(B $BG\@:EYIbF0>.?tE@ $BF|IU$H;~9o!#;DG0$J$,$i!"(BXML-RPC $B$O%?%$%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