473,725 Members | 2,236 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Raising Events from Web service to clients

Dear All

I have a webservice which has reference to the ATL COM, as we know that ATL
COM of VC raises events i get those events in my web service of VB.net.

But now the clients will have a web reference to this new web service, n i
need to get the events raised from the web service to its clients.

could not get a possible solution for it.

had got some article in system.remoting but am looking for some broadcast
kind of thing which will raise events to the client.

Regards
Mary
Jan 23 '06 #1
1 2974
Mary,

I believe there is a WS specification for eventing. Unfortunately, the
webservice architecture of ASP.NET doesn't support it, as far as I know.
WCF might have support for this, but this is a ways off, so that's not a
feasible solution.

In this case, you don't want to use web services, but rather, you want
to use remoting, which supports more than a request-response mechanism.

Either that, or you could create a service that you hook up to which is
out of band, meaning, the way you get notifications on the client (through a
custom protocol over a socket connection) is different from how you make the
requests (through the web service).

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

"Mary" <Ma**@discussio ns.microsoft.co m> wrote in message
news:1E******** *************** ***********@mic rosoft.com...
Dear All

I have a webservice which has reference to the ATL COM, as we know that
ATL
COM of VC raises events i get those events in my web service of VB.net.

But now the clients will have a web reference to this new web service, n i
need to get the events raised from the web service to its clients.

could not get a possible solution for it.

had got some article in system.remoting but am looking for some broadcast
kind of thing which will raise events to the client.

Regards
Mary

Jan 23 '06 #2

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

Similar topics

9
4526
by: CW | last post by:
I wrote an HTML based chat application. The front end is built entirely on HTML + javascript. Essentially, I have a hidden frame that's refreshed frequently and any new messages are displayed in another frame using document.write. My problem is that since chat screen can be obscured by other applications/windows, I have no way of informing users that new messages have arrived other than popping the window to the top using window.focus....
2
3008
by: Krzysztof Malinowski | last post by:
Hi, We can raise an event by calling some method the same like a delegate. Actually one event can reference a few different method each of these meets delegate declaration. Like below: (...) clock.Alarm += new AlarmEventHandler(w.AlarmRang); (...)
1
1207
by: Niklas | last post by:
Hi I have a remoting client/server application. The clients subscribes to a server event. All works fine if client is used as a window application, but when the client is used with No-Touch deployment over Internet Explorer the clients do not get the server events any more and no exceptions are thrown. The clients have FullTrust permission. Are callbacks/events supported by No-Touch deployment? Regards /Niklas
2
3468
by: Wavemaker | last post by:
I have a component class that has a set of events. The class uses a worker thread to do some processing. When it is finished with the processing, it raises the appropriate events. Problem, since these events are being raised in the worker thread, the clients connected to the events are receiving notification outside of the thread in which they belong. Is there a way to raise events in such as way as to
6
2877
by: Dan | last post by:
I've created a pocketpc app which has a startup form containing a listview. The form creates an object which in turn creates a System.Threading.Timer. It keeps track of the Timer state using a TimerState object similar to the example in the System.Threading.Timer documentation. The method which handles the timer events, among other things, periodically calls a method in this TimerState object which raises an event to the startup form,...
7
2443
by: cider123 | last post by:
I'm coding a project using the following article as reference: http://www.codeproject.com/csharp/DynamicPluginManager.asp In this type of project, plugins are loaded dynamically into a Plugin Manager. Your main application then hooks into the Plugin Manager. What I'm trying to figure out is how to impliment some form of raising
4
1594
by: Dave A | last post by:
I am developing a somewhat complex component at the moment and coincidently I am also reading the Framework Design Guidelines book. After reading the section about event raising I have re-written the way my component raises events to follow the Framework Design Guides verbatim; ie (object sender, EventArgs (or some subclass there of) e). The thing that was not explained is why should I need to cast the sender to 'object' when I know...
0
875
by: Mary | last post by:
Dear All I have a ATL COM exe, this has some events and functions. i need to give web support to this exe, hence making a wrapper of this by giving this a reference in a webservice. In the .net ASP web service am getting all the methods and the events raised. now this web service wrapper made will be used as a web reference in the client application. i can call all webmethods from the client but how to i call the events that
2
1695
by: Gman | last post by:
Hi, I have created a usercontrol, a grid control essentially. Within it I have a class: clsGridRecord. I have coded the events such that when a user clicks on the grid, say, the events occur on the parent form. This is fine. The problem occurs when I want to raise an event for a user clicking on one of the clsRecords which are on the grid. So I've placed: Public Event GridRecordClicked(ByVal rec As clsGridRecord,
0
8884
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
9168
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9103
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8084
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6009
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4779
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3217
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
2
2631
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2154
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.