C# Console application to call SOAP web service which will accept input through a text file

To write a C# console application which will be call a SOAP web service and pass inputs to the service by reading a text file and finally the XML output response of the SOAP service should be written to a text file.