Communicte with your web server.

XML-RPC is used most frequently by blog software to communicate with a desktop application. These classes allow your application to do the same using the built-in XML features of REALbasic. They support the complete XML-RPC specification including Structs and Arrays.

Note: Please be aware that most hosts have decided to block any file which contains xmlrpc, xml-rpc, or xml_rpc due to a security breach in Movable Type a while back. If your application has problems communicating with your server, try renaming to file to something else.

Download XML-RPC Client (53.6 KB) | Documentation

Frequently Asked Questions

  • Q: How the @#!* do I use these classes?
    A: These classes make heavy use of typecasting. Typecasting is the practice of turning a reference of one object into another, compatible object. In this case, the value classes conform to the XMLRPC_Value interface. All values are returned as this psuedo-class. Sometimes, you will need to access the properties specific to XMLRPC_Array, for example. All you need to do is something like
    dim a as xmlrpc_array = xmlrpc_array(value)
    where value is a reference to xmlrpc_value object.

Known Issues

  • Most XML-RPC Server return error messages with the code first and the message second. Due to a design flaw, the classes get confused if the information is presented "backwards"