created web service to send json data