By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,152 Members | 2,159 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,152 IT Pros & Developers. It's quick & easy.

web service to client question

P: n/a
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
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
R.A.,

In this case, client_A should indicate to the server that a web service
can be called on it. Actually, all of your clients would have this service
exposed. This will be a problem if any of them are behind firewalls, since
they won't be able to host requests from outside of the firewall.

Then, the server would know which clients can be reached, and make the
call to the web service on the clients to get the required information.

If this information is relatively static, then you might want to
consider having the clients make a call to the server to provide the
information once, and then the server takes the information from that.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"R.A." <te**@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP14.phx.gbl...
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

Nov 16 '05 #2

P: n/a
A) So if I understand right here is what I will need to do:

1) Web service responsible for data transfer between clients -
WebService_Data
2) Each client should have its own web service (methods are the same) -
WebService_Client
3) Client_A calls WebService_Data method.
WebService_Data method calls WebService_Client_B to get the information
WebService_Client_B talks to its local network and gets the data and
sends it to WebService_Data
WebService_Data returns the data to Client_A

This way since the WebService_Client is on the client side and the
client can deside how to implement its web service methods, there wouldn't
be any problem if the client data is behind a firewall - it will only expose
its web service methods.

Am I correct?
B) If also the client uses smart client then there shouldn't be any problem
if the client is behind a firewall and accessint the smart client the forst
time (there won't be any download problem because of the firewall)?

Thanks

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:O0*************@TK2MSFTNGP14.phx.gbl...
R.A.,

In this case, client_A should indicate to the server that a web service can be called on it. Actually, all of your clients would have this service exposed. This will be a problem if any of them are behind firewalls, since they won't be able to host requests from outside of the firewall.

Then, the server would know which clients can be reached, and make the
call to the web service on the clients to get the required information.

If this information is relatively static, then you might want to
consider having the clients make a call to the server to provide the
information once, and then the server takes the information from that.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"R.A." <te**@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP14.phx.gbl...
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


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.