...
For an external application to get or put data into an OpenMRS instance via web services, you have to install the webservices.rest module in the OpenMRS instances and then program the application to make the appropriate calls in json JSON or XML format over REST HTTP to the web services module.
...