XML-RPC - Factor Documentation (original) (raw)

This is the XML-RPC library. XML-RPC is used instead of SOAP because it is far simpler and easier to use for most tasks. The library was implemented by Daniel Ehrenberg.

The most important words that this library implements are:

send-rpc ( rpc -- xml )

receive-rpc ( xml -- rpc )

data types in XML-RPC

base64

rpc-method
rpc-response
rpc-fault

the constructors for these are

( string -- base64 )

( name params -- rpc-method )
( params -- rpc-response )
( code string -- rpc-fault )

other words include

post-rpc ( rpc url -- rpc' )