axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandana Mihindukulasooriya (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-2688) Hand over HttpMethodParams to Commons HttpMethod objects
Date Mon, 11 Aug 2008 15:33:44 GMT

     [ 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


Mime
View raw message