Complete the webservice factory