M
Michael C#
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
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