Castle Windsor XML configuration for WCF proxy using WCF Integration Facility
- by andreyg
Hi everybody!
Currently, we use programming registration of WCF proxies in Windsor container using WCF Integration Facility. For example:
container.Register(
Component.For<CalculatorSoap>()
.Named("calculatorSoap")
.LifeStyle.Transient
.ActAs(new DefaultClientModel
{
Endpoint = WcfEndpoint.FromConfiguration("CalculatorSoap").LogMessages()
}
)
);
Is there any way to do the same via Windsor XML configuration file. I can't find any sample of this on google.
Thanks in advance