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. Web Service as Proxy

Web Service as Proxy

Scheduled Pinned Locked Moved Web Development
questionsysadmin
4 Posts 2 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.
  • L Offline
    L Offline
    Leo Smith
    wrote on last edited by
    #1

    Hello, Question: Is it possible to use a web service as a proxy to a different web service on another web server? Due to desired web service running outside of the zone and possibly having to go through a firewall (launching web server accesses two networks with one being in the DMZ). If this is possible, is there any articles in MSDN that can assist in setting up the intermediate service to send a request to the primary service? Thanks,

    Leo T. Smith Program/Analyst Supervisor

    A 1 Reply Last reply
    0
    • L Leo Smith

      Hello, Question: Is it possible to use a web service as a proxy to a different web service on another web server? Due to desired web service running outside of the zone and possibly having to go through a firewall (launching web server accesses two networks with one being in the DMZ). If this is possible, is there any articles in MSDN that can assist in setting up the intermediate service to send a request to the primary service? Thanks,

      Leo T. Smith Program/Analyst Supervisor

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      yes .. Why not. Just you need to take reference to the web services you want to proxy from the master web service and call it. But always to remind you, calling web service from one service or web site will put an extra load to the web server. Means each web request spawns a new thread to the Web server. Thus for every web request, if the request itself invokes another web request, 2 threads will be created instead of 1 for every request. Other than that, its cool and easy to use. cheers. ;)

      Abhishek Sur


      My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

      **Don't forget to click "Good Answer" if you like to.

      L 1 Reply Last reply
      0
      • A Abhishek Sur

        yes .. Why not. Just you need to take reference to the web services you want to proxy from the master web service and call it. But always to remind you, calling web service from one service or web site will put an extra load to the web server. Means each web request spawns a new thread to the Web server. Thus for every web request, if the request itself invokes another web request, 2 threads will be created instead of 1 for every request. Other than that, its cool and easy to use. cheers. ;)

        Abhishek Sur


        My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

        **Don't forget to click "Good Answer" if you like to.

        L Offline
        L Offline
        Leo Smith
        wrote on last edited by
        #3

        OK, I am not sure how you mean to do this. I am used to using AJAX calls to make things work, but I don't know how that differs from this kind of a call. How would I setup callbacks and addressing the webservice for the required function? You wouldn't happen to know an article or two that would explain this with code examples would you? Thanks,

        Leo T. Smith Program/Analyst Supervisor

        A 1 Reply Last reply
        0
        • L Leo Smith

          OK, I am not sure how you mean to do this. I am used to using AJAX calls to make things work, but I don't know how that differs from this kind of a call. How would I setup callbacks and addressing the webservice for the required function? You wouldn't happen to know an article or two that would explain this with code examples would you? Thanks,

          Leo T. Smith Program/Analyst Supervisor

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          Hey.. This is not dealing with any AJAX requests to WebMethods. Dont mix up this with client server architecture. Actually you are now dealing with Server-Server communication. Just add Web Reference to the Webservice from within your proxy webservice. The Classes will be created automatically. You just need to create object of them and call the functions of your need. :-D http://msdn.microsoft.com/en-us/library/8wbhsy70(VS.80).aspx[^] This might help you... :rose:

          Abhishek Sur


          My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

          **Don't forget to click "Good Answer" if you like to.

          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