Marco, I had the same problem and ended up implementing a class that inherits from WMS that overrides WMS.getURL method. I'm not sure if it's really necessary to inherit from WMS, but I got it to work more easily than inheriting from Grid. WMS inherits from Grid which inherits from HTTPRequest; maybe Grid has enough for you. Joost Molenaar