fix a regression, get out of the switch() in dispatcher when WEBSERVICE constant is set