[Mono-dev] System.NotImplementedException: The requestedfeature is not implemented. atSystem.ServiceModel.Configuration.WSHttpBindingElement.OnApplyConfiguration

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Tue May 25 22:08:49 EDT 2010


Hello,

First of all, MoMA is not anything you can think "this app SHOULD run on 
mono because MoMA reported nothing". It is rather to find out that "MoMA 
reported some items that should be implemented, so this app won't run". 
It is because:

- It only checks exposed API. Anything that depends on internals won't 
be reported.
- It does not support configuration elements, and WCF has a lot of them.
- There are many classes/members that itself is implemented but not 
supported in
combined with others. Say, when we have FooServiceBehavior, BarBinding, and
ServiceHost and the combination of all of them doesn't work, they could 
still be
reported as implemented as long as they are implemented (and it's too 
silly to mark
everything NotImplemented or MonoTODO).

As for Credentials types, you should not basically expect them working 
except for some
HTTP authentication stuff. For example IssuedToken will never work until 
we finish lots of WS-* stuff.
It is easy to implement ClientCredentialsElement.CreateBehavior() right 
now, but it does not make a lot of sense so far.

Atsushi Eno


On 2010/05/26 4:40, Matt Dargavel wrote:
>
> Hi Greg,
>
> Have you tried running MoMA (http://www.mono-project.com/MoMa) against 
> your application? This should give you an idea of how much is missing 
> from Mono.
>
> With respect to WCF and the specific problem you saw, I’ve not used 
> the security stuff at all but it looks like most of the 
> ClientCredentials class is done so you might be able to configure the 
> necessary ClientCredentials in code rather than using .config files. I 
> don’t think the System.ServiceModel.Configuration namespace is as 
> complete as some of the other bits. You can find information on the 
> implementation status at the links below.
>
> http://go-mono.com/status/status.aspx?reference=3.5&profile=2.0&assembly=System.ServiceModel 
> <http://go-mono.com/status/status.aspx?reference=3.5&profile=2.0&assembly=System.ServiceModel> 
>
>
> http://www.mono-project.com/WCF
>
> Regards,
>
> Matt.
>
> *From:* mono-devel-list-bounces at lists.ximian.com 
> [mailto:mono-devel-list-bounces at lists.ximian.com] *On Behalf Of *Greg 
> Robinson
> *Sent:* 25 May 2010 7:09 PM
> *To:* Stifu
> *Cc:* mono-devel-list at lists.ximian.com
> *Subject:* Re: [Mono-dev] System.NotImplementedException: The 
> requestedfeature is not implemented. 
> atSystem.ServiceModel.Configuration.WSHttpBindingElement.OnApplyConfiguration 
>
>
> Understood, and that was my first thought. Was just wondering if there 
> were alternative solutions.
>
> I am thinking of a Java/.NET split if you will where we keep what we 
> can that WILL run under Mono and port the rest to Java. That assumes 
> we can get the two to play nicely together.
>
> Is there a way to see if someone is already working on the bits in 
> Mono we need?
>
>
> On Tue, May 25, 2010 at 2:05 PM, Stifu <stifu at free.fr 
> <mailto:stifu at free.fr>> wrote:
>
>
> The obvious answer: contribute to Mono and help implement it. Or pay 
> someone
> to do it.
> That's what some companies do. If you can afford it, that's an option 
> (which
> might turn out to be cheaper than rewriting everything in Java; that 
> said, I
> have no idea how much work is needed here).
>
>
>
> Greg Robinson wrote:
> >
> > I am new to Linux, new to Mono. I am really hoping we can use Mono 
> for our
> > .NET application to Linux port/migration.
> >
> > The other option on the table is to totally re-write in Java.
> >
> > So what do folks usually do at this point; the point where they find 
> that
> > something they need, our .NET Server application calling a WCF Service
> > using
> > System.ServiceModel bits, not implemented in Mono? It seems a shame to
> > just
> > give up and do a port to Java; is that my only solution though?
> >
> >
> >
> > On Tue, May 25, 2010 at 12:45 PM, Miguel de Icaza <miguel at novell.com 
> <mailto:miguel at novell.com>>
> > wrote:
> >
> >>
> >> > When I go to:
> >> >
> >> > http://mono-project.com/DistroPackages/Ubuntu
> >> >
> >> > it tells me Mono comes installed by default. We are running Ubuntu
> >> > 10.04.
> >> >
> >> > What do I need to do to upgrade to Mono 2.6 on Ubuntu 10.04?
> >>
> >> I am told that there are no 2.6 packages available for Ubuntu by the
> >> Debian/Ubuntu community.
> >>
> >> The bad news is that you need to compile from source code; The good
> >> news is that this is a trivial process (as long as you use released
> >> tarballs):
> >>
> >> http://www.mono-project.com/Parallel_Mono_Environments
> >>
> >> Migue.
> >>
> >> >
> >> >
> >> >
> >> > On Mon, May 24, 2010 at 8:50 AM, Oskar Berggren
> >> > <oskar.berggren at gmail.com <mailto:oskar.berggren at gmail.com>> wrote:
> >> > 2.2 is fairly old. Have you checked with 2.4 or 2.6?
> >> >
> >> > Try searching for "moma" and "mono class library status".
> >> >
> >> > /Oskar
> >> >
> >> >
> >> > 2010/5/24 Greg Robinson <gregarobinson at gmail.com 
> <mailto:gregarobinson at gmail.com>>:
> >> >
> >> > > I have been making good progress on moving our .NET server
> >> > application over
> >> > > to Mono 2.2 running on Ubuntu 2.2.
> >> > >
> >> > > Friday, I ported the WCF pieces over where all the server
> >> > application does
> >> > > is make calls to a WCF service running on a windows server
> >> > outside of our
> >> > > office.
> >> > >
> >> > > I am getting the following, which suggests to me these
> >> > pieces of "client
> >> > > side" WCF are not implemented in Mono 2.2:
> >> > >
> >> > > System.NotImplementedException: The requested feature is
> >> > not implemented.
> >> > > at
> >> > >
> >> >
> >> 
> System.ServiceModel.Configuration.WSHttpBindingElement.OnApplyConfiguration
> >> > > (System.ServiceModel.Channels.Binding binding) [0x00000]
> >> > > at
> >> > >
> >> >
> >> 
> System.ServiceModel.Configuration.StandardBindingElement.ApplyConfiguration
> >> > > (System.ServiceModel.Channels.Binding binding) [0x00000]
> >> > > at
> >> > System.ServiceModel.Configuration.ConfigUtil.CreateBinding
> >> > > (System.String binding, System.String bindingConfiguration)
> >> > [0x00000]
> >> > > at System.ServiceModel.ChannelFactory.ApplyConfiguration
> >> > (System.String
> >> > > endpointConfig) [0x00000]
> >> > > at System.ServiceModel.ChannelFactory.InitializeEndpoint
> >> > (System.String
> >> > > endpointConfigurationName,
> >> > System.ServiceModel.EndpointAddress
> >> > > remoteAddress) [0x00000]
> >> > > at
> >> > >
> >> >
> >> 
> System.ServiceModel.ChannelFactory`1[OurCompanyName.Common.WebServiceReference.OurCompanyNameWCFServiceProxy.IOurCompanyNameService]..ctor
> >> > > (System.String endpointConfigurationName,
> >> > > System.ServiceModel.EndpointAddress remoteAddress) [0x00000]
> >> > > at System.ServiceModel.ClientBase`1[TChannel].Initialize
> >> > > (System.ServiceModel.InstanceContext instance, System.String
> >> > configName,
> >> > > System.ServiceModel.EndpointAddress remoteAddress) [0x00000]
> >> > > at System.ServiceModel.ClientBase`1[TChannel]..ctor
> >> > > (System.ServiceModel.InstanceContext instance, System.String
> >> > configname)
> >> > > [0x00000]
> >> > > at System.ServiceModel.ClientBase`1[TChannel]..ctor
> >> > > (System.ServiceModel.InstanceContext instance) [0x00000]
> >> > > at System.ServiceModel.ClientBase`1[TChannel]..ctor ()
> >> > [0x00000]
> >> > > at
> >> > >
> >> >
> >> 
> OurCompanyName.Common.WebServiceReference.OurCompanyNameWCFServiceProxy.OurCompanyNameServiceClient..ctor
> >> > > () [0x00000]
> >> > > at
> >> > >
> >> >
> >> 
> OurCompanyName.Common.WebServiceReference.OurCompanyNameServiceProxyAgent.CreateServiceProxy
> >> > > (Boolean useLimited) [0x00000]
> >> > > at
> >> > >
> >> >
> >> 
> OurCompanyName.Common.WebServiceReference.OurCompanyNameServiceProxyAgent.CreateServiceProxy
> >> > > () [0x00000]
> >> > > at
> >> > >
> >> >
> >> 
> OurCompanyName.Common.WebServiceReference.OurCompanyNameServiceProxyAgent.GetConfiguration
> >> > > (System.String loggerSAN) [0x00000]
> >> > > at
> >> > >
> >> >
> >> 
> OurCompanyName.Common.WebServiceReference.OurCompanyNameServiceProxyAgent.GetConfiguration
> >> > > () [0x00000]
> >> > > at OurCompanyNameWCFClientTest.Program.Main
> >> > (System.String[] args)
> >> > > [0x00000]
> >> > >
> >> > >
> >> > >
> >> > >
> >> > > Any idea if\when this will be implemented? is there a
> >> > workaround?
> >> > >
> >> > >
> >> > >
> >> > >
> >> > > Thanks
> >> > >
> >> > >
> >> > >
> >> > > --
> >> > > Greg
> >> > >
> >> > > My Blog: http://dotnetrocks.blogspot.com/
> >> > > My Techy Blog: http://weblogs.asp.net/grobinson/
> >> > > Amy's Blog: http://amyshome.blogspot.com/
> >> > > LinkedIn: http://www.linkedin.com/in/gregarobinson
> >> > >
> >> >
> >> > > _______________________________________________
> >> > > Mono-devel-list mailing list
> >> > > Mono-devel-list at lists.ximian.com 
> <mailto:Mono-devel-list at lists.ximian.com>
> >> > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >> > >
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Greg
> >> >
> >> > My Blog: http://dotnetrocks.blogspot.com/
> >> > My Techy Blog: http://weblogs.asp.net/grobinson/
> >> > Amy's Blog: http://amyshome.blogspot.com/
> >> > LinkedIn: http://www.linkedin.com/in/gregarobinson
> >> > My Company:
> >> >
> >> 
> http://www.richmondbizsense.com/2010/05/04/health-monitoring-company-is-well-aware-of-richmond%E2%80%99s-benefits/
> >> > _______________________________________________
> >> > Mono-devel-list mailing list
> >> > Mono-devel-list at lists.ximian.com 
> <mailto:Mono-devel-list at lists.ximian.com>
> >> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >>
> >>
> >>
> >
> >
> > --
> > Greg
> >
> > My Blog: http://dotnetrocks.blogspot.com/
> > My Techy Blog: http://weblogs.asp.net/grobinson/
> > Amy's Blog: http://amyshome.blogspot.com/
> > LinkedIn: http://www.linkedin.com/in/gregarobinson
> > My Company:
> > 
> http://www.richmondbizsense.com/2010/05/04/health-monitoring-company-is-well-aware-of-richmond%E2%80%99s-benefits/
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com 
> <mailto:Mono-devel-list at lists.ximian.com>
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> >
>
> -- 
>
> View this message in context: 
> http://mono.1490590.n4.nabble.com/System-NotImplementedException-The-requested-feature-is-not-implemented-at-System-ServiceModel-Confin-tp2228515p2230442.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com <mailto:Mono-devel-list at lists.ximian.com>
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>
>
> -- 
> Greg
>
> My Blog: http://dotnetrocks.blogspot.com/
> My Techy Blog: http://weblogs.asp.net/grobinson/
> Amy's Blog: http://amyshome.blogspot.com/
> LinkedIn: http://www.linkedin.com/in/gregarobinson
> My Company: 
> http://www.richmondbizsense.com/2010/05/04/health-monitoring-company-is-well-aware-of-richmond%E2%80%99s-benefits/ 
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>    



More information about the Mono-devel-list mailing list