RE: POST HTTP/1.1

2005-04-08 Thread Simon Fell
Change your sender config to use commonsHTTPSender instead of the
default HTTPSender class.

Cheers
Simon 

 -Original Message-
 From: Ada Lam [mailto:[EMAIL PROTECTED] 
 Sent: Friday, April 08, 2005 1:10 PM
 To: axis-user@ws.apache.org
 Subject: POST HTTP/1.1
 
 Hi all,
 
 I am currently using axis 1.2 RC3.   I want to send SOAP message to 
 server via POST HTTP/1.1.  However, axis is using POST HTTP/1.0.
 I've tried to change it by doing:
 call.getMessageContext().setProperty(org.apache.axis.MessageCo
 ntext.HTTP_TRANSPORT_VERSION,
 org.apache.axis.transport.http.HTTPConstants.HEADER_PROTOCOL_11);
 
 But it doesn't work.   How can I change the HTTP version from 
 1.0 to 1.1 
 in axis?
 
 Thanks in advance!
 
 Regards,
   Ada
 
 
 
 


Re: POST HTTP/1.1

2005-04-08 Thread Tim K. (Gmane)
Thanks Simon.
Do you happen to know if using the CommonsHTTPSender will solve the 
handling of multiple cookies also?

http://issues.apache.org/jira/browse/AXIS-1080
Tim
Simon Fell wrote:
See this document for an example, it also supports digest auth
http://www.devx.com/DevX/Article/21911/1763 


-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Tim K. (Gmane)
Sent: Friday, April 08, 2005 1:39 PM
To: axis-user@ws.apache.org
Subject: Re: POST HTTP/1.1
Simon,
How do you reconfigure it to use CommonsHTTPSender? Do you 
have an example please?

Also, would it be possible to use some other HTTPClient that 
would support digest auth, etc.?

Thanks.
Tim
Simon Fell wrote:
Change your sender config to use commonsHTTPSender instead of the 
default HTTPSender class.

Cheers
Simon

-Original Message-
From: Ada Lam [mailto:[EMAIL PROTECTED]
Sent: Friday, April 08, 2005 1:10 PM
To: axis-user@ws.apache.org
Subject: POST HTTP/1.1
Hi all,
I am currently using axis 1.2 RC3.   I want to send SOAP message to 
server via POST HTTP/1.1.  However, axis is using POST HTTP/1.0.
I've tried to change it by doing:
call.getMessageContext().setProperty(org.apache.axis.MessageCo
ntext.HTTP_TRANSPORT_VERSION,
org.apache.axis.transport.http.HTTPConstants.HEADER_PROTOCOL_11);

But it doesn't work.   How can I change the HTTP version from 
1.0 to 1.1
in axis?

Thanks in advance!
Regards,
Ada