----- Original Message ----- From: "Chris Keyser" <[EMAIL PROTECTED]> > > 1) Is it legitimate to run both http binary and soap channels within the > same client instance? As far as I can tell, this should not pose a problem. >
You can't register the same channel type more than once in a given app domain. I'm surprised your code works as far as it does. Usually, you get a "channel has already been registered" exception if you try to register the same channel type more than once in a given app domain. However, you can register the same channel type in different app domains - as long as you use a different port for each channel. This way (for example) clients that connect to port X know that they need to use http/binary, while clients that connect to port Y know that they need to use http/soap. I have some sample code (C#) I can send you offline if you're interested. -Mike http://staff.develop.com/woodring http://www.develop.com/devresources You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.