473,587 Members | 2,580 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is two way message passing possible using WebServices ?

I want my WebService to call a client's function whenever it receives a
message from any of the client. A way of notifying all clients when any of
the client send a message to the web service.
Nov 23 '05 #1
3 1772
One way to do this is to create a mini-web server in each of your clients
(this is possible in 2005). Then a client can let the server know it's
address to connect to so then the server can call each client as needed.

David

=============== =============== ========
David McCarter
www.vsdntips.com
VSDN Tips & Tricks .NET Coding Standards available at:
www.cafepress.com/vsdntips.20412485
"Abhimanyu Sirohi" wrote:
I want my WebService to call a client's function whenever it receives a
message from any of the client. A way of notifying all clients when any of
the client send a message to the web service.

Nov 23 '05 #2
"dotNetDave " wrote:
One way to do this is to create a mini-web server in each of your clients
(this is possible in 2005). Then a client can let the server know it's
address to connect to so then the server can call each client as needed.

David

=============== =============== ========
David McCarter
www.vsdntips.com
VSDN Tips & Tricks .NET Coding Standards available at:
www.cafepress.com/vsdntips.20412485
"Abhimanyu Sirohi" wrote:
I want my WebService to call a client's function whenever it receives a
message from any of the client. A way of notifying all clients when any of
the client send a message to the web service.


DotNetDave -

This "mini web-server" that's possible in 2005, are you talking about the
"soap.tcp" and "hosting outside of IIS" that made possible with WSE 3.0, or
something different? I would really like to do this, but need the Web
Service to be able to all down to the "client" using HTTP/SOAP.

Thanks,
Brandon

Dec 9 '05 #3
No, what I am talking about is the HttpListener class that will allow your
program to respond to web request. For more info go to:

http://msdn2.microsoft.com/en-us/lib...plistener.aspx

"Brandon Hamm" wrote:
"dotNetDave " wrote:
One way to do this is to create a mini-web server in each of your clients
(this is possible in 2005). Then a client can let the server know it's
address to connect to so then the server can call each client as needed.

David

=============== =============== ========
David McCarter
www.vsdntips.com
VSDN Tips & Tricks .NET Coding Standards available at:
www.cafepress.com/vsdntips.20412485
"Abhimanyu Sirohi" wrote:
I want my WebService to call a client's function whenever it receives a
message from any of the client. A way of notifying all clients when any of
the client send a message to the web service.


DotNetDave -

This "mini web-server" that's possible in 2005, are you talking about the
"soap.tcp" and "hosting outside of IIS" that made possible with WSE 3.0, or
something different? I would really like to do this, but need the Web
Service to be able to all down to the "client" using HTTP/SOAP.

Thanks,
Brandon

Dec 15 '05 #4

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

Similar topics

22
25569
by: Arne | last post by:
How do I pass a dataset to a webservices? I need to submit a shoppingcart from a pocket PC to a webservice. What is the right datatype? II have tried dataset as a datatype, but I can't get it to compile. <WebMethod()> _ Public Function VerifySku(ByVal skus As XmlDataDocument) As DataSet Test program : Dim cartSet As DataSet cartSet =...
1
1335
by: Stefan Lischke | last post by:
hi, I implemented WS-Eventing for the Apache Axis Framework and now i want to build a small prototyp client in .Net (cause a whole WS-Eventing impl. is not possible with .Net, cause it dous not support latest WS-Addressing spec) Now i'm searching for a way to handle Notifications(SOAP messages with unpredicted SOAPBody content), in axis...
1
3072
by: A.M-SG | last post by:
Hi, Can I view/modify SOAP message at the client proxy side without using soap extensions? Thank you,
0
844
by: Ashish | last post by:
I am writing a web service that takes a xml document as an argument and returns an xml document. the schema for the input and output documents is very well defined.. Is it possible to use xml documents as datatype as an argument , and be able to specify a schema for that xml document ? any help or pointers would be appreciated...
1
1038
by: HockeyFan | last post by:
I'm new to webservices. I've got .Net applications at both ends of this, and am wondering what the most efficient way to pass dataset type of information in a webservice. Do I XML-ize it somehow and pass it, or do I just put it in a dataset and pass it? I'm told that .Net serializes it into xml behind the scenes anyway, so I don't see the...
1
2912
by: rival | last post by:
Hi. I've a single solution with many projects. I'm using VS2003 and framework 1.1 1. Data project - contains UserData class, inheriting from DataSet, and setting up constants and columns like those found in the Duwamish 7 sample 2. WebServices project - wraps up business logic 3. C# winforms consumer connecting to the WebServices. ...
14
1887
by: needin4mation | last post by:
I have this in my web service: public XmlDocument GetDataFromDB(string name) { .... do some stuff with name variable..on the database... return the XmlDocument to my datagrid; } Now, in my client default.aspx I have a button that calls this
9
3778
by: Greger | last post by:
Hi, I am building an architecture that passes my custom objects to and from webservices. (Our internal architecture requires me to use webservices to any suggestion to use other remoting techniques are not feasible) The question is; Given that I have a Person object with a private set for id. What is the recommended approac in passing...
7
10138
by: =?iso-8859-1?Q?S=F8ren_M._Olesen?= | last post by:
Hi How do I pass a complex type to a webservice?? What I have is a Class 'MyComplexClass' which lives in it's own dll/namespace. I'd like to pass this class to my webmethod: <WebMethod()_ Public Sub MyMethod(ByVal arg As MyComplexClass) End Sub
0
7918
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7843
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
6621
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5392
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2353
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 we have to send another system
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.