refactored the web services legacy soap support to its own module.