hi all,
Can't we pass a file object as a parameter to Web Service Method?
When I tried this, this is the Exception I get
System.Exception: Error reflecting method WebService1.HelloWorld. --->
System.Exception: Error reflecting 'txtfile'.
Can not serialize 'System.IO.File' because it does not have default public
constructor. ---> System.Exception: Can not serialize 'System.IO.File'
because it does not have default public constructor.
So, how else can we pass a file from the client to .Net Service? Any
alternatives...
Please help me out.
Regards,
Uma