I have developed a retail EPOS solution in C# which runs on tills. I would like this to interface with a back-end Java server. The Java server will be used for running all back-office tasks such as reports.
What is the best method to get a C# client and a Java server talking to each other? Of course, if this were a sole Java setup, then RMI would be used.
I have a gut feeling that a web service is best here, but I am lost to what type of web service I'd be looking for.
I had a crazy "bad" idea that I could put a php script on the server which the C# client could call using HTTP and Curl (or C#'s equivalent) and send arguments via GET or POST. However this would be put a total disconnection between the java "back-end" server and C# client.
Any ideas would be appreciated
Cheers