How to create c# console application to cosume the .net webservice
<p>I am looking to create C# console application, which will use my desired webservice (http://localhost/MyService/MyService.asmx).</p>

<p>My Console application will consume above webservice and will call web methods inside it, I would prefer to pass the values from console window as arguments, say if there is web method from name "MyDetails", so from console application if I pass "admin" and its "password" then it will give the results on my console window.</p>

<p>For example if I try to run from console window as below:</p>

<p>run>> myconsoleservice.exe  MyDetails admin password</p>

<p><strong>Edit:</strong> I want to create console application which will consume my webservice and all the parameters to Web method will be passed from arguments.</p>

<p>Thanks.</p>

<p>Best Regards,</p>
