Dear all,
I'm now using TCP socket using user-defined protocol to communicate between
two machines (server and client). But now, I'd like to introduce a Web
Service in my server-side. If my client software subscribes the web service,
does it have the flexibilty to fire a event to server? That is, is there any
similar function just like DCOM (they can fire event to each other and
remote function call)?
Thanks in advance.
Regards,
Curtis 2 1682
Or ask it in a simply way,
does Web Serivce can act as a middle-ware between two applications?
"Curtis Kam" <lu*****@hongko ng.com> wrote in message
news:%2******** *******@TK2MSFT NGP11.phx.gbl.. . Dear all,
I'm now using TCP socket using user-defined protocol to communicate
between two machines (server and client). But now, I'd like to introduce a Web Service in my server-side. If my client software subscribes the web
service, does it have the flexibilty to fire a event to server? That is, is there
any similar function just like DCOM (they can fire event to each other and remote function call)?
Thanks in advance.
Regards, Curtis
Think of the web service as a receive port, from an eventing perspective.
As such, you can have the client send a request (which is your event) to
the service - and thus accomplish your goal. You save having to have a
custom port listener, custom protocol, custom serializer/marshaller, custom
parser).
Regards
Dan Rogers
Microsoft Corporation
--------------------
From: "Curtis Kam" <lu*****@hongko ng.com>
Subject: Fire Event to Server-side
Date: Tue, 9 Nov 2004 15:36:10 +0800
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <#X************ *@TK2MSFTNGP11. phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: 202.64.150.238
Path:
cpmsftngxa10.ph x.gbl!TK2MSFTNG XS01.phx.gbl!cp msftngxa06.phx. gbl!TK2MSFTNGP0 8
.phx.gbl!TK2MSF TNGP11.phx.gbl
Xref: cpmsftngxa10.ph x.gbl
microsoft.publi c.dotnet.framew ork.webservices :7314
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices
Dear all,
I'm now using TCP socket using user-defined protocol to communicate between
two machines (server and client). But now, I'd like to introduce a Web
Service in my server-side. If my client software subscribes the web service,
does it have the flexibilty to fire a event to server? That is, is there any
similar function just like DCOM (they can fire event to each other and
remote function call)?
Thanks in advance.
Regards,
Curtis This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Epetruk |
last post by:
Hi,
I'm trying to design a simple web form, but I cannot get the code in the
btnSubmit_ServerClick event to fire. What am I doing wrong?
Here's the codebehind:
using System;
using System.Collections;
using System.ComponentModel;
|
by: Carlo Marchesoni |
last post by:
From an aspx page (A.aspx) I open another one (B.aspx -
for table lookup). When the user selects an entry in
B.aspx I would like to force a button's event in A.aspx
to be fired. I guess the only way is using javascript -
does anybody have a sample for this ?
Thanks
|
by: Duwayne |
last post by:
I am having a lot of trouble with an ascx page that has a textbox that
*should fire a textchange event when the text changes. The main aspx
page dynamically loads the ascx page and has a image button that
initiates the submit. during submit, 2 events *should fire, 1 from the
textbox and 1 from the image button. The image button event always
fire but the textbox textchange event does not. Anyone has any ideas?
Notes:
During postback, I...
|
by: Gordon Smith |
last post by:
I have four (4) ASP.NET Web applications/Web sites on a IIS/6 - Windows
Server 2003 production server. 3 of them work fine. I just installed the 4th
one and it's Application_Start event is not firing.
I have double-checked everything (and rechecked) and I haven't found
anything that would explain why the Application is not starting.
Here is what I have done so far to troubleshoot this:
In IIS Manager I have ensured that there is a...
|
by: Steve Booth |
last post by:
I have a web form with a button and a placeholder, the button adds a user
control to the placeholder (and removes any existing controls). The user
control contains a single button. I have done all the usual stuff of
recreating the usercontrol in the Page Init event.
The 'failure' sequence is as follows:
- select web form button to display the user control
- select user control button, event fires
- select web form button to display...
| |
by: Jimmy |
last post by:
Hi,
I built a webform with a repeater:
<asp:repeater id="rep1" runat="server" DataSource='<%# ar %>'>
<ItemTemplate>
<asp:Button Runat=server Text="<%# Container.DataItem %>" ID="Button1"
NAME="Button1"/>
</ItemTemplate>
</asp:repeater>
|
by: OldProgrammer |
last post by:
All the documentation and discussion I have read indicate that the
Session_End is not supposed to fire unless you are in "inProc" Session state
mode, and then only on Session Timeout or at Session Abandon. I need the
event to fire at Session timeout in order to capture and store the Datetime
this occurs. However in the application I am writing, I have been unable
discern any indication that the event is firing. I have used break...
|
by: Steve |
last post by:
Looking for some help on this one...
I have three servers (development, staging, production), each running
the same code. All three computers are running Windows 2003 Server, IIS
6.0.
I have some code in the GLOBAL.ASAX file, which writes out a message to
a database indicating that the event fired.
When running on the development or staging servers, I can make this
|
by: rfinch |
last post by:
I'm trying to pass two values from client script (Javascript) to the
code-behind for a page using three hidden fields - two to hold the values and
a third to fire the ValueChanged event.
I have tried every method I can think of to get the event to fire, but it
will not, so either I am missing some code or am misunderstanding the nature
of the event. If anyone can review the test code posted below (which I
created to try to debug the...
|
by: Michal Valent |
last post by:
I would like to fire some custom server control event before Page_Load event
like this (from the trace of an aspx page) :
Trace Information
Category Message From First(s) From Last(s)
aspx.page Begin PreInit
aspx.page End PreInit 5,38454603734274E-05 0,000054
aspx.page Begin Init 8,96405962016187E-05 0,000036
aspx.page End Init 0,00072941040948794 0,000640
aspx.page Begin InitComplete 0,000772971258380746 0,000044
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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...
|
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();...
|
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...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |