Events and remoting 2.0



Hi,
I have an application using Remoting (.NET 2.0)... Here's the way it
works...

Client <--> Service A <- events from B to A -> Service B

So, Service A communicates with Service B and dispatches the objects to
Client... the thing is, now, Service A needs to monitor some things from
Service B, so Service B raise events so Service A can catch them... Right
now, Service B raises the events successfully, but Service A never receives
them...

My config files are as follow (btw, impersonation is required, so if the
solution depends on it, keep in mind it must stay this way):

Service A :
<channel ref="tcp" ID="ServiceAServer" secure="true" port="20000"
tokenImpersonationLevel="Impersonation" impersonate="true"
protectionLevel="EncryptAndSign" >
<clientProviders>
<formatter ref="binary"/>
</clientProviders>
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
</channel>


Service B :
<channel ref="tcp" ID="ServiceBServer" secure="true" port="20004"
tokenImpersonationLevel="Impersonation" impersonate="true"
protectionLevel="EncryptAndSign" >
<clientProviders>
<formatter ref="binary"/>
</clientProviders>
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full"/>
</serverProviders>
</channel>

Can somebody help me please?

ThunderMusic


.



Relevant Pages


Loading