initial method for posting to webservice