added a web service API for SOAP