Are you sure you are using the interop extension for this? That URL looks like ArcGIS thinks it is talking to an ArcIMS server in native mode. Perhaps you plugged your URL into the wrong place? Also, read carefully what ArcGIS says it wants in the URL parameter, it might not be a full capabilities URL, in might just be the onlineresource URL. My impression of the interop extension was that it worked, but it was brittle... they did not build a lot of padding in for people entering things not exactly as expected by the software.

P

On Apr 24, 2006, at 12:13 AM, Frank Broniewski wrote:

Hello list

I have a problem with my brand new Mapserver WMS Client. I use Arcmap
8.3 with the interoperability addon. I work on Windows XP, with the
latest mapserver,php and apache2. When I use the (not public) request


http://148.110.105.146/cgi-bin/wms.exe? SERVICE=WMS&VERSION=1.1.1&request
=getcapabilities


I get an error message from Arc that the Server is not responding:
"Unable to access Server".
In the Apache Log I can see the request Arc makes, but this one is a
little bit strange, because Arc adds something to the URL


SERVICE=WFS&VERSION=1.1.1&request=getcapabilities/servlet/ com.esri.esrim
ap.Esrimap?ServiceName=catalog


Look at the stuff after getcapabilities. Does mapserver just not work
with the interop addon or what do I have to do to make it work?

To make sure the WMS does work I tried making the requests in a browser
(firefox) and I get an xml document and my test maplayer also. I also
tried uDIG and there it works also, except the querying stuff, but that
is probably another problem. WFS querying works btw.

I would be glad about any help.

With best whishes from little Luxembourg

Frank

As Attachment below the mapfile:

MAP
        NAME "WMS/WFS"
        CONFIG PROJ_LIB "C:\mapserver\proj\nad"
        STATUS On
        SIZE 400 300
        EXTENT 28573 55710 126469 140059
        UNITS METERS
        SHAPEPATH "C:\maps"
        IMAGECOLOR 255 255 255

        WEB
                IMAGEPATH       "C:\mapserver\ms_tmp\"
                IMAGEURL        "/ms_tmp/"

                METADATA
                        "wfs_title"                             "EPC
Cultural Heritage WFS Server"
                        "wfs_onlineresource"
"http://148.110.105.146/cgi-bin/wms.exe?";
                        "wfs_srs"
"EPSG:2169 EPSG:31466"
"wfs_abstract" "This is the EPC
WFS Server: provided by MNHA, Luxembourg"

                        "wms_title"                             "EPC
Cultural Heritage WMS Server"
                        "wms_onlineresource"
"http://148.110.105.146/cgi-bin/wms.exe?";
                        "wms_srs"
"EPSG:2169 EPSG:31466"
"wms_abstract" "This is the EPC
WMS Server: provided by MNHA, Luxembourg"
                        "wms_feature_info_mime_type" "GML"

                        # epsg:2169      LUREF
                        # epsg:31466    DHDN Gauss-Kruger Zone 2
                        # epsg:16032    UTM Zone 32N (DE+LU)
                        # epsg:16031    UTM Zone 31N (LU)
                END
        END

        PROJECTION
                "init=epsg:2169"
                "towgs84=-193,-13.7,-39.9,-0.41,-2.933,2.688,0.43"
        END

        LEGEND
                IMAGECOLOR 255 255 255
                KEYSIZE 20 10

                LABEL
                        TYPE    Bitmap
                        SIZE    Medium
                        COLOR   0 0 0
                END
        END



        LAYER

                NAME "Sections"

                METADATA
                        "wms_title"
"Sections"
                        "wfs_title"
"Sections"
                        "wms_srs"
"EPSG:2169"
                        "gml_include_items"                     "all"
                END

                TYPE Polygon
                STATUS On
                DATA "luxembourg/vector/adm/sections"
                TEMPLATE "dasistegal.html"
                DUMP True

                PROJECTION
                        "init=epsg:2169"

"towgs84=-193,-13.7,-39.9,-0.41,-2.933,2.688,0.43"
                END

                CLASS
                        NAME "Sections"
                        STYLE
                                COLOR                   200 255 0
                                OUTLINECOLOR    120 120 120
                        END
                END


        END

        LAYER

                NAME "Topomap"

                METADATA
                        "wms_title"
"Topographic map"
                END

                TILEINDEX
"luxembourg\raster\ortho\ortho_index.shp"
                TILEITEM        "LOCATION"
                TYPE Raster
                STATUS On
                MAXSCALE 5000
                PROCESSING "SCALE=AUTO"

                PROJECTION
                        "init=epsg:2169"

"towgs84=-193,-13.7,-39.9,-0.41,-2.933,2.688,0.43"
                END

                CLASS
                        NAME "Topographic map"
                END

        END


END


Frank Broniewski
Musée National d'Histoire et d'Art
Section Préhistoire / Projet EPC
    Tél: +352 260 281-21
241, Rue de Luxembourg
L-8077 Bertrange

Reply via email to