Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 14721 invoked from network); 8 Jan 2010 16:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jan 2010 16:37:04 -0000 Received: (qmail 55713 invoked by uid 500); 8 Jan 2010 16:37:04 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 55598 invoked by uid 500); 8 Jan 2010 16:37:03 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 55587 invoked by uid 99); 8 Jan 2010 16:37:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 16:37:03 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jan 2010 16:36:55 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NTHpC-0003kK-O8 for axis-dev@ws.apache.org; Fri, 08 Jan 2010 08:36:34 -0800 Message-ID: <27078808.post@talk.nabble.com> Date: Fri, 8 Jan 2010 08:36:34 -0800 (PST) From: foampile To: axis-dev@ws.apache.org Subject: Re: Setting HTTP header fields for SOAP request in Axis2 In-Reply-To: <60708f4b1001072214s28f13de1vd5322c429a44d421@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: amakarevic@yahoo.com References: <27068422.post@talk.nabble.com> <60708f4b1001072214s28f13de1vd5322c429a44d421@mail.gmail.com> how do i do this ? what is chunching ? Amila Suriarachchi wrote: > > On Fri, Jan 8, 2010 at 4:17 AM, foampile wrote: > >> >> Apparently, Axis 2 does not specify the content-length field in the HTTP >> header. The WS I am dealing with is requiring it, otherwise throwing a >> "411 >> Error: Length Required". >> >> Does anyone know how to set the HTTP header using Axis 2 ? >> > > switch off chunching. there is a constant in HttpConstants to set this. > > thanks, > Amila. > >> >> Thanks >> -- >> View this message in context: >> http://old.nabble.com/Setting-HTTP-header-fields-for-SOAP-request-in-Axis2-tp27068422p27068422.html >> Sent from the Axis - Dev mailing list archive at Nabble.com. >> >> > > > -- > Amila Suriarachchi > WSO2 Inc. > blog: http://amilachinthaka.blogspot.com/ > > -- View this message in context: http://old.nabble.com/Setting-HTTP-header-fields-for-SOAP-request-in-Axis2-tp27068422p27078808.html Sent from the Axis - Dev mailing list archive at Nabble.com.