Dear List,
(Sorry for sending this mistakenly to the geotools-devel list first,
this wasn't intended..)
I notices that with Geoserver 2.0.2 and 2.1-beta1 the WMS
GetCapabilities response contains a strange OnlineResource link, like
the OpenPlans demo server:
<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://sigma.openplans.org:80/geoserver/wms?SERVICE=WMS&"/>
</Get>
<Post>
<OnlineResource
xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
xlink:href="http://sigma.openplans.org:80/geoserver/wms?SERVICE=WMS&"/>
</Post>
</HTTP>
</DCPType>
</GetCapabilities>
Doesn't this need to be
"http://sigma.openplans.org:80/geoserver/wms?"? We noticed this as a client
couldn't connect to our services as obviously
"http://host/path?SERVICE=WMS&" returns an error.
Best regards,
Torsten
PS: I looked at OGC 01-068r3 and found an example of an getCap response (p48):
<Capability>
<Request>
<GetCapabilities>
<Format>application/vnd.ogc.wms_xml</Format>
<DCPType>
<HTTP>
<Get>
<!-- The URL here for invoking GetCapabilities using HTTP GET
is only a prefix to which a query string is appended. -->
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:type="simple"
xlink:href="http://hostname:port/path" />
</Get>
<Post>
<!-- The URL here for invoking GetCapabilities using HTTP POST
includes the complete address to which a query would be sent in
XML format. This is here for future expansion; no POST encoding
has yet been defined. -->
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:type="simple"
xlink:href="http://hostname:port/path" />
</Post>
</HTTP>
</DCPType>
</GetCapabilities>