public void run() {
mapObj map = new mapObj(mapName);
map.setMetaData( "ows_onlineresource", "http://dummy.org/" );
OWSRequest req = new OWSRequest();
req.setParameter( "SERVICE", "WMS" );
req.setParameter( "VERSION", "1.1.0" );
req.setParameter( "REQUEST", "GetCapabilities" );
mapscript.msIO_installStdoutToBuffer();
int owsResult = map.OWSDispatch( req );