I have a problem using nHibernate in my webservice.

Its first time i have used nHibernate in a Webservice but have used it in 
my ASP.NET applications for the last 4-5 years.

What i would like to do is have some of the functions in my ASP.NET 
application be available though a webservice.
I have made som DataTransferObjects because i dont need all the data for 
the objects going though the webservice.

When i try to get some data though the DAL (which works fine in the ASP.NET 
application) then i get an error that the session (gues its the nHibernate 
session) is not initialized???

Do i have to do something speciel with the nHibernate session to get it to 
work though a webservice that i do not need in a ASP.NET aplication.

Hobe some one can help me.

Regards,
Jacob

Reply via email to