[Carbon-dev] How can I change the HTTP response code from a WSAS service
Ruwan Linton
ruwan at wso2.com
Thu Apr 22 22:10:43 PDT 2010
Afkham Azeez wrote:
> You can get the HttpRequest & response from the MessageContext via
> properties IIRC. You should be able to set the response code in the
> Http response.
I think the servlet transport over rights the status code.
Thanks,
Ruwan
>
> Azeez
>
> On Fri, Apr 23, 2010 at 9:57 AM, Supun Kamburugamuva <supun at wso2.com
> <mailto:supun at wso2.com>> 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
> Carbon-dev at wso2.org <mailto:Carbon-dev at wso2.org>
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>
>
>
> --
> Afkham Azeez
> Software Architect & Product Manager, WSO2 WSAS; WSO2, Inc.;
> http://wso2.com, Lean . Enterprise . Middleware
> Member; Apache Software Foundation; http://www.apache.org/
> email: azeez at wso2.com <mailto:azeez at wso2.com> cell: +94 77 3320919
> blog: http://blog.afkham.org
> twitter: http://twitter.com/afkham_azeez
> linked-in: http://lk.linkedin.com/in/afkhamazeez
> ------------------------------------------------------------------------
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev at wso2.org
> 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: ruwan at wso2.com; cell: +94 77 341 3097
blog: http://blog.ruwan.org
Lean . Enterprise . Middleware
More information about the Carbon-dev
mailing list