Re: [Mono-dev] (WCF) Binding elements order

2010-07-07 Thread Thiago Padilha
Hi, Try this test on both plataforms : [Test] [ExpectedExceptionAttribute(typeof(InvalidOperationException))] public void BuildChannelListenerThrowsIfOrderIsIncorrect () { BindingElement[] bindingElements = new BindingElement[2];

Re: [Mono-dev] (WCF) Binding elements order

2010-07-06 Thread Atsushi Eno
Hello Thiago, In what kind of situation does this bring an issue? Is it like, a binding element after a TransportBindingElement should not be ignored under certain usage? For reference, there is a test named BuildChannelFactoryIgnoresRemaining() in HttpTransportBindingElementTest in our nunit

[Mono-dev] (WCF) Binding elements order

2010-07-06 Thread Thiago Padilha
Hi Atsushi, While examining the file "Binding.cs" I found the following comment on the two overloads of "CreateContext" method : " // FIXME: it seems that binding elements are // "validated" so that the last item is a transport. " If you were unsure about where the binding elements should b