replacing thee soap request for server communication by http request
(restful sevices)