Chris,

Instead of that do you want to try turning off chunking?

setProperty(HTTPConstants.CHUNKED, false);

or

See http://wso2.org/library/209 for info on forcing HTTP version to be
used etc


thanks,
--
Yashwanth
These are my openion only and not that of my employer(s).

-----Original Message-----
From: Chris Mannion [mailto:chris.mann...@nonstopgov.com] 
Sent: Thursday, January 28, 2010 1:34 AM
To: axis-user
Subject: Use of HTTP/1.0 or 1.1 in Axis 1.4

Hi All

Can anybody tell me what determines which HTTP version is used when an
Axis 1.4 client, running under Tomcat 5.5, sends an out-going request
to a web-service?  I have two servers that are both running the same
code and the version of the Axis 1.4 libraries connecting to an
external web-service.  The problem arrises because the web-service
doesn't seem to support HTTP/1.1 requests with chunked encoding and
the HTTP headers on the out-going messages shows that one of the
servers is sending over HTTP/1.0 and connecting successfully to the
service while the other is sending over HTTP/1.1 with chunked encoding
and the request fails.  I've no idea what has caused the difference
between the two servers but, if possible, forcing the second to us
HTTP/1.0 would solve the problem.

Does anyone know what determines the HTTP version that the outgoing
messages are sent over and how to set it?

-- 
Chris Mannion
iCasework and LocalAlert implementation team
0208 144 4416

Reply via email to