Hello Jochen,

I see that this class is specifically for Java 1.5. Do you know were is the code that selects the correct class at runtime? I'm very interested to know how it work.

Regards,
Gam.

On 9 sept. 09, at 16:58, Jochen Wiedmann wrote:

Try adding the following method to the XmlRpcSun15HttpTransport and
let me know, whether that works.

Jochen

   protected void initHttpHeaders(XmlRpcRequest pRequest)
           throws XmlRpcClientException {
       final XmlRpcHttpClientConfig config = (XmlRpcHttpClientConfig)
pRequest.getConfig();
       int connectionTimeout = config.getConnectionTimeout();
       if (connectionTimeout > 0) {
           getURLConnection().setConnectTimeout(connectionTimeout);
       }
       int replyTimeout = config.getReplyTimeout();
       if (replyTimeout > 0) {
           getURLConnection().setReadTimeout(replyTimeout);
       }
       super.initHttpHeaders(pRequest);
   }



--
Germanys national anthem is the most boring in the world - how telling!

Reply via email to