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