chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] FYI: Xmlrpc


From: Ed Watkeys
Subject: [Chicken-users] FYI: Xmlrpc
Date: Thu, 2 Dec 2004 23:06:03 -0500

Hi,

I wrote a utility with Chicken that makes XML-RPC simple from the Unix command line. For example, to call the canonical XML-RPC demo service, you'd simply write this:

xmlrpc xml-rpc.com examples.getStateName -i 38

That's pretty simple, but you can also make arbitrarily complex calls such as this:

xmlrpc example.com insertContact                    \
    -struct                                         \
        name "Ed Watkeys"                           \
        eMail "address@hidden"                     \
        phone -struct                               \
            number "+1 215 694 4201"                \
            type business                           \
            -end                                    \
        sendSpam -b no                              \
        favoriteColors -array "steel blue" avocado

For more info, check out the following URL:
http://watkeys.com/xml-rpc

Regards,
Ed

--
Watkeys Product Design * http://watkeys.com/
address@hidden * +1 215 694 4201





reply via email to

[Prev in Thread] Current Thread [Next in Thread]