Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 30821 invoked from network); 11 Aug 2008 15:34:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Aug 2008 15:34:38 -0000 Received: (qmail 32334 invoked by uid 500); 11 Aug 2008 15:34:34 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 32079 invoked by uid 500); 11 Aug 2008 15:34:34 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 32068 invoked by uid 99); 11 Aug 2008 15:34:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 08:34:34 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 15:33:46 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 719C7234C1A1 for ; Mon, 11 Aug 2008 08:33:44 -0700 (PDT) Message-ID: <1108406078.1218468824464.JavaMail.jira@brutus> Date: Mon, 11 Aug 2008 08:33:44 -0700 (PDT) From: "Nandana Mihindukulasooriya (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-2688) Hand over HttpMethodParams to Commons HttpMethod objects In-Reply-To: <1743764.1179562396478.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nandana Mihindukulasooriya resolved AXIS2-2688. ----------------------------------------------- Resolution: Fixed Fixed in revision: 684778. Now a HttpMethodParams instance can be passed to the Commons HttpClient using the code given below. ServiceClient sc = .... HttpMethodParams params = new HttpMethodParams(); sc.getOptions().setProperty(org.apache.axis2.transport.http.HTTPConstants.HTTP_METHOD_PARAMS, params); regards, nandana Just for the record : Parameter which can be passed via HttpMethodParams can be found here. http://hc.apache.org/httpclient-3.x/preference-api.html#HTTP_method_parameters > Hand over HttpMethodParams to Commons HttpMethod objects > -------------------------------------------------------- > > Key: AXIS2-2688 > URL: https://issues.apache.org/jira/browse/AXIS2-2688 > Project: Axis 2.0 (Axis2) > Issue Type: Wish > Components: kernel > Affects Versions: nightly > Reporter: stefan stieglitz > Assignee: Saminda Wishwajith Abeyruwan > > In order to use Axis2 in a production setup, the user needs more control over the way http requests are performed. Among other things there must be a mechanism to customize the exception handling of the http client. The commons http client project provides this with the HttpMethodParams object. It would be useful to republish the method options defined by this object as axis2 options or at least to provide a way to specify a custom HttpMethodParams instance for example in the message context. > I suppose there is a need for more message control with other transport mechanism too, though I did not check this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org