Yes the server does offer the keepalive as I have modified it so. I will check the XmlRpcSunHttpTransport too in that case.
Thanks! On Tue, Jan 13, 2009 at 3:25 PM, Jochen Wiedmann <jochen.wiedm...@gmail.com>wrote: > On Tue, Jan 13, 2009 at 7:37 PM, Yanwar Asrigo <asrigoyan...@gmail.com> > wrote: > > > In my simple code, I created the xmlrpc client and then execute two > xmlrpc > > calls using this client. However, from what I see from the log, it seems > > that the client reopen a new connection for the second execution. > > First question: Did the server offer HTTP keepalive? The decision > whether a connection can be used must be agreed upon by both parties. > > Next question: I have absolutely no idea what the commons library > does, but the standard Java libraries should support HTTP Keepalive > out of the box. (See > http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html.) > > > Jochen > > > -- > I have always wished for my computer to be as easy to use as my > telephone; my wish has come true because I can no longer figure out > how to use my telephone. > > -- (Bjarne Stroustrup, > http://www.research.att.com/~bs/bs_faq.html#really-say-that > My guess: Nokia E50) >