There is an example of using HttpMethodParams in org.apache.axis2.saaj.SOAPConnectionTest.java
private boolean isNetworkedResourceAvailable(String url) { HttpClient client = new HttpClient(); GetMethod method = new GetMethod(url); client.getHttpConnectionManager().getParams().setConnectionTimeout(1000); method.getParams().setParameter(HttpMethodParams.SINGLE_COOKIE_HEADER, new DefaultHttpMethodRetryHandler(1, false)); try { int statusCode = client.executeMethod(method); if (statusCode != HttpStatus.SC_OK) { return false; } } catch (HttpException e) { e.printStackTrace(); return false; } catch (IOException e) { e.printStackTrace(); return false; } finally { method.releaseConnection(); } return true; } HTH Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Sat, 7 Mar 2009 16:42:17 -0800 > From: johnzhang...@hotmail.com > To: axis-user@ws.apache.org > Subject: set "http.protocol.single-cookie-header" in Axis2 > > > Axis2 using HTTPClient as it underline http channel. > > In HTTPClient, I was able to set "http.protocol.single-cookie-header" as > parameter. > > I think Axis2 using Options to set parameter, could someone give me an > example code to set this property to underline HTTP through Axis2 API? > > Thanks > -- > View this message in context: > http://www.nabble.com/set-%22http.protocol.single-cookie-header%22-in-Axis2-tp22393645p22393645.html > Sent from the Axis - User mailing list archive at Nabble.com. > _________________________________________________________________ Windows Liveā¢ Groups: Create an online spot for your favorite groups to meet. http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009