Source:
public abstract void createContent( AxisConfiguration axisConfiguration, ConfigurationContext context, OutputStream out ) throws Exception; protected void processAxisFault( MessageContext msgContext, OutputStream out, Throwable e ) { IParameterProvider pathParams = parameterProviders.get( "path" ); boolean http = msgContext.getProperty( HTTPConstants.MC_HTTP_SERVLETRESPONSE ) != null; if ( http ) { HttpServletResponse res = (HttpServletResponse) pathParams.getParameter( "httpresponse" ); if ( AddressingHelper.isFaultRedirected( msgContext ) ) { res.setStatus( HttpServletResponse.SC_ACCEPTED ); } else { String status = (String) msgContext.getProperty( Constants.HTTP_RESPONSE_STATE ); try { if ( status == null ) { res.sendError( HttpServletResponse.SC_INTERNAL_SERVER_ERROR ); } else { int sc = Integer.parseInt( status ); if ( sc >= 400 ) { res.sendError( sc ); } else { res.setStatus( sc ); } } } catch ( IOException e1 ) { if ( status == null ) { res.setStatus( HttpServletResponse.SC_INTERNAL_SERVER_ERROR ); } else { int sc = Integer.parseInt( status ); if ( sc >= 400 ) { res.setStatus( sc ); } else { res.setStatus( sc ); } } } AxisBindingOperation axisBindingOperation = (AxisBindingOperation) msgContext.getProperty( Constants.AXIS_BINDING_OPERATION ); if ( axisBindingOperation != null ) { AxisBindingMessage fault = axisBindingOperation.getFault( (String) msgContext.getProperty( Constants.FAULT_NAME ) ); if ( fault != null ) { Integer code = (Integer) fault.getProperty( WSDL2Constants.ATTR_WHTTP_CODE ); if ( code != null ) { res.setStatus( code.intValue() ); } } } } } try { handleFault( msgContext, out, http, e ); } catch ( IOException axisFault ) { String message = Messages.getInstance().getErrorString( "WebServiceContentGenerator.ERROR_0003_PROCESSING_FAULT" ); getLogger().error( message, axisFault ); } }

Target:
public abstract void createContent( AxisConfiguration axisConfiguration, ConfigurationContext context, OutputStream out ) throws Exception; protected void processAxisFault( MessageContext msgContext, OutputStream out, Throwable e ) { IParameterProvider pathParams = parameterProviders.get( "path" ); boolean http = msgContext.getProperty( HTTPConstants.MC_HTTP_SERVLETRESPONSE ) != null; if ( http ) { HttpServletResponse res = (HttpServletResponse) pathParams.getParameter( "httpresponse" ); if ( AddressingHelper.isFaultRedirected( msgContext ) ) { res.setStatus( HttpServletResponse.SC_ACCEPTED ); } else { String status = (String) msgContext.getProperty( Constants.HTTP_RESPONSE_STATE ); try { if ( status == null ) { res.sendError( HttpServletResponse.SC_INTERNAL_SERVER_ERROR ); } else { int sc = Integer.parseInt( status ); if ( sc >= 400 ) { res.sendError( sc ); } else { res.setStatus( sc ); } } } catch ( IOException e1 ) { if ( status == null ) { res.setStatus( HttpServletResponse.SC_INTERNAL_SERVER_ERROR ); } else { int sc = Integer.parseInt( status ); res.setStatus( sc ); } } AxisBindingOperation axisBindingOperation = (AxisBindingOperation) msgContext.getProperty( Constants.AXIS_BINDING_OPERATION ); if ( axisBindingOperation != null ) { AxisBindingMessage fault = axisBindingOperation.getFault( (String) msgContext.getProperty( Constants.FAULT_NAME ) ); if ( fault != null ) { Integer code = (Integer) fault.getProperty( WSDL2Constants.ATTR_WHTTP_CODE ); if ( code != null ) { res.setStatus( code.intValue() ); } } } } } try { handleFault( msgContext, out, http, e ); } catch ( IOException axisFault ) { String message = Messages.getInstance().getErrorString( "WebServiceContentGenerator.ERROR_0003_PROCESSING_FAULT" ); getLogger().error( message, axisFault ); } }