On Fri, Jan 8, 2010 at 4:17 AM, foampile <amakare...@yahoo.com> 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/

Reply via email to