PentahoSessionHolder.setSession( userSession );
String method = request.getMethod();
if ( "GET".equalsIgnoreCase( method ) ) { //$NON-NLS-1$
hooks.handleGet( method, request, response );
} else if ( "POST".equalsIgnoreCase( request.getMethod() ) ) { //$NON-NLS-1$
hooks.handlePost( method, request, response );
} else if ( "PUT".equalsIgnoreCase( request.getMethod() ) ) { //$NON-NLS-1$
hooks.handlePut( method, request, response );
}
} catch ( Exception e ) {
processAxisFault( hooks.getMessageContext(), out, e );