Hi all,
I'm trying to set up a .NET webservice using in data access layer
Nhibernate (nhib 1.2.0 beta).
The first trouble I met was that a webservice cannot serialize
Interfaces, like IList<>.
After I workarounded it, now I get:
System.InvalidOperationException: There was an error generating the XML
document. ---System.InvalidOperationException:
CProxyType<<My_NamespaceNAme>><<MyclassName>>_NHib ernate_ProxyINHibernateProxy_System_Runtime_Serial izationISerializable2
cannot be serialized because it does not have a parameterless constructor.
at System.Xml.Serialization.TypeDesc.CheckSupported()
There is anyone out there using nhibernate for webservices??
Thanks.
Regards
gaddoz