cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Content-Length not being set
Date Tue, 05 Jan 2010 17:49:31 GMT
On Wed December 23 2009 10:50:11 am Nathaniel Auvil wrote:
> Is there a way to make CXF calculate and set the Content-Length on every
> call?  I generated my soap client with CXF and sometimes i am getting a 411
> error back from the server i am calling because the content-length was not
> set.  When i cut and paste the soap body dumped from my log interceptor and
> try the same request via SOAP UI it works as it is setting the
> Content-Length
> 

See: 
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html

and the section entitled "A Note About Chunking" and the "AllowChunking" 
setting.



-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Mime
View raw message