WEB-Service versus Service hosted by System.Runtime.Remoting in windows-Application
- From: "Peter Stojkovic" <dsa@xxxxxxx>
- Date: Thu, 30 Mar 2006 17:14:32 +0200
I have tried to host a WEB-Service in my Windows Application
with
Dim channelProperties As New System.Collections.Specialized.ListDictionary()
channelProperties.Add("port", 9000)
Dim channel As New HttpChannel(channelProperties, New
SoapClientFormatterSinkProvider(), New SoapServerFormatterSinkProvider())
System.Runtime.Remoting.Channels.ChannelServices.RegisterChannel(channel,
False)
RemotingConfiguration.RegisterWellKnownServiceType(GetType(AsyncWebService.service1),
"service1", WellKnownObjectMode.Singleton)
But I believe, that is not the same like a real-WEB-Service created with
Public Class Service1
Inherits System.Web.Services.WebService
And hosted in IIS
I am looking for an example where an WEB-Service is hosted in a
windows-Application.
Thanks
Peter
.
- Prev by Date: Re: How to integrate a WEB-Service in my Windows-Applacation
- Next by Date: How to disable/modify the default test pages for asmx web services?
- Previous by thread: Re: WebService with ASP .NET v2
- Next by thread: How to disable/modify the default test pages for asmx web services?
- Index(es):
Relevant Pages
|