Hi, all
I've got a windows service (server) application and a winforms (client)
application. What I need to do is to host a web service in the windows
service application so the client can request information about its current
state and request server's internal data to change on user's behalf, plus I
need to do it in a standard compliant way, such as xml/web services.
Any help/link/info would be very apreciated
Thanks 3 3333
OK, if I understand correctly, the client needs to query and change state of
the service via an open communications layer.
I would develop the web service as a normal .NEt IIS hosted web service that
merely queries the service via some mechanism (remoting over TCP comes to
mind here)
I hope this helps.
"Diego L Espiñeira" wrote:
Hi, all
I've got a windows service (server) application and a winforms (client)
application. What I need to do is to host a web service in the windows
service application so the client can request information about its current
state and request server's internal data to change on user's behalf, plus I
need to do it in a standard compliant way, such as xml/web services.
Any help/link/info would be very apreciated
Thanks
Hi, all
I've got a windows service (server) application and a winforms (client)
application. What I need to do is to host a web service in the windows
service application so the client can request information about its current
state and request server's internal data to change on user's behalf, plus I
need to do it in a standard compliant way, such as xml/web services.
Any help/link/info would be very apreciated
Thanks
Web Services Enhancements (WSE) should solve your problem.
Refer: http://msdn2.microsoft.com/en-us/library/aa529311.aspx
Rgds,
Tejasvi
BizTalk Utilities - Frustration free BizTalk Adapters http://www.topxml.com/biztalkutilities
Assuming your server is .NET 2.0 application then WSE 3.0 is a possible
method you could use; as per the previous post. To elaborate you could WSE
enable your service and use the TCP transport mechanism to communicate to
your service using SOAP over the TCP protocol assuming you wanted to keep
this all in process?
Essentially within your service you can derive a class from SoapService and
register it with the SOAPReceivers collection specifying the endpoint
reference of your server host ip and a desired port to listen on.
Within your client application you can derive from SoapClient and
communicate via an endpoint reference to the ip/port that your service is
listening on.
There are samples that show this within the WSE 3.0 SDK download.
Rgds,
Tim.
"Diego L Espiñeira" wrote:
Hi, all
I've got a windows service (server) application and a winforms (client)
application. What I need to do is to host a web service in the windows
service application so the client can request information about its current
state and request server's internal data to change on user's behalf, plus I
need to do it in a standard compliant way, such as xml/web services.
Any help/link/info would be very apreciated
Thanks This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dan |
last post by:
All,
I have a Windows Service that is a hosting a Remote Object
Server. The channels are configured via a Configuration
File. Everything works fine but I noticed something.
Regardless of what directory the service exe file is
installed in the Config file has to be placed in the Win32
(on my Win2k server ) directory in order for the file to
be located. Otherwise, I get an exception when I attempt
to Register the channel during the...
|
by: Nitin Verma |
last post by:
Hi All,
Am new to web service technology. Currently i created a web service at my
home box. Now i want to Host/Publish it to the outside world... so that it is
used by my web applicantion as well as windows client applicantion.
So my question is how to host/publish any web service ?? Any recommendations
on Hosting companies which specialize in hosting web services ??
Any kind of information is really appreciated.
|
by: Jay |
last post by:
Sorry if posting this to the wrong group, but do you know of any asp.net
hosting vendor with support for Crytal Reports? Apparently they do not exist
due to high licensing costs at $25k per cpu.
Certainly someone must be offering this?
Thanks.
--
Jay
|
by: Kunal Pandya |
last post by:
Windows Web Hosting @ $ 14.95 / Year!
with FREE Domain Registration!!!
+ Web Control Panel
+ MIn. 5 Email Boxes
+ Packages starting from as low as 10 MB upto 50 GB dedicated hosting
+ Extra FREE space
+ ASP/.NET/Access et al. support
+ 24/7 Technical Support
+ Windows Server 2003 Hosting
|
by: Scott |
last post by:
Can anyone refer me to a good hosting provider? I'm looking for a
reseller plan with PHP 5, MySql 5, 24 x 7 support, and most importantly,
a solid uptime record.
Customer referrals only, please.
Thanks,
Scott
| |
by: Diego L Espiñeira |
last post by:
Hi all!!!
I am trying to build a windows service that hosts a web service using the
classes in System.Web.Hosting namespace. I have a class library called
Digicard.WebServiceHost containing the code for hosting the web service and
I've got a windows forms host (for debugging porposes) and a windows service
host (the definitive exe). The issue here is that when I run the windows
forms app it serves the web service correctly, but when I run...
|
by: jonny |
last post by:
Please recommend a Web Hosting Service that supports ASP.NET and SQL
server. I am new at this and just signed up with Yahoo before I new
any better. It appears that yahoo does not support ASP.NET and SQL
server. (Instead yahoo offers PHP and MySQL)
Also, good site to go and get a domain name.
Thank you.
|
by: Bob Altman |
last post by:
This is a follow-on to my previous post. It occurs to me that I asked the
wrong question.
Here's what I'm really trying to accomplish: My application is a real-time
airplane and avionics simulation. My application includes a .Net singleton,
exposed via remoting, that allows clients to do things like starting,
stopping, and resetting the simulation. We also include a web service that
allows remote clients (on Linux boxes) to control...
|
by: =?Utf-8?B?TWFuanJlZSBHYXJn?= |
last post by:
Hi,
I created a web service that I want to host in windows service. The
problem is that if I host it as windows service it does not use the
configuration file. I have to define the binding, endpoint etc.
programmatically in the Program.cs file.
Any idea what I might be doing wrong?
Cheers,
|
by: Dave Burns |
last post by:
I am self hosting a Web Service in a Windows service. I am trying to start
the service using the NT AUTHORITY\NetworkService account.
I get a NullReferenceException on ServiceHost.Open() in the
ServiceBase.OnStart() method. SCM throws a 1067 error as well.
I get the same problem with NT AUTHORITY\LocalService.
When I use the LocalSystem account, my domain account, or another regular
user account, the windows service starts just fine.
|
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: 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...
|
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,...
|
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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |