Hi Everybody,
I need some help on web service.I want to open pdf file from database to my windows application using web service.Every thing was completed running correctly, but i could n't open that pdf ,its searching from my local machine, but i want to open from the server itself.
I used this code to open:
string Fpath=Wservice.webfi(a);
System.IO.FileStream file1 = new System.IO.FileStream (Fpath,FileMode.Open,FileAccess.Read);
Note:1.Wservice is the Web Reference name for windows application.
2. webfi is the method in web service.
3. a is the variable.