Select to view content in your preferred language

OGC WMS Service Will Not Display in ArcGIS.com viewer or Explorer.

1990
10
09-14-2011 11:15 AM
CharlesBarton
Deactivated User
Hello all,

We have successfully installed Geoserver and are now testing a couple of WMS services.  I have successfully connected to these services (two layers and a group layer) through ArcGIS Desktop with great success.  However, when I try to add the data to either Explorer or the ArcGIS.com viewer it will not display (even though it zooms to the correct extent).

ArcGIS.com map --> http://www.arcgis.com/home/webmap/viewer.html?webmap=1efcbb4d358542e6848ad3738018aea0


Our Geoserver WMS info --> http://geoserver.maurerstutzinc.com:8080/geoserver/ows?SERVICE=WMS&

Has anyone run into the same problem?  I have the group layer set up to display in Web Mercator Auxiliary Sphere so that it can display on either platform.

Any help would be appreciated and thanks in advance!
Tags (2)
0 Kudos
10 Replies
TonyContreras
Deactivated User
After investigating, I found that the map makes the following request to the WMS service:

http://geoserver.maurerstutzinc.com/geoserver/ows?SERVICE=WMS&&SERVICE=WMS&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=TRUE&STYLES=&VERSION=1.3.0&LAYERS=Hopedale&WIDTH=1034&HEIGHT=792&CRS=EPSG:3857&BBOX=-9957582.689984469,4925551.048026699,-9952642.94703141,4929334.680926913


First, it is missing the port 8080 specification and the second thing I see is that it includes an extra "SERVICE=WMS&" in the URL at the beginning of the parameters. I altered the URL and got this the request to work in a web browser:
http://geoserver.maurerstutzinc.com:8080/geoserver/ows?&SERVICE=WMS&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=TRUE&STYLES=&VERSION=1.3.0&LAYERS=Hopedale&WIDTH=1034&HEIGHT=792&CRS=EPSG:3857&BBOX=-9957582.689984469,4925551.048026699,-9952642.94703141,4929334.680926913


I used this URL
http://geoserver.maurerstutzinc.com:8080/geoserver/ows?

and it is still stripping the port number from all map requests, but uses the proper URL for a GetCapabilities request when selecting the Description option from its context menu.

Seems like a bug with how the URL is used to generate getMap requests and should be logged through ESRI Support. You could try the Contact Us link, however that may not get to the correct people.
0 Kudos
MikeMinami
Esri Notable Contributor
I can reproduce the issue. We're investigating the problem.

Thanks,

Mike
0 Kudos
CharlesBarton
Deactivated User
Mike and Tony,

Thanks to the both of you for looking into this!

Sincerely,
Trip Barton
0 Kudos
CharlesBarton
Deactivated User
Mike and Tony,

We were able to reconfigure the Geoserver requests to use Port 80 (rather than the default Port 8080 setup) and now everything appears to be working well (I can now see the newly added service on ArcGIS.com with the following URL --> http://geoserver.maurerstutzinc.com/geoserver/ows?).

Please let us know if there needs to be anything done on our end to help you figure out the port stripping problem.

Thanks!
Trip Barton
0 Kudos
GarethEvans
Emerging Contributor
We are just going through the same pain. Having successfully installed Geoserver to serve data to ArcGIS Online, the Sharepoint plug-in and ArcGIS Explorer, I find that I can't see the services in any of these.
http://geoserver.ecsecc.org:8083/geoserver/wms
It would be really great to be able to make full use of these tools so I would add my voice to the requests to have this fixed.
0 Kudos
MikeMinami
Esri Notable Contributor
Gareth,

I can't seem to connect to your service at all...is it secured or something?

If either of you can expose the service so we can test out the port number problem, that would be help us.

Thanks,

Mike
0 Kudos
GarethEvans
Emerging Contributor
Hi Mike
We took the server down to re-route ports to try the port 80 work-around. It seems to have set us back further.
I have successfully connected to the new service using ArcView on URL: http://geoserver.ecsecc.org/geoserver/topp/wms?

On Google Earth on URL: http://geoserver.ecsecc.org/geoserver/wms/kml?layers=topp:states

which then gets the service under URL: http://geoserver.ecsecc.org:80/geoserver/wms?height=1024&width=1024&layers=topp:states&request=GetMa...

On QGIS on URL: http://geoserver.ecsecc.org/geoserver/topp/wms?

Please try these and let me know how you go.
Let us know if there is anything you want us to try or any settings we should change as we really want to use these services in the Arc products (ArcOnline, Sharepoint, Explorer).

cheers
Gareth
0 Kudos
MikeMinami
Esri Notable Contributor
Gareth,

I still can't access your WMS. I'm trying to get the capabilities and make sure that the GetMap tag has the proper URL that includes the port number.

[HTML]http://geoserver.ecsecc.org:80/geoserver/topp/wms?SERVICE=WMS&REQUEST=GetCapabilities[/HTML]

Perhaps you can provide the proper URL or check the GetMap tag.

Thanks,

Mike
0 Kudos
GarethEvans
Emerging Contributor
Service is working fine now after playing around with proxies and changing to port 80.

See: http://geoserver.ecsecc.org/geoserver/wms

However it still doesn't work in the Sharepoint Plug-in?? I can create the ArcGIS.com map, but on viewing in Sharepoint, there is no data shown on the map.
0 Kudos