Erlang Mailing Lists

Author Message

<  User Contributions  ~  An XML-RPC client/server library

admin
Posted: Thu Aug 16, 2007 9:51 am Reply with quote
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/.



xmlrpc-1.13.tgz
 Description:

Download
 Filename:  xmlrpc-1.13.tgz
 Filesize:  37.27 KB
 Downloaded:  6979 Time(s)

View user's profile Send private message
tangent
Posted: Mon Jul 27, 2009 12:24 am Reply with quote
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.
View user's profile Send private message
rwbcr
Posted: Fri Oct 30, 2009 5:50 pm Reply with quote
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
View user's profile Send private message
number
Posted: Mon Jun 04, 2012 9:00 am Reply with quote
User Joined: 04 Jun 2012 Posts: 18
Soccer jerseys will also be known as the actual strip, kit, uniform or even in other parts of the world a football shirt. It is the standard clothing used by players in the United States as well as The united states. We are providing you with the most recent news on soccer jerseys from Major League Soccer and around the world including the Most recognized League, Los angeles Liga, Serie A and all of Europe’s and the rest of the sides major divisions.
Custom Soccer Jerseys
Portugal Soccer Jersey
Germany Soccer Jersey
Barcelona Jersey
Real Madrid Jersey
Bayern Munich Jersey
View user's profile Send private message AIM Address

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

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