**JUNK** Re: [esb-java-user] HTTP-Header, HTTP STATUS
Hubert, Eric
eric.hubert at jamba.net
Tue May 13 02:56:50 PDT 2008
Hi Ruwan,
> I think Asankha miss the point that I did a fix to this few days back
> and you can retrieve the HTTP status code from the axis2 message
context.
>
> programatically;
> Axis2MessageContext axis2smc = (Axis2MessageContext) synCtx;
> org.apache.axis2.context.MessageContext axis2MessageCtx =
> axis2smc.getAxis2MessageContext();
> axis2MessageCtx.getProperty(NhttpConstants.HTTP_SC);
>
> or in the configuration you can use the getProperty function to get
this
> as "get-property('$axis2:HTTP_SC')"
Thanks for your quick update. Sometimes it is cool to be slow and bogged
down with a lot of other work. ;-) I just wanted to create the
JIRA-issue...
Regards,
Eric
More information about the Esb-java-user
mailing list