We get databases on our service and have no issues. Do you not have an issue around your server or database path? We retrieve our info from a profile document e.g.
sescur = WebServiceBase.getCurrentSession();
dbcur = sescur.getCurrentDatabase();
docProfile=dbcur.getProfileDocument("frmGlobal_Profile","WebService");
String logSrv = docProfile.getItemValueString("txtLogServer");
String logDb = docProfile.getItemValueString("txtLogDatabase");
eiLog.setDblog(sescur.getDatabase(logSrv, logDb));