Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / July 2004

Tip: Looking for answers? Try searching our database.

Limitation of events over SOAP/HTTP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Luke Church - 29 Jul 2004 12:34 GMT
Hi all,

I'm currently doing priliminary research into the usability of event passing
through remoting. I've been experiencing some difficulty.

Using a sample that I found I now have the eventing working successfully
using a BinaryServerFormatterSinkProvider and a TCP Channel.

Ideally I would like to work with Soap over an HTTP channel, but seemingly
when I try either or both of these I am returned with 'RemotingException was
unhandled' Server Encountered an internal error. To get more info turn on
customErrors in the server's config file.

Using programatic changes to this paratmeter doesn't seem to have any
effect.

However my primary question is: Am I running into some inherent resrictions
on the use of events, do they have to be over Binary over TCP or am I doing
something else wrong?

I'm using .NET 2.0 Beta 1, is this likely to be having an effect?

Can anyone else confirm this problem, or point me to an example of events
working over HTTP and/or SOAP?

Much appreciated,

Luke
Sunny - 29 Jul 2004 14:58 GMT
Hi Luke,

> Ideally I would like to work with Soap over an HTTP channel, but seemingly
> when I try either or both of these I am returned with 'RemotingException was
[quoted text clipped - 3 lines]
> Using programatic changes to this paratmeter doesn't seem to have any
> effect.

This parameter can be changed only with config file, there is no
programmatic way. Oh, there is, but it involves reflection, and it is
ugly. And you may have problems if in the future release of the
framework the internals are changed. So, keep with the config file for
this parameter.

> However my primary question is: Am I running into some inherent resrictions
> on the use of events, do they have to be over Binary over TCP or am I doing
[quoted text clipped - 4 lines]
> Can anyone else confirm this problem, or point me to an example of events
> working over HTTP and/or SOAP?

I haven't tried with 2.0, but it works fine with 1.1. Please, create a
small sample program using TCP/binary. If it works, change only the
channel registration to HTPP/SOAP, and if it is not working, please post
the code.

Sunny

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.