Webservice implemented without using third party library