Unless you run a web server on each client, there is no way of doing
that because web services is a request/response system. So the service
on the server cannot query one of its clients.
You could do this in one of two ways.
1. If your application's infrastructure supports this, switch to using
Raw TCP/IP sockets ... then (as long as the other client has
communicated its IP address to the server (ie. logged in)), the server
can access the client directly. this is the hard option
2. Have all of your clients that need to be queried simply communicate
all of its data to the server at regular intervals. then the server can
distribute that client's data to anyone who needs it. This is obviously
not fit for real-time queries, but is significantly easier than moving
to straight socket programming.
--
Joel Martinez
http://www.onetug.org - Orlando .NET User Group
http://www.codecube.net - blog
R.A. wrote:
Hi,
I have a web service that process a client call. When a client makes a call
to the web method the method needs to query some data from a client_A and
return the data to the calling client_B. How should I design the way the web
service will call client_A to retreive the data needed for client_B?
I am using .net 1.1 and c#
Thanks