re[mapguide-users] sourceservice.resourceexist

Zac Spitzer zac.spitzer at gmail.com
Tue Aug 5 06:30:48 EDT 2008


http://trac.osgeo.org/mapguide/ticket/288

On Tue, Aug 5, 2008 at 8:11 PM, David Hequet <david.hequet at free.fr> wrote:
>
> Hi,
>
> I'm using MapGuide 2.0.1 with C#.
> The Api method ResourceExist return a "not yet implemented" error.
>
> So i made my own "resourcexist", method using
> ResourceService.GetResourceContent(resId) with an error handling.
> like this:
>
> try
>   resourceService.getResourcecontent(resid)
>   return true
> catch
>   return false
>
> It works but i think it's not good for server's health to provoc errors (as
> they are logged, it fill up the log..). Do you have a better idea about
> making a resourceExist method?
>
> Thank you,
> David
> --
> View this message in context: http://www.nabble.com/resourceservice.resourceexist-tp18828199p18828199.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168


More information about the mapguide-users mailing list