• No replies
238 Posts

Pinned topic OrcMon API giving error 'failed to lazily initialize a collection of role:'

‏2011-02-24T15:44:47Z |
Hi all,
I am attempting to use the API to iterate over each project, configuration, orchestration, and job to build a list of failed jobs for a plugin to our custom monitoring application.  I am able to retrieve all projects deployed to the appliance using deployment.getAllProjects, however, when I call orcmon.searchJobs, I am getting this error:
 failed to lazily initialize a collection of role:, no session or session was closed
I am using .NET WCF Client proxy to make the request but am getting the same error making the request through soapUI.
Will Graham