remoting http error...

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

why is it everytime I make a simple remoting application using http as the
transfer mode it gives me errors below... I don't understand why it throws
the error with the url of
http://schemas.microsoft.com/clr/nsassem/Communicate.IOperationManager/IOperationManager#login
.... when I've only specified http://localhost:7999/app where login is one of
the methods that I am invoking...

An unhandled exception of type 'System.Runtime.Remoting.RemotingException'
occurred in mscorlib.dll
Additional information: Invalid SOAPAction specified:
"http://schemas.microsoft.com/clr/nsassem/Communicate.IOperationManager/IOpe
rationManager#login"


if I switch the transport mode to tcp the application works immediately and
provides the correct result. why is that ?

I've poured over numerous books I just don't know whats wrong

Thanks
Tom
 
Tom,

I am stretching my memory here (havent touched remoting since my 70-320
exam) so I am probably wrong, but doesnt HTTP SOAP have to operate over port
80? I am pretty sure it does if you are hosting the service in IIS.

Cheers,
Chris.
 
If you are hosted in ASP.NET you can't specify trhe port - its whatever port that website is listening on (normally 80). However, just because he is using the http channel doesn't necessarily mean he is using ASP.NET as a host. He can procide his own host process that will listen for http traffic on a specified port.

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog

nntp://news.microsoft.com/microsoft.public.dotnet.languages.csharp/<[email protected]>

Tom,

I am stretching my memory here (havent touched remoting since my 70-320
exam) so I am probably wrong, but doesnt HTTP SOAP have to operate over port
80? I am pretty sure it does if you are hosting the service in IIS.

Cheers,
Chris.
 
Back
Top