Bonjour,
J'ai un problème concernant le fichier de configuration client remoting.
En effet j'ai besoin d'inscrire 2 canal tcp, un avec un formatter et un provider et un autre sans formatter ni provider:
Lorsque j'appel une méthode sur le serveur A qui a besoin du channel A,ça marche mais lorsque que je dois appeler une méthode du serveur B,ça marche pas.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 <system.runtime.remoting> <application> <channels> <channel ref="tcp" name="channelA"> <clientProviders> <formatter ref="binary" /> <provider type="SinkCustomRemoting.CustomClientSinkProvider, SinkCustomRemoting" customSinkType="SinkCustomRemoting.SinkZipCryptoClientSink, SinkCustomRemoting"> </provider> </clientProviders> </channel> <channel ref="tcp" name="channelB" > <clientProviders> </clientProviders> </channel> </channels> </application> </system.runtime.remoting>
En fait il utilise le provider du channel A.
Auriez vous une solution ?
Partager