Hello GeoToolers,
today I switch to the GeoTools 2.3.2 Release.
At that Moment the usage of WebMapServices failes.
The WMS I called is an UMN-Mapserver.
The WMS-Plugin calls the Capabilities and recived an Capabilities-Document of
the Version 1.1.1
When I inspect the Object I noticed that WebMapServer did not have Informations
like Image-Types.
All Layers had no Name, Title, Abstract etc.
Here is the Code that fails:
WebMapServer _wmServer = null;
try {
_wmServer = new WebMapServer(url);
} catch (Exception e) {
_wmServer = null;
log.error(e,e);
return false;
}
WMSCapabilities capabilities = _wmServer.getCapabilities();
List formats =
capabilities.getRequest().getGetMap().getFormats(); ==> This list ist Empty
Set _srs = WMSUtils.getSRSs(capabilities); ==> This Set is Empty
Layer[] _layer = WMSUtils.getNamedLayers(capabilities); ==>
Array is Empty
Has anyone an Idea how I can fix this issue?
thanks a lot
Tim
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users