Connecting Webservice to db