Bug 13593 - channel type IRequestSessionChannel is not supported.
Summary: channel type IRequestSessionChannel is not supported.
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: WCF assemblies (show other bugs)
Version: master
Hardware: PC Linux
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-07-30 04:55 UTC by ticapix
Modified: 2013-07-30 05:45 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
sample code (2.23 KB, text/x-csharp)
2013-07-30 04:55 UTC, ticapix
Details

Description ticapix 2013-07-30 04:55:45 UTC
Created attachment 4481 [details]
sample code

Hi,

Using mono 3.2.0, I'm trying to run a simple WCF service/client application. The source code is enclosed to the bug and can be compiled with
mcs /reference:System.ServiceModel.dll Program.cs 


This code is working fine under Windows8 .Net 4.5 in VS Express, but when I run it with Mono, I'm getting this stacktrace:

System.InvalidOperationException: channel type IRequestSessionChannel is not supported.
  at System.ServiceModel.Channels.HttpChannelFactory`1[System.ServiceModel.Channels.IRequestSessionChannel].OnCreateChannel (System.ServiceModel.EndpointAddress address, System.Uri via) [0x000e2] in /home/ticapix/externals/mono/mono-3.2.0/mcs/class/System.ServiceModel/System.ServiceModel.Channels/HttpChannelFactory.cs:90
  at System.ServiceModel.Channels.ChannelFactoryBase`1[System.ServiceModel.Channels.IRequestSessionChannel].CreateChannel (System.ServiceModel.EndpointAddress remoteAddress, System.Uri via) [0x00034] in /home/ticapix/externals/mono/mono-3.2.0/mcs/class/System.ServiceModel/System.ServiceModel.Channels/ChannelFactoryBase.cs:117
  at System.ServiceModel.Channels.SecurityChannelFactory`1[System.ServiceModel.Channels.IRequestSessionChannel].OnCreateChannel (System.ServiceModel.EndpointAddress remoteAddress, System.Uri via) [0x00000] in /home/ticapix/externals/mono/mono-3.2.0/mcs/class/System.ServiceModel/System.ServiceModel.Channels.Security/SecurityChannelFactory.cs:70
  at System.ServiceModel.Channels.ChannelFactoryBase`1[System.ServiceModel.Channels.IRequestSessionChannel].CreateChannel (System.ServiceModel.EndpointAddress remoteAddress, System.Uri via) [0x00034] in /home/ticapix/externals/mono/mono-3.2.0/mcs/class/System.ServiceModel/System.ServiceModel.Channels/ChannelFactoryBase.cs:117
  at System.ServiceModel.Channels.TransactionChannelFactory`1[System.ServiceModel.Channels.IRequestSessionChannel].OnCreateChannel (System.ServiceModel.EndpointAddress remoteAddress, System.Uri via) [0x00000] in /home/ticapix/externals/mono/mono-3.2.0/mcs/class/System.ServiceModel/System.ServiceModel.Channels/TransactionFlowBindingElement.cs:142
  at System.ServiceModel.Channels.ChannelFactoryBase`1[System.ServiceModel.Channels.IRequestSessionChannel].CreateChannel (System.ServiceModel.EndpointAddress remoteAddress, System.Uri via) [0x00034] in /home/ticapix/externals/mono/mono-3.2.0/mcs/class/System.ServiceModel/System.ServiceModel.Channels/ChannelFactoryBase.cs:117
  at at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00054] in /home/ticapix/externals/mono/mono-3.2.0/mcs/class/corlib/System.Reflection/MonoMethod.cs:230


Is this a missing implementation or a wrong usage ?

Thank you

Note You need to log in before you can comment on or make changes to this bug.