Is it possible to enumerate resources from a Session-based repository, using
MgServerResourceService.EnumerateResources() method? 

I guess not (ServerResourceService.cpp):

if (!resource->IsRepositoryTypeOf(MgRepositoryType::Library))
    {
        throw new MgInvalidRepositoryTypeException(
            L"MgServerResourceService.EnumerateResources",
            __LINE__, __WFILE__, NULL, L"", NULL);
    }

I need to enumerate available resources found within a Session, still have
no clue how to browse down the session repository. In my understanding, each
session carries actual instances of library repository definitions
(objects). So I should be able to browse them then. I guess I'm missing
something here :-)

Regards,
Maksim Sestic


-- 
View this message in context: 
http://www.nabble.com/Enumerating-resources-from-Session-repository-tf4836077s16610.html#a13835376
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to