XML parsing / XMLRPC
[1/4] from: rebol::svendx::dk at: 25-Sep-2000 1:02
Hello everybody,
I've uploaded a few scripts that adds some XMLRPC functionality to REBOL and an extended
XML parsing function to my (brand new!) REBOL section at http://www.obscure.dk/rebol/
It's very much beta, and quite untested (and no server-side functionality yet), but anyways,
here's a demo of what it currently can do:
REBOL/Core 2.4.36.1.1 6-Sep-2000
Copyright 2000 REBOL Technologies. All rights reserved.
## do %xml-utils.r
## do %xml-rpc.r
## test-host: make xml-rpc/host! [
[ host: http://betty.userland.com/RPC2
[ ]
## test-host/add-method 'examples.getStateName [state-no [integer!]]
## test-host/exec [
[ state-no: random 40
[ print ["The name of state no." state-no "is" examples.getStateName state-no]
[ ]
The name of state no. 15 is Iowa
(I hope userland.com don't mind me testing against their demo server too much :-)
It currently handles marshalling REBOL to/from XMLRPC for the following datatypes:
integer! <-> <i4>
logic! <-> <boolean>
string! <-> <string>
decimal! <-> <double>
date! <-> <datetime.iso8601>
binary! <-> <base64>
block! <-> <array>
object! <-> <struct>
(including nested arrays and structs)
Best regards
Thomas Jensen
[2/4] from: c:langreiter:synerge:at at: 25-Sep-2000 18:02
> Hello everybody,
>
> I've uploaded a few scripts that adds some XMLRPC functionality to REBOL
and an extended > XML parsing function to my (brand new!) REBOL section at
http://www.obscure.dk/rebol/
Hey cool! Now we've got two XML-RPC libs for REBOL ;-)
Mine (client and cgi-based server) lives and breathes at:
http://www.langreiter.com/space/RXR
Now, shouldn't we try to implement SOAP together?
Bye and congrats,
Chris
[3/4] from: doug:vos:eds at: 25-Sep-2000 12:24
Very cool indeed!
[4/4] from: rebol:svendx:dk at: 25-Sep-2000 23:41
Hello Chris,
On 25-Sep-00, you wrote:
>> Hello everybody,
>>
>> I've uploaded a few scripts that adds some XMLRPC functionality to REBOL
>> XML parsing function to my (brand new!) REBOL section at
> http://www.obscure.dk/rebol/
>
> Hey cool! Now we've got two XML-RPC libs for REBOL ;-)
Cool! Maybe we should exchange notes :-)
> Mine (client and cgi-based server) lives and breathes at:
> http://www.langreiter.com/space/RXR
Just had a peek, pretty cool!
I'll look closer into it later.
> Now, shouldn't we try to implement SOAP together?
I really havn't looked much into SOAP, but it seems pretty cool.
I'm going to be rather busy at work this week, but after that, maybe we could discuss
this again ?
> Bye and congrats,
> Chris
Best regards
Thomas Jensen