Hello,
we are providing a service for an old external client. This client
expects a 200 OK HTTP response for a successful delivered message. We
implemented the service by using axis2 1.2 and unfortunately it
answers with a "202 Accepted".
We tried to set the response code in our MessageReceiver like this:
HttpServletResponse response = (HttpServletResponse)
MessageContext.getCurrentMessageContext().getProperty(HTTPConstants.MC_HTTP_SERVLETRESPONSE);
if (response !=null ) {
response.setStatus(HttpServletResponse.SC_OK);
}
But this doesn't work. Is it possible to change the response code in
some other way?
Thanks for any help,
Guido
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]