473,385 Members | 1,912 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.

raise event from webservice to client

hi.
I've build a web service and i want that all the clients of the service know
that a specific event occured at the server , my question is there a way to
do it ?

nissiml.
Nov 21 '05 #1
1 5225
nissiml wrote:
I've build a web service and i want that all the clients of the
service know
that a specific event occured at the server , my question is there a
way to
do it ?


Well yes and no. First off there's a specification called WS-Eventing[1][2][3] that was developed to support this concept generically. It handles registering event handlers, updating subscriptions, etc. I suggest you read that as a jumping off point. Now, that said, there is no built-in support for this specification in the .NET Framework or WSE2.0. That's not to say that you couldn't implement the spec yourself very easily, in fact some people are trying to write a generic implementation based in WSE2.0... I believe that project is called PlumbworkOrange if you want to google it.

Now comes the final problem. This may not be an issue for your scenario, but it's important that it is understood. Events mean that the clients will need to be able to accept incoming TCP/IP requests. If you're using HTTP then this is done over port 80 (INBOUND). This is because events are fired as WSDL notification operations. The server is making a connection to the client and sending them a message (in effect, reversing the roles).

HTH,
Drew

[1] http://msdn.microsoft.com/webservice...s-eventing.asp
[2] http://blogs.msdn.com/bwill/archive/.../10/70964.aspx
[3] http://blogs.msdn.com/bwill/archive/.../12/72233.aspx
Nov 21 '05 #2

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

Similar topics

1
by: Dan Cimpoiesu | last post by:
I have a remoting object, derived from MarshalByRefComponent, that I instantiate on the client side, with Activator.GetObject. Can I receive events fired on the server, on the client? How?
1
by: Sanjit Suchak | last post by:
Hi, I am just learning about .net remoting and have managed to get it working. However, I now want to write a basic chat program. The problem I've got is getting the server to only fire...
5
by: Mark Overstreet | last post by:
I am writing an app that needs to contain an object model that allows it to be controlled similiar to something like Word. However, I am writing this in C# and all managed code. I know that I can...
1
by: zorhel | last post by:
Hi. How can I raise an event in a specific client, or in all clients, not using thread, in a web application using asp.net? The .net remoting works in this case? How? I can't understand yet!...
6
by: Tim Westmoreland | last post by:
Can someone tell me how to raise an event or trap when the maxlength of a server side textbox has been reached?
2
by: IcedCrow | last post by:
Subject says it all. I want to raise an event in Sub New of a class but it is not being raised to my client app. I can raise events just fine in other procedures... just not sub new. Why is...
7
by: Nalaka | last post by:
Hi, I created a sinple web service that returns a dataSet. Then I created a client program that uses this web service (that returns the Dataset). My question is, how did the client figure...
1
by: sadeesh | last post by:
Is it possible to raise an event from a web service. sme links on WEBSERVICE but didnt get much information. If this is possbile, then any details or some links with samples would be helpful
11
by: nadeem_far | last post by:
Hello, I am working on a c# project using framework 1.1. Since its a console application,no windows forms are being used. I am trying to implement event driven classes that just want to raise...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.