Webservice -error

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

Webservice -error

Postby vijaya » Wed Sep 09, 2015 3:52 am

Hi All,

I have written custom webservice . I have generated the client using the wsdl from the service.
I observe below error, when I invoke the service.

2015-09-09 08:20:34,336: ERROR [http-8080-1] org.hibernate.LazyInitializationExce
ption - failed to lazily initialize a collection of role: Mailing.mediatypes, no
session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collecti
on of role: Mailing.mediatypes, no session or session was closed
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitial
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitial
at org.hibernate.collection.AbstractPersistentCollection.readSize(Abstrac
at org.hibernate.collection.PersistentMap.size(PersistentMap.java:114)
at org.agnitas.dao.impl.MailingDaoImpl.getMailing(MailingDaoImpl.java:130
at org.agnitas.custom.EmmWebservice.loadTemplate(EmmWebservice.java:197)

Posts: 28
Joined: Wed May 13, 2015 9:04 am

Return to Development

Who is online

Users browsing this forum: No registered users and 0 guests