i had tried that and it did not work.  So to make my deadline i had to
resort to using Weblogic Web Services, which suck, but it works.  I will try
to get back to this when i have time to look deeper as i do not want to use
Weblogic Web Services


On Tue, Jan 5, 2010 at 12:49 PM, Daniel Kulp <[email protected]> wrote:

> 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
> [email protected]
> http://www.dankulp.com/blog
>

Reply via email to