Map object in sessioned WCF service issues

Topics: General Topics
Aug 29, 2006 at 6:04 PM
I'm writing a web service which is essentially a glorified WMS (but more specific to my needs). The SharpMap object is stored in the service's session. A series of calls to .GetMap() will eventually hang - not the service - but the client. The service looks something like this:

zoomIn()
zoomOut()
getCurrentMapImage()

getCurrentMapImage() calls Map.GetMap() and returns the byte array for the image. This service as a classic ASMX web service works w/o a hitch. But as a WCF service two or more calls to getCurrentMapImage() times out the client.

Is there anything special in GetMap() that could be causing this? Perhaps something specific to the System.Web namespace where it would be fine in ASMX but not WCF?

Thanks for any help.
-Abe