Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > XML-RPC


 

XML-RPC is a remote procedure call protocol encoded in XML. It is a very simple protocol, defining only a handful of data types and commands, and the entire description can be printed on two pages of paper. This is in stark contrast to most RPC systems, where the standards documents often run into the thousands of pages and require considerable software support in order to be used.

It was first created by Dave Winer of UserLand Software in 1995 with Microsoft. However Microsoft considered it too simple, and started adding functionality. After several rounds of this, the standard was no longer so simple, and became what is now SOAP.

1 Data Types


Name Tag Example Description
array 1404 Something Here 1 Array of values, storing no keys
base64 eW91IGNhbid0IHJlYWQgdGhpcyE= Base 64-encoded binary data
boolean 1 Boolean logical value (0 or 1)
date/time 19980717T14:08:55 Date and time
double -12.53 Double precision floating number
integer 42 Whole number, integer
string Hello world! String of characters. Must follow XML encoding.
struct foo 1 bar 2 Array of values, storing keys


2 Examples

An example of a typical XML-RPC request would be:

examples.getStateName 41

An example of a typical XML-RPC response would be:

South Dakota

A typical XML-RPC fault would be:

faultCode 4 faultString Too many parameters.

3 See also

web service, component technologies

4 External links

XML standards

Read more »

Non User