Added one SQL to get all publication info. Modified trust processor to read from resultset