473,659 Members | 2,662 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using WSE to talk to a .NET Windows Service?

We're creating a Windows Service with the .NET Framework (.NET 1.1 and VS
2003) and have an obvious requirement to send commands and data to control
the Windows Service.

In the Windows Service, we're thinking of implementing a SOAP listener on a
"private port" using WSE to support the above requirement.

In addition, the console for the Windows Service will be able to register
for notifications (which the Windows Service would deliver as SOAP messages
to a port supplied by the console app when it registers with the Windows
Service via a previous SOAP call).

1. Does anyone know of any issues with this approach?

2. Is anyone aware of any sample code that implements a similar approach?

--
Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs
Nov 23 '05 #1
1 1491
Hello Mike:
Make sure that you have all your object can be Serializable for sending over
the process boundry using WSE 2.0.
http://msdn.microsoft.com/msdnmag/is...s/default.aspx will
get you started. use the SOAPClient and SOAP Server classes...

Thanks
Praveen
"Michael Herman (Parallelspace/OpenCanal)"
<mw******@nospa m.parallelspace .nospam.net.nos pam> wrote in message
news:us******** ******@TK2MSFTN GP10.phx.gbl...
We're creating a Windows Service with the .NET Framework (.NET 1.1 and VS
2003) and have an obvious requirement to send commands and data to control
the Windows Service.

In the Windows Service, we're thinking of implementing a SOAP listener on
a "private port" using WSE to support the above requirement.

In addition, the console for the Windows Service will be able to register
for notifications (which the Windows Service would deliver as SOAP
messages to a port supplied by the console app when it registers with the
Windows Service via a previous SOAP call).

1. Does anyone know of any issues with this approach?

2. Is anyone aware of any sample code that implements a similar approach?

--
Michael Herman
Parallelspace / OpenCanal
OpenCanal Community for WinFS: http://www.opencanal.com/community/winfs

Nov 23 '05 #2

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

Similar topics

9
6954
by: none | last post by:
Hello all, I wrote a shell program a few years ago in VB6 that needs to be modified. The problem I have is this: The SysAdmin uses this shell in place of Explorer, so there is no taskbar. When his users run PC Anywhere from the shell, and minimize it, it minimizes to the system tray. With no task bar, there is no system tray, so there is no way to restore the PC Anywhere window. The shell starts PC Anywhere using ShellExecute. I...
10
3842
by: noname | last post by:
MSDE 2000 Release A installed under windows 2000 pro will not communicate with SQL Server Manager nor MS Access on peer computer. Can someone help? Have set DISABLENETWORKPROTOCOLS=0 at install time. Install log shows installation successful.. Control Panel> Admin Tools> Services section shows SQL server instance running.
4
5026
by: karpagam | last post by:
Since WebServices are a standardized way to invoke a method of another application over the internet, is there a way to integrate two different applications running on different platforms (Say a .NET client application, used for implementing the presentation logic, and a mainframe application that contains the business logic). Is there a way to call the .NET web service from the mainframe application / expose the buiness logic in the...
1
3671
by: Lee Greco | last post by:
I'm looking for some advice on how to proceed. Here's the scenario: I've got to develop a high availability VB.Net web service that basically acts as a middle man between the web service clients and a third party data provider. The third party data provider is accessed over a well defined TCP interface. The third party data server can accept about 25 concurrent TCP connections from the same client.
3
5080
by: Michael Hoehne | last post by:
Hi, I'm currently facing a problem with a mixed environment using .NET 1.1 and ..NET 2.0 web services. We have a client application (the "client", system 1) running on .NET 2.0/WinXP, calling our web service (The "Web Service Server") running on a separate machine (also .NET 2.0, Win2003 Server, system 2). The web service server (system 2) itself makes calls to methods in the CRM
2
2348
by: =?Utf-8?B?TUs=?= | last post by:
Hello , I am developing a white board type stand-alone VB .NET application in which the .EXE application will be installed in two or more different client machines . These client machines will interact with each other in the way that during drawing with mouse using graphics on RichTextBox control used as white board , whenever the mouse_up event occurs in either client , the whole graphics on the RichTextBox will be shown on every...
4
1902
by: Spam Catcher | last post by:
Hi all, I'm building a multi-tier web application that is primarily driven by a web service back end. Are there any configuration settings I should know about to increase the performance of the site? For example, if the site is going to service 100+ users, do I need to do anything special to ensure IIS can contact my back-end webservice at the
7
1844
by: Marc Gravell | last post by:
The weird thing Evidenced by? You didn't say why you think this... And over what time interval are you seeing tihs? Are you sure you aren't getting different ProcessAgent instances from a single ProcessAgentPool? Basically, by using a singleton, you have exposed yourself to several threading issues. I wouldn't be at all surprised if a thread race is causing a failed lookup of a ProcessAgent (in fact, a thread-race here
0
932
by: John Sheppard | last post by:
"Jeff Johnson" <i.get@enough.spamwrote in message news:JtydnTFI1LlG2GfanZ2dnUVZ_qKgnZ2d@datapex... Purchase an ssl cert...its cheaper than your labour...doing all that message layer security takes weeks and weeks of work...plus it'll all be changed again for WCF when ur WSE is obsolete... Do a search for 'Web Service Security Patterns and Practices' on MS website. Thats a good document. 250 pages though.
0
8330
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,...
0
8850
Oralloy
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...
0
8746
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
8626
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
7355
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...
1
6178
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
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
4334
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.