Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 5726 invoked from network); 2 Apr 2008 16:44:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2008 16:44:21 -0000 Received: (qmail 96506 invoked by uid 500); 2 Apr 2008 16:44:21 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 96476 invoked by uid 500); 2 Apr 2008 16:44:21 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 96464 invoked by uid 99); 2 Apr 2008 16:44:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 09:44:20 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.79.199.57] (HELO server.dankulp.com) (64.79.199.57) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 16:43:28 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id AB681243000A; Wed, 2 Apr 2008 12:43:46 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter.XXXXdz1JEV Received: from [192.168.75.150] (unknown [216.57.144.65]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTP id 9F37E197C001; Wed, 2 Apr 2008 12:43:45 -0400 (EDT) From: Daniel Kulp To: cxf-dev@incubator.apache.org Subject: Re: content length for http requests Date: Wed, 2 Apr 2008 12:43:42 -0400 User-Agent: KMail/1.9.7 Cc: "Orban, Gyorgy \(IT\)" , "McClelland, Chris \(IT\)" , "Kralj-Taylor, Mark \(IT\)" References: <0FE1D5D2B5C6754898C9E32C1230EC65131128A567@LNWEXMBX0105.msad.ms.com> In-Reply-To: <0FE1D5D2B5C6754898C9E32C1230EC65131128A567@LNWEXMBX0105.msad.ms.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804021243.43193.dkulp@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.4 required=3.0 tests=BAYES_00,RDNS_NONE,TW_CX autolearn=no version=3.2.4 If you reconfigure the HttpConduit to turn off the AllowChunking and turn on the AutoRedirect support, then the messages get buffered (instead of streamed) and the Content-Length gets set. Dan On Wednesday 02 April 2008, Orban, Gyorgy (IT) wrote: > Hi, > I wonder if there is a standard way in cxf for setting the http > content length for the request if the message size is known in > advance. We are trying to send fix length messages using a custom > client and interceptor chain. Could you please advise on this? > > Cheers, > Gyorgy > -------------------------------------------------------- > > NOTICE: If received in error, please destroy and notify sender. Sender > does not intend to waive confidentiality or privilege. Use of this > email is prohibited when received in error. -- J. Daniel Kulp Principal Engineer, IONA dkulp@apache.org http://www.dankulp.com/blog