Webservice initial code