Technically that means the server you are connecting to is not a WMS as the
spec allows for any casing of the keys (though interestingly not the
values), section 6.8.1. So please raise it as a bug with them about this.

On a more helpful note, yes GeoTools does use uppercase for key values but
it would be a relatively easy thing to change in
org.geotools.data.ows.AbstractRequest.setProperty.  So it is worth raising
a FeatureRequest
<http://docs.geoserver.org/stable/en/user/introduction/gettinginvolved.html#suggest-improvements>
or
if this is urgent consider sponsoring the work.

Ian

On 31 July 2017 at 08:23, Duncan Sayers <duncansay...@twosixsouth.net>
wrote:

> Hi all,
>
> I'm trying to setup geoserver (2.11.1) to cascade a remote WMS. When I
> attempt this I get an error:
>
> Connection test failed: Server returned HTTP response code: 401 for URL:
> https://xxxx/wms?REQUEST=GetCapabilities&SERVICE=WMS....etc.
>
> Turns out that the server I'm connecting to insists on lower case
> parameter names in the URL. I setup the Capabilities URL in the Connection
> Info configuration to use a URL with lower case parameter names. However
> the Connection test error (above) displays uppercase for all parameter
> names i.e. request=GetCapabilities gets shifted to REQUEST=GetCapabilities,
> which then gets rejected by the other end.
>
> The long and the short of it...Is it true that geoserver makes uppercase
> the parameter names? If so, is it configurable not to do so?
>
> Cheers,
>
> Duncan
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/comm/
> userlist-guidelines.html
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>


-- 
Ian Turton
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to