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. General Programming
  3. C#
  4. connecting to webservice server

connecting to webservice server

Scheduled Pinned Locked Moved C#
sysadminquestion
2 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.
  • J Offline
    J Offline
    Johny Ng
    wrote on last edited by
    #1

    Hi folks, I want to create a client application that will call some methods from webservices. It's simple if we know the server name but in this application, I want to pass the name of webservice server flexible. Could you guys give me a hint? Thanks.

    S 1 Reply Last reply
    0
    • J Johny Ng

      Hi folks, I want to create a client application that will call some methods from webservices. It's simple if we know the server name but in this application, I want to pass the name of webservice server flexible. Could you guys give me a hint? Thanks.

      S Offline
      S Offline
      S Senthil Kumar
      wrote on last edited by
      #2

      How about putting the name of server in App.config and reading it from there at runtime? You'd have to make some changes to the proxy created by VS .NET though, IIRC, it hardcodes the URL of the server in the Reference.cs file it generates when you add a web reference. Regards Senthil _____________________________ My Blog | My Articles | WinMacro

      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