473,508 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

web service to client question

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

Jul 21 '05 #1
3 1187
RA,

This is a general newsgroup, for questions special about C# is probably the
newsgroup

microsoft.public.dotnet.languages.csharp a better place

In this link is a very nice walkthrough in VBNet for your question. Most
good VBNet programmers can easily translate C# to VBNet, so I think the
oposite direction should not be a problem as well.

http://msdn.microsoft.com/library/de...alkthrough.asp

I hope this helps?

Cor

"R.A." <te**@hotmail.com>
....
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

Jul 21 '05 #2
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

Jul 21 '05 #3
Joel,
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.
I did not see that the server processes the client, where did you read that?
Or you should read that "needs to query some data from a client" as needs
"needs to query a client". I have readed that as has to evaluate the data
and responds depending from that.

Cor
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#

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1670
by: R.A. | last post by:
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....
0
1552
by: DT | last post by:
I'm writing a .NET 1.1 client that invokes a method of a Web Service running on another organization's IIS 5 server. I need help understanding a fine point about HTTP, specifically in relation to...
4
3101
by: SimpTheChimp | last post by:
I am going to write (my first) Windows Service. What I want is this service to run automatically when the computer/server is booted.... But also, to display an icon in the system tray whenever any...
3
1717
by: Hans Merkl | last post by:
Hi, I am helping to build a web app that's pretty much a wrapper around a web service. The question now is how to store the handle of the web service object between requests. My client is using...
7
7083
by: David Laub | last post by:
I've also posted this issue to a Sun/java formum, but since it appears to be an integration issue, this may be the better place to posr: I have written a dot net/c# Web Services doesn't fully...
2
2248
by: Dmitry Sazonov | last post by:
I'm novice here and I'm sorry for stupid question. We are trying to understand web services architecture, is it better than TIBCO.Randevouz and does webservices fit our needs. I understand, I...
2
1756
by: John A | last post by:
I have a Web Service that I am reponsible for that we use for data integration purposes. Recently I have been tasked with sending some of this data to a third party. Because they need to receive...
4
3978
by: WinDev | last post by:
We are trying to build a system where we have a Windows Service do some manipulation of data, and then sending the data to a Windows App. I had posted a question of how we should do this and was...
6
3961
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public...
15
13480
by: Joseph Geretz | last post by:
I'm a bit puzzled by the current recommendation not to send Datasets or Datatables between application tiers. http://support.microsoft.com/kb/306134 ...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7493
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5625
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5049
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1550
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.