Web Service Location Question

Discussion in 'ASP .Net Web Services' started by Michael C#, Feb 8, 2005.

  1. Michael C#

    Michael C# Guest

    I recently wrote a basic web service, and I am writing a client app consume
    it. Here's the trick - I want the client to be able to request the web
    service without knowing exactly where it is. Specifically I want the client
    to send a request on the local network, and have the web service respond
    with it's location. For instance, I might have the web service on
    "WebServer1". The client would send out a request on the local network, and
    the web service would respond with it's location (in this instance
    WebServer1). If, later, I moved the web service to WebServer2, the client
    would be able to locate it by sending another request. The client would
    then consume the web service. Is there a way to do this? Or does the
    client always have to know in advance where the web service is located in
    order to use it?

    Thanks,
    Michael C
    Michael C#, Feb 8, 2005
    #1
    1. Advertising

  2. Michael C#

    DalePres Guest

    Check out UDDI at http://uddi.microsoft.com/. You can also put a UDDI
    server on your own network.

    HTH

    DalePres
    MCAD, MCDBA, MCSE

    "Michael C#" <> wrote in message
    news:uwVNd.68$...
    >I recently wrote a basic web service, and I am writing a client app consume
    >it. Here's the trick - I want the client to be able to request the web
    >service without knowing exactly where it is. Specifically I want the
    >client to send a request on the local network, and have the web service
    >respond with it's location. For instance, I might have the web service on
    >"WebServer1". The client would send out a request on the local network,
    >and the web service would respond with it's location (in this instance
    >WebServer1). If, later, I moved the web service to WebServer2, the client
    >would be able to locate it by sending another request. The client would
    >then consume the web service. Is there a way to do this? Or does the
    >client always have to know in advance where the web service is located in
    >order to use it?
    >
    > Thanks,
    > Michael C
    >
    DalePres, Feb 8, 2005
    #2
    1. Advertising

  3. Michael C#

    Michael C# Guest

    Thanks DalePres. I'm trying to figure out the best way to package and
    distribute a web service. I suppose if you're asking a client to install
    and configure IIS on their local network, you might as well ask them to go
    the extra step and install/configure a UDDI server as well. It seems Web
    Services are designed to be easier to access from pre-configured centralized
    global repositories. I guess for local stuff I need to find a more
    localized solution.

    Thanks,
    Michael C

    "DalePres" <> wrote in message
    news:%...
    > Check out UDDI at http://uddi.microsoft.com/. You can also put a UDDI
    > server on your own network.
    >
    > HTH
    >
    > DalePres
    > MCAD, MCDBA, MCSE
    >
    > "Michael C#" <> wrote in message
    > news:uwVNd.68$...
    >>I recently wrote a basic web service, and I am writing a client app
    >>consume it. Here's the trick - I want the client to be able to request
    >>the web service without knowing exactly where it is. Specifically I want
    >>the client to send a request on the local network, and have the web
    >>service respond with it's location. For instance, I might have the web
    >>service on "WebServer1". The client would send out a request on the local
    >>network, and the web service would respond with it's location (in this
    >>instance WebServer1). If, later, I moved the web service to WebServer2,
    >>the client would be able to locate it by sending another request. The
    >>client would then consume the web service. Is there a way to do this? Or
    >>does the client always have to know in advance where the web service is
    >>located in order to use it?
    >>
    >> Thanks,
    >> Michael C
    >>

    >
    >
    Michael C#, Feb 8, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luke Dalessandro
    Replies:
    0
    Views:
    600
    Luke Dalessandro
    Jan 15, 2006
  2. zxo102
    Replies:
    0
    Views:
    403
    zxo102
    Aug 1, 2006
  3. WTH
    Replies:
    1
    Views:
    158
  4. Leo Violette
    Replies:
    0
    Views:
    1,003
    Leo Violette
    Apr 17, 2009
  5. saiho.yuen
    Replies:
    3
    Views:
    409
    kaeli
    Sep 14, 2004
Loading...

Share This Page