How to force web service to run at client side?
-
Hi all, At computer A, I have a simple web service which will generate folder "Example" in drive D. I also registered web page (default.aspx) using this web service with IIS. At computer B, i call web page using: http://ip/default.aspx and click button to generate folder "Example" in drive D. That i want is folder "Example" must be generated in drive D at computer B, not computer A. How can i do that if it is possible? or how can i download service code from server side to run at client side? Regard,
-
Hi all, At computer A, I have a simple web service which will generate folder "Example" in drive D. I also registered web page (default.aspx) using this web service with IIS. At computer B, i call web page using: http://ip/default.aspx and click button to generate folder "Example" in drive D. That i want is folder "Example" must be generated in drive D at computer B, not computer A. How can i do that if it is possible? or how can i download service code from server side to run at client side? Regard,
Misperception WebService. Web service is a techonology that provides an interface for some functionality to make it accessible from other programs across the web. This functionality might be obtaining data from a database, performing mathematical calc., etc.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
-
Misperception WebService. Web service is a techonology that provides an interface for some functionality to make it accessible from other programs across the web. This functionality might be obtaining data from a database, performing mathematical calc., etc.
A DATAPOST COMPUTER CENTRE (K.V Prajapati)
i wonder if there is a way to solve my problem. Thanks anyway!
-
i wonder if there is a way to solve my problem. Thanks anyway!
The code in your web service will be executed at server side only. It will not be executed at client side. Therefore you cannot use your web service to create folder in computer B(client). You can create folder using FileSystemObject in ActiveXObject with JavaScipt. But the security permission of the browser should allow ActiveX object to achive this. Check this link[^].
-
Hi all, At computer A, I have a simple web service which will generate folder "Example" in drive D. I also registered web page (default.aspx) using this web service with IIS. At computer B, i call web page using: http://ip/default.aspx and click button to generate folder "Example" in drive D. That i want is folder "Example" must be generated in drive D at computer B, not computer A. How can i do that if it is possible? or how can i download service code from server side to run at client side? Regard,
If this is all internal network, and each client pc have a shared drive, and ignoring security constraints, i would pass the network path to the webservice so that the code will create the folder in the path provided as parameter. Again, ignoring all security constraints...