473,770 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Non IIS hosted webservice

Hi,

If I were to write an application hosted webservice (ie a webservice that is
contained wholly within the application) what sort of .NET technology would
I use? I am writing an application that has a GUI and allows an remote
application to send messages to it via web service methods. I currently
have it working but using an ASP.NET webservice that communicates with the
GUI application via .NET remoting. It works OK I would rather not have to
go with the whole IIS, webservice DLL stuff in order to simplify things.

Also, maybe I should mention that the webservice methods and parameters are
defined by an industry standard WSDL and XML file so I would also need to
support that.

Thanks,
Gary
May 7 '06 #1
3 1609
Hi Gary,

Thank you for posting.

Regarding on the hosting webservice in application without IIS, based on my
experience, you can consider using the Microsoft webservice enhancement
(WSE), which provide additional functionality to host webservice
application or extend the built-in ASP.NET webservice. The current latest
version is 3.0. In wse 3.0, it can help host asp.net webservice in our own
non-ASP.NET/IIS application or event use its own service class to create
webservice server(I think this will be suitable for your scenario if the
service is a lightweight one). You can get the WSE component and the
related MSDN document at the following links:

#Web Services Enhancements (WSE)
http://msdn.microsoft.com/webservice...e/default.aspx

#How to: Host an ASP.NET Web Service Outside of IIS
http://msdn.microsoft.com/library/en...3a3-401f-82e5-
2e49588923b9.as p?frame=true

#How to: Send and Receive a SOAP Message By Using the SoapClient and
SoapService Classes
http://msdn.microsoft.com/library/en...672-4c17-b68e-
0d3e65067271.as p?frame=true

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 8 '06 #2
Thank you very much for your recommendations . I will take take a look at
the provided links and see where that takes me.

Regards,
Gary

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:$h******** ******@TK2MSFTN GXA01.phx.gbl.. .
Hi Gary,

Thank you for posting.

Regarding on the hosting webservice in application without IIS, based on
my
experience, you can consider using the Microsoft webservice enhancement
(WSE), which provide additional functionality to host webservice
application or extend the built-in ASP.NET webservice. The current latest
version is 3.0. In wse 3.0, it can help host asp.net webservice in our
own
non-ASP.NET/IIS application or event use its own service class to create
webservice server(I think this will be suitable for your scenario if the
service is a lightweight one). You can get the WSE component and the
related MSDN document at the following links:

#Web Services Enhancements (WSE)
http://msdn.microsoft.com/webservice...e/default.aspx

#How to: Host an ASP.NET Web Service Outside of IIS
http://msdn.microsoft.com/library/en...3a3-401f-82e5-
2e49588923b9.as p?frame=true

#How to: Send and Receive a SOAP Message By Using the SoapClient and
SoapService Classes
http://msdn.microsoft.com/library/en...672-4c17-b68e-
0d3e65067271.as p?frame=true

Hope this helps.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

May 8 '06 #3
You're welcome Gary,

If still anything we can help, please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Community Support
=============== =============== =============== =====

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
May 10 '06 #4

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

Similar topics

7
2052
by: Dennis C. Drumm | last post by:
I would like to be able to update an xml file located on my hosted server from my local computer. The server requires a user name and password to access the web site for writing or updating files. Could someone refer me to a doc that explains this or provide some sample code? Thanks,
5
12525
by: Nate | last post by:
We are attempting to make a request to a web service (we will refer to it as XXXServices) hosted on a Web Logic server from a C# SOAP client. The server responds with a 401 Unauthorized error (that appears in plain text), and causes the client to crash. This C# code has been deployed both as an ASP.NET application and a WinForms app, each of which produced the same result. Further, moving the clients from a Windows XP machine to Windows...
5
1313
by: James | last post by:
Hi, I have built a Windows Form Control which is hosted in IE (for our Intranet). The form logs into a Web Service and retrieves information for display. However, because the web service is on a different internal server, we get the error message: "Error in document service. "Request for the permission of type 'System.Net.WebPermission' failed". We have got this to work on development machines by raising the trust level of the machine...
0
1088
by: Jon Pope | last post by:
I'm using VS2005. Within a C# project, I'm attempting to add a web reference that points to a webservice that I'm hosting on my local development machine. I'm able to add the reference, and see its entry within the Solution Explorer. However, when I try to Rebuild the project, I get the following error: Custom tool error: Unable to import WebService/Schema. Object reference not set to an instance of an object.
6
1658
by: scott | last post by:
what is the best way to send data to and query SQL 2005 server express edition db hosted on a dedicated server with ISP ? i need to query it directly from an application on my LAN (asp site on same machine as sql db also needs to query db) i can obviously use port 1433 but what other option do i have ? i.e ssl port, xml web service ? Any information is helpful
3
8703
by: Arild Bakken | last post by:
Hi, I have written a webservice using WCF. Everything works fine and I can consume the webservice using wsdl, svcutil or visual studio as long as the application pool is running under network_service or an account that is a member of the local administrators group. This webservice needs to run as a different user. When I change the identity, the request http://server/myservice.svc?xsd=xsd0 fails (IIS Log indicated an HTTP/200 (OK) -...
1
3996
by: aparna1212 | last post by:
We have developed a client for webservice in c++ using gSOAP. The client runs on AIX unix system. Webservice is SSL enabled & is hosted on windows IIs. We are using OpenSSL on AIX. While invoking the service we get an error (403 Forbidden Access). If we change the settings of IIS to ignore client certificate then the service responds but if it s set to require client certificate or accept client certificate then the same error is observed. The...
1
2468
by: =?Utf-8?B?d2R1ZGVr?= | last post by:
I have a web service hosting a WCF library, which works fine but produced a strange signature when interacting with vs 2005/2.0 clients. My method takes 3 strings and returns a bool as below. bool CanRun(string appName, string userName, string function); However the auto generated proxy in 2005 looks like this void CanRun(string appName, string userName, string function, out bool result, out bool resultSpecified);
4
1397
by: James | last post by:
Hi, I have just upgraded a user machine to Vista (our first) as a test. Unfortunately a couple of our apps are failing due to Vista... 1. One app that loads an assembly from an Intranet website now fails with FileNotFound on a call to Assembly.LoadFrom(url). This still works fine on all XP SP2 systems in the company. 2. Maybe related... Our Intranet hosts a couple of csharp user controls in
0
9618
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
9454
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
10101
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...
1
10038
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
9906
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...
1
7456
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
5354
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
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
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.