Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to force web service to run at client side?

How to force web service to run at client side?

Scheduled Pinned Locked Moved ASP.NET
tutorialquestionsysadminwindows-admin
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Im a beginner
    wrote on last edited by
    #1

    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,

    A B 2 Replies Last reply
    0
    • I Im a beginner

      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,

      A Offline
      A Offline
      adatapost
      wrote on last edited by
      #2

      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 1 Reply Last reply
      0
      • A adatapost

        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 Offline
        I Offline
        Im a beginner
        wrote on last edited by
        #3

        i wonder if there is a way to solve my problem. Thanks anyway!

        L 1 Reply Last reply
        0
        • I Im a beginner

          i wonder if there is a way to solve my problem. Thanks anyway!

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          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[^].

          1 Reply Last reply
          0
          • I Im a beginner

            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,

            B Offline
            B Offline
            Bassam Saoud
            wrote on last edited by
            #5

            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...

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups