Made a webservice so I could call it from an html page.