I need to write a web service in linux, Through a java program. The service provided should be a text file. Say whenever the client access the service, It should return a file say /tmp/sample.txt.
And the problem is, the client is a C# program which is running on the windows 7. And the linux will be running as Virtual machine in Windows.
What I need is:
How can i host a service in linux which is written in java.
How can i access it in windows client whch is a c# program.
I would be happy if anyone help me on this.