Ede,
Let me try to summarize :
- the user connects to https://idt2...
- the server responds : getMap service is at http://idt2...
- openjump asks the user : indeed, the service is not at https://idt2...
but at http://idt2, do you want to use this later url ?
yes -> fails to connect to the service because http://idt2 adress
returns a redirection code
no -> succeeds as openjump then uses the first https://idt url
which, indeed, is the final one for the getMap service
I think we can just be more explicit in the question in case of url
difference. Something like :
- You connected to XXX, but according to the server, GetMap service is
at YYY.
Do you want to connect to YYY ?
1 - yes, connect to YYY
2 - no, I know the service is at YYY
3 - abandon
(but it just helps for this case, it does not solve the redirection
problem in any situation)
To be more complete we would have to catch the redirection response and
open a new dialog :
URL YYY redirects to ZZZ : do you want to follow the redirection ?
My 2 cents
Michaël
Le 01/01/2020 à 13:29, edgar.sol...@web.de a écrit :
further research seems to indicate that
1. the WMS server does not advertise a _https_ but a plain _http_ url
2. trying to connect to it reveals that this url redirects via status 302
(temporarily moved) to the _https_
location again
3. this probably fails because of
https://stackoverflow.com/questions/1884230/httpurlconnection-doesnt-follow-redirect-from-http-to-https
suggestions? ..ede
On 31.12.2019 12:24, ede wrote:
On 31.12.2019 12:06, edgar.sol...@web.de wrote:
1. When adding the WM layer URL
(https://idt2-geoserver.regione.veneto.it/geoserver/ows) the server answer (IMG
WMS1): /The WMS advertises the URL
https://idt2-geoserver.regione.veneto.it/geoserver/ows?SERVICE=WMShttps://idt2-geoserver.regione.veneto.it/geoserver/ows?SERVICE=WMS
as GetMap-URL. Do you want to use it?/
seems like the url is identical apart from the query string, so it
might be a bug on our side.
replying to myself here. tried it and indeed we end up with a WMS layer Url (right click
"Edit WMS Query") that ends with a question mark, which shouldn't be there but
not a problem as well. removing that, reconnect and all is well.
will have a look.. ede
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*[bugs:#489] <https://sourceforge.net/p/jump-pilot/bugs/489/> Veneto Region
(Italy) WMS sevice does not work on OpenJump*
*Status:* open
*Labels:* WMS
*Created:* Wed Dec 11, 2019 04:04 PM UTC by Roberto Rossi
*Last Updated:* Mon Dec 30, 2019 12:08 PM UTC
*Owner:* nobody
*Attachments:*
* WMS1.jpg
<https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS1.jpg> (72.1 kB;
image/jpeg)
* WMS2.jpg
<https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS2.jpg> (143.6 kB;
image/jpeg)
* WMS3.jpg
<https://sourceforge.net/p/jump-pilot/bugs/489/attachment/WMS3.jpg> (27.9 kB;
image/jpeg)
The Veneto Region (Italy) WMS sevice does not work on OpenJump.
1. When adding the WM layer URL
(https://idt2-geoserver.regione.veneto.it/geoserver/ows) the server answer (IMG
WMS1): /The WMS advertises the URL
<https://idt2-geoserver.regione.veneto.it/geoserver/ows?SERVICE=WMS>https://idt2-geoserver.regione.veneto.it/geoserver/ows?SERVICE=WMS
as GetMap-URL. Do you want to use it?/
2. then the open window correctly shows the /Available layers/ list (IMG WMS2)
3. finally it adds the layer in the Working Category, but the map i s empty,
and in the status bar the message/No description was provided/ appears
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/jump-pilot/bugs/489/
To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel