Exposing a remoting service as a Web Service

dotnet framework

    Next

  • 1. Problem in the DMZ
    Hi I'm having problem with .Net Remoting when I invocate an Remote Object from the DMZ On the Intranet it works fine, but when I put the client on the DMZ, it doesn't work Is it the firewall that is blocking I get a HTTP 401 Error - UnAuthorized Acces Thank's in advance Goncalo
  • 2. Peer-to-peer
    Does anybody know where I can find a reference to build a peer-to-peer application with .NET Remoting (in C#)?
  • 3. proxying an object for intersept methods call
    Im just using my proxy implementation using .Net Remoting ,but for proxy an object I must declare an interface(s) with all the method that I want to intercept calls an the target object must implement it. I try to do it without implement the interface(s) with attributes in all methods that I want to intercept calls, but if the class where are the methods doesnt implement any interface I receive a transparentProxy instead an object that I expect when I create my Proxy Thanks for any help

Exposing a remoting service as a Web Service

Postby John Smith » Sat, 28 Oct 2006 23:21:11 GMT

Hello,
    I am looking into the different ways one can expose a Remoting service.
I am mostly interested in how can I expose one remoting service as a Web
Service.

   We already have some services exposed as remoting services for our
intranet applications, we do not use IIS just straight TCP. What is the best
way to expose some or our services as Web Services? Should we consider
writting 'proxies' that would map our remoting services as web services?

   I have just started reading about WCF, seems like this migth be the way
to go. My understanding is that once my contract is defined, I just choose
the transport....

Thank you for your comments and ideas.

Martin



Similar Threads:

1.Noobilicious question: Exposing two interfaces on the same web service (C# web service)

I figured it out, just add another web service ASMX page to the web 
service project.

	WTH

2.Noobilicious question: Exposing two interfaces on the same web service (C# web service)

What are the fundamentals?  I'm getting ready to write a new web service 
and I'd like to have the ability to add interfaces as they change to 
support 'COM-like' backwards compatibility.

Clients for this web service will be using SOAP and auto-generating SOAP 
headers from Visual Studio .Net.

I'm also interested in having multiple different interfaces in the same 
web service as well.

Last but not least, what is the best book in your opinion about how to 
write web services (preferably in C#, but that's not all important)?

	WTH

3.WEB-Service versus Service hosted by System.Runtime.Remoting in windows-Application

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










4.Remoting -v- Enterprise Services -v- Web-services

5.Remoting Service calling local remoting Service

Hi,

I have a remoting service which works fine:

RemotingConfiguration.Configure("Services.exe.config");
RemotingConfiguration.RegisterWellKnownServiceType(typeof(LogService),
 "LogService",WellKnownObjectMode.Singleton);

Any client app can call it fine with the following code:

LogService logService = (LogService)
Activator.GetObject(typeof(LogService),
				serviceUrl + "/LogService","");

However when a second service tries to start and THE SERVICE calls the
LogService with the above call I get an error:

Unable to connect to log service The channel tcp is already
registered.

Can anyone explain?

thanks

6. Expose firewall protected web apps and web services to the INTERNET securely and cost-effectively

7. Remoting exposed from NT Service and Security

8. exposing an object serviced by a window service program to .NET cl



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 84 guest