Well, this particular scenario is a bit contrived, but I can reproduce
the error with this Binsor config:
import System;
import System.Reflection
import System.ServiceModel
import System.ServiceModel.Description from System.ServiceModel
import Castle.Facilities.WcfIntegration
import WCFBinsor.Services
facility WcfFacility
component 'test.svc', IContract, ServiceImpl:
ServiceModel = DefaultServiceModel().Hosted() \
.AddEndpoints(WcfEndpoint.BoundTo(BasicHttpBinding()))
component 'metadata.behavior',IServiceBehavior,
ServiceMetadataBehavior:
HttpGetEnabled = true
component 'auth.behavior',IServiceBehavior,
ServiceAuthorizationBehavior:
ImpersonateCallerForAllOperations = true
So, I guess the real question is: Is there a scenario that would
require >1 out-of-the-box IServiceBehavior, and if so, are we forced
to write a custom behavior to handle that?
Add to that question the sub-question of does this also affect
IEndpointBehavior(s).....I seem to remember that we were doing
something with endpoint behaviors and had a similar issue, but can't
remember what we did about it (Again, I am in the NC mountains,
sneaking time on the PC while my wife thinks I am "resting")
Does that make sense?
On Jul 23, 2:54 pm, "Craig Neuwirt" <
cneuw...@gmail.com> wrote:
> Which behavior is already present in your scenario?
>