|
|
| Author |
Message |
|
| admin |
Posted: Thu Aug 16, 2007 9:51 am |
|
|
|
Site Admin
Joined: 28 Jun 2006
Posts: 108
|
Written By: Joakim Grebenö,
This is an HTTP 1.1 compliant XML-RPC library for Erlang. It is designed to make it easy to write XML-RPC Erlang clients and/or servers. The library is compliant with the XML-RPC specification published by http://www.xmlrpc.org/. |
| Description: |
|
 Download |
| Filename: |
xmlrpc-1.13.tgz |
| Filesize: |
37.27 KB |
| Downloaded: |
6958 Time(s) |
|
|
| Back to top |
|
| tangent |
Posted: Mon Jul 27, 2009 12:24 am |
|
|
|
Joined: 26 Jul 2009
Posts: 1
Location: Aztec, NM
|
On trying to use this library, I found that it has a few bugs, and more modern versions of Erlang than the library was developed on emit many warnings about the code. To save others the hassle of fixing these problems, I've put a patch with my changes on my site.
Fixes:
- The HTTP header response parsing code assumed the headers used the same case as in the spec, but the spec requires case-insensitive matching. XmlRpc++ in particular sends "Content-length" instead of "Content-Length", causing calls sent from xmlrpc-1.13 to fail.
- The original version was apparently written before xmerl was included with Erlang. My patch removes the xmerl stuff from the Makefile and uses include_lib instead of include for xmerl.hrl.
- There were a bunch of unused variables; prepended _ to them.
- The compiler warned about several clauses that can never run because another pattern always matched. I fixed these in various ways, depending on what the code is trying to do.
There are two warnings left that I haven't fixed, because I don't know enough about Erlang yet to know what the code is trying to do.
I've tested this on Erlang R12B-0 and R13B01.
To apply the patch, unpack the above original version, cd into xmlrpc-1.13/src, and say "patch -p2 < /path/to/xmlrpc-1.13-wy.patch" Then just say "make", and it should build with only two warnings.
If you have comments about this, send me a PM through this forum.
By the way, the original author's web site seems to have disappeared. If the author is still around, I'd like to talk to him about making this patch part of the official distribution. It would be good if this library were hosted on a public code repository somewhere. |
|
|
|
| Back to top |
|
| rwbcr |
Posted: Fri Oct 30, 2009 5:50 pm |
|
|
|
Joined: 30 Oct 2009
Posts: 1
Location: Germany
|
I have created a public github repository for hosting the code of this useful project. I invite everybody, who is interested, to clone the code or to collaborate on the project.
You find it under http://github.com/rwbr/exmlrpc |
|
|
|
| Back to top |
|
| number |
Posted: Mon Jun 04, 2012 9:00 am |
|
|
|
User
Joined: 04 Jun 2012
Posts: 18
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
|