Hello,


I'd like the ability to to change the response status based on our functional 
requirement for implementing CMIS 1.0 specification



For example : I'd like to send in certain cases an http 503 (instead of a 500) 
when a soap fault occurs.



HttpServletResponse resp =  (HttpServletResponse)   
msgContext.getCurrentMessageContext().getProperty(org.apache.axis2.transport.http.HT
 TPConstants.MC_HTTP_SERVLETRESPONSE);

if (resp != null) {

resp.setStatus(503 );

  }




We use Axis2 1.6.2 version.





Kind regards



Baskaran

Reply via email to