On Fri, Apr 23, 2010 at 11:33 AM, Ruwan Linton <[email protected]> wrote:

> Isuru,
>
> Http status code is not a HTTP header, it is part of the response line,
> you cannot use the headers to set the status code.
>

Yeah.. realized it after sending the mail.. :)

Thanks,
~Isuru


>
> Thanks,
> Ruwan
>
> Isuru Suriarachchi wrote:
> > You can set a List of HTTP headers in the MessageContext as a property
> > (HTTPConstants.HTTP_HEADERS). This is used by the HTTP transport sender.
> >
> > Adding it there may work. But not sure..
> >
> > Thanks,
> > ~Isuru
> >
> >
> > On Fri, Apr 23, 2010 at 9:57 AM, Supun Kamburugamuva <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     I would like to set the HTTP transport response code to a different
> >     value (other than 200) from a WSAS service. Is there a message
> >     context property to do this?
> >
> >     Thanks,
> >     Supun..
> >
> >     _______________________________________________
> >     Carbon-dev mailing list
> >     [email protected] <mailto:[email protected]>
> >     https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Carbon-dev mailing list
> > [email protected]
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
>
>
> --
> Ruwan Linton
> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
> WSO2 Inc.; http://wso2.org
> phone: +1 408 754 7388 ext 51789
> email: [email protected]; cell: +94 77 341 3097
> blog: http://blog.ruwan.org
>
> Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to