Changes to database services to remedy the xml translation and lack of record wrapper problem.