Bas,
In addition there is Web Services for Tcl:
http://members.cox.net/~gerald.lester/WebServicesForTcl.html
I have not used it at all, so I can't offer any opinion...however it does
look like it uses tdom.
Right Web Services for Tcl requires Tcl 8.5 and tclhttpd, it doesn't work with
AOLserver.
Besides, Web Services for Tcl is based upon the TclOO package by Donal
K. Fellows which is not (besides other issues) multi-threading/
AOLServer compatible (no serializer etc.)
You might want to check out xotcl-soap (xosoap) as well which comes as
OpenACS package: see http://alice.wu-wien.ac.at:8000/xorb-doc/
I don't think TclSOAP uses tdom, does it? That might explain any speed problems.
Indeed, TclSOAP is built around TclDOM/TclXML and suggests one of the
two C-based DOM backends: http://wiki.tcl.tk/9098
Has anyone used TclSOAP? And compared it in performance to Java SOAP clients?
I do not have a direct comparison, but probably some rough benchmark:
http://www.extreme.indiana.edu/xgws/soap_bench/linux_loopback/index.html
(the accompanying paper is also a good introductory read)
Generally speaking, and according to the benchmark above, Java-based
environments (Axis 1.2 at that time) are (across all benchmark types)
less performant than c/c++ based ones (gSOAP), by factors of ~7
(latency) and 10-15+ (end-to-end roundtrip, i.e. including
de/marshalling, arrays of ints + strings). The picture certainly changed
since 2004 because parsing (streaming parsers) and optimisation
techniques (differential marshaling) gained momentum in Java-based
toolkits, but it shows a tendency. Besides, memory footprint is not
considered in the above benchmark which might be even more important
than processing time depending on your requirements.
We are currently working on a performance evaluation of xotcl-soap.
First, tentative results show that xotcl-soap settles in the inbetween
the two benchmark ends above, in the lower third of this range. But,
again, the test setting is not directly comparable. I will report back
if there is interest. Moreover, we work on optimisations (differential
marshaling using adp templating, for instance) that might promise
speed-ups by a factor of 10 in certain settings.
//stefan
--
Stefan Sobernig
Institute for Information Systems and New Media
Vienna University of Economics
Augasse 2-6
A - 1090 Vienna
`- +43 - 1 - 31336 - 4878 [phone]
`- +43 - 1 - 31336 - 746 [fax]
`- [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
`- [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.