hey uwe,
das hört sich ja ganz gut an. Wenn ich layer preview (jpeg) mache in geoserver dann erscheint in der browseradressleiste:
http://192.168.2.108:8080/geoserver/Projekt1/wms?service=WMS&version=1.1.0&request=GetMap&layers=Projekt1:4231_40_modifiziert&styles=&bbox=25598.196,19600.44,27203.481,21998.028&width=342&height=512&srs=EPSG:3068&format=image/jpegdaraus habe ich ein capabilies request gezimmert, der schaut dann so aus: 192.168.2.108:8080/geoserver/Projekt1/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1
gebe ich den capabilities request im browser ein dann erscheint folgendes: es öffnet sich ein fenster (wms herunterladen), danach öffnet sich der internet explorer:
in der browseradresse steht der pfad der datei: C:\Users\Andreas\AppData\Local\Temp\wms-1 (kann es sein das hier der fhler liegt, da ich ja ne virtuelle maschine (mit debian) nutze und der pfad auf meiner windows plattform ist ? )
so schaut der request aus (EPSG Code drastisch gekürzt):
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE WMT_MS_Capabilities SYSTEM "http://192.168.2.108:8080/geoserver/schemas/wms/1.1.1/WMS_MS_Capabilities.dtd">
<WMT_MS_Capabilities version="1.1.1" updateSequence="163">
<Service>
<Name>OGC:WMS</Name>
<Title>GeoServer Web Map Service</Title>
<Abstract>A compliant implementation of WMS plus most of the SLD extension (dynamic styling). Can also generate PDF, SVG, KML, GeoRSS</Abstract>
<KeywordList>
<Keyword>WFS</Keyword>
<Keyword>WMS</Keyword>
<Keyword>GEOSERVER</Keyword>
</KeywordList>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://geoserver.sourceforge.net/html/index.php"/>
<ContactInformation>
<ContactPersonPrimary>
<ContactPerson>Andreas Nahser</ContactPerson>
<ContactOrganization>BHT</ContactOrganization>
</ContactPersonPrimary>
<ContactPosition>Student</ContactPosition>
<ContactAddress>
<AddressType>Education</AddressType>
<Address/>
<City>Berlin</City>
<StateOrProvince/>
<PostCode/>
<Country>Germany</Country>
</ContactAddress>
<ContactVoiceTelephone/>
<ContactFacsimileTelephone/>
<ContactElectronicMailAddress>andreasnahser@gmx.de</ContactElectronicMailAddress>
</ContactInformation>
<Fees>NONE</Fees>
<AccessConstraints>NONE</AccessConstraints>
</Service>
<Capability>
<Request>
<GetCapabilities>
<Format>application/vnd.ogc.wms_xml</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://192.168.2.108:8080/geoserver/Projekt1/wms?SERVICE=WMS&"/>
</Get>
<Post>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://192.168.2.108:8080/geoserver/Projekt1/wms?SERVICE=WMS&"/>
</Post>
</HTTP>
</DCPType>
</GetCapabilities>
<GetMap>
<Format>image/png</Format>
<Format>application/atom xml</Format>
<Format>application/atom+xml</Format>
<Format>application/openlayers</Format>
<Format>application/pdf</Format>
<Format>application/rss xml</Format>
<Format>application/rss+xml</Format>
<Format>application/vnd.google-earth.kml</Format>
<Format>application/vnd.google-earth.kml xml</Format>
<Format>application/vnd.google-earth.kml+xml</Format>
<Format>application/vnd.google-earth.kmz</Format>
<Format>application/vnd.google-earth.kmz xml</Format>
<Format>application/vnd.google-earth.kmz+xml</Format>
<Format>atom</Format>
<Format>image/geotiff</Format>
<Format>image/geotiff8</Format>
<Format>image/gif</Format>
<Format>image/jpeg</Format>
<Format>image/png8</Format>
<Format>image/svg</Format>
<Format>image/svg xml</Format>
<Format>image/svg+xml</Format>
<Format>image/tiff</Format>
<Format>image/tiff8</Format>
<Format>kml</Format>
<Format>kmz</Format>
<Format>openlayers</Format>
<Format>rss</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://192.168.2.108:8080/geoserver/Projekt1/wms?SERVICE=WMS&"/>
</Get>
</HTTP>
</DCPType>
</GetMap>
<GetFeatureInfo>
<Format>text/plain</Format>
<Format>application/vnd.ogc.gml</Format>
<Format>text/html</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://192.168.2.108:8080/geoserver/Projekt1/wms?SERVICE=WMS&"/>
</Get>
<Post>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://192.168.2.108:8080/geoserver/Projekt1/wms?SERVICE=WMS&"/>
</Post>
</HTTP>
</DCPType>
</GetFeatureInfo>
<DescribeLayer>
<Format>application/vnd.ogc.wms_xml</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://192.168.2.108:8080/geoserver/Projekt1/wms?SERVICE=WMS&"/>
</Get>
</HTTP>
</DCPType>
</DescribeLayer>
<GetLegendGraphic>
<Format>image/png</Format>
<Format>image/jpeg</Format>
<Format>image/gif</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://192.168.2.108:8080/geoserver/Projekt1/wms?SERVICE=WMS&"/>
</Get>
</HTTP>
</DCPType>
</GetLegendGraphic>
<GetStyles>
<Format>application/vnd.ogc.sld+xml</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://192.168.2.108:8080/geoserver/Projekt1/wms?SERVICE=WMS&"/>
</Get>
</HTTP>
</DCPType>
</GetStyles>
</Request>
<Exception>
<Format>application/vnd.ogc.se_xml</Format>
<Format>application/vnd.ogc.se_inimage</Format>
</Exception>
<UserDefinedSymbolization SupportSLD="1" UserLayer="1" UserStyle="1" RemoteWFS="1"/>
<Layer>
<Title>GeoServer Web Map Service</Title>
<Abstract>A compliant implementation of WMS plus most of the SLD extension (dynamic styling). Can also generate PDF, SVG, KML, GeoRSS</Abstract>
<!--All supported EPSG projections:-->
<SRS>EPSG:26905</SRS>
<SRS>EPSG:26906</SRS>
<SRS>EPSG:26907</SRS>
<SRS>EPSG:26908</SRS>
<SRS>EPSG:42306</SRS>
<SRS>EPSG:42101</SRS>
<SRS>EPSG:42305</SRS>
<SRS>EPSG:42304</SRS>
<SRS>EPSG:42303</SRS>
<LatLonBoundingBox minx="13.413" miny="52.503" maxx="13.437" maxy="52.525"/>
<Layer queryable="1">
<Name>Projekt1:4231_40_modifiziert</Name>
<Title>4231_40_modifiziert</Title>
<Abstract/>
<KeywordList>
<Keyword>WCS</Keyword>
<Keyword>GeoTIFF</Keyword>
<Keyword>4231_40_modifiziert</Keyword>
</KeywordList>
<SRS>EPSG:3068</SRS>
<!--WKT definition of this CRS:
PROJCS["DHDN / Soldner Berlin",
GEOGCS["DHDN",
DATUM["Deutsches Hauptdreiecksnetz",
SPHEROID["Bessel 1841", 6377397.155, 299.1528128, AUTHORITY["EPSG","7004"]],
TOWGS84[612.4, 77.0, 440.2, -0.054, 0.057, -2.797, 2.55],
AUTHORITY["EPSG","6314"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4314"]],
PROJECTION["Cassini_Soldner", AUTHORITY["EPSG","9806"]],
PARAMETER["central_meridian", 13.627203666666668],
PARAMETER["latitude_of_origin", 52.418648277777784],
PARAMETER["scale_factor", 1.0],
PARAMETER["false_easting", 40000.0],
PARAMETER["false_northing", 10000.0],
UNIT["m", 1.0],
AXIS["Easting", EAST],
AXIS["Northing", NORTH],
AUTHORITY["EPSG","3068"]]-->
<LatLonBoundingBox minx="13.413" miny="52.503" maxx="13.437" maxy="52.525"/>
<BoundingBox SRS="EPSG:3068" minx="25598.196" miny="19600.44" maxx="27203.481" maxy="21998.028"/>
<Style>
<Name>raster</Name>
<Title>Default Raster</Title>
<Abstract>A sample style that draws a raster, good for displaying imagery</Abstract>
<LegendURL width="20" height="20">
<Format>image/png</Format>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://192.168.2.108:8080/geoserver/Projekt1/wms?request=GetLegendGraphic&format=image%2Fpng&width=20&height=20&layer=4231_40_modifiziert"/>
</LegendURL>
</Style>
</Layer>
</Layer>
</Capability>
</WMT_MS_Capabilities>
Mapbender: zum capabilites hochladen gehe ich auf admin2_de --> capabilities hochladen --> hier wähle ich ne gui z.B. admin1 --> Capabilities request (192.168.2.108:8080/geoserver/Projekt1/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1)
nach einiger (ca. 40 sec.) erscheint folgende meldung:
file:
http://192.168.2.108:8080/geoserver/Projekt1/wms?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.1.1 (sieht genauso wie der capabilities request aus)
leider (oder zum Glück ?) kommt keine Fehlermeldung