[Mono-bugs] [Bug 551745] System.ServiceModel.Channels.HttpsTransportBindingElement throws NotImplementedException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 4 12:15:55 EST 2009


User aenomoto at novell.com added comment

Atsushi Enomoto <aenomoto at novell.com> changed:

           What    |Removed                     |Added
           Priority|P2 - High                   |P3 - Medium
           Severity|Blocker                     |Normal

--- Comment #6 from Atsushi Enomoto <aenomoto at novell.com>  2009-11-04 10:15:53 MST ---
Calls to CreateChannel() is no problem. It is problematic only when the client
proxy does not override CreateChannel() and thus the base (ClientBase<T>'s)
CreateChannel() invokes ChannelFactory<T>.CreateChannel(). If it still tries to
call ChannelFactory<T>.CreateChannel(), then it is either a bug that can be
fixed, or the use of OperationContextScope is not supportable on monotouch.

To get CreateChannel() properly overridden, try running our svcutil, with
-moonlight or -monotouch option, for your service WSDL. The resulting client
proxy would look like:

public class FooClient : ClientBase<T>, IFoo

    public override T CreateChannel ()
        return new FooChannel (this);

public class FooChannel : Clientbase<T>.ChannelBase<T>, IFoo

In Monotouch profile, as well as moonlight profile (equivalent to Silverlight),
the behavioral extensibility interfaces are not public.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list