473,385 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1181
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
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
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
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
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
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
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
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
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
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
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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.