merge db.php into soap constructor
merge db.php into soap constructor