473,809 Members | 2,940 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 2980
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
4531
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
3016
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
1214
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
3471
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
2887
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
2446
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
1599
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
876
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
1700
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
9722
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...
0
10378
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10121
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
9200
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
5550
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4333
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
3862
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
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.