Error WFS (mapserver) y Mapinfo 8.0

Fernando Luyo fluyoz at HOTMAIL.COM
Fri Jul 7 13:47:08 EDT 2006


HI
When from Mapinfo 8, I want to open a service WFS (using to mapserver) leaves the following error: 

---------------------------
MapInfo
---------------------------
The WFS Server returned data which was neither in the requested format nor a recognized WFS service exception:
POST body is short


In response to a DescribeFeatureType request, the WFS Server returned an invalid feature type.
---------------------------
Aceptar   
---------------------------

mapfile that uses the service wfs (using to mapserver) is: 

*********************************************************************
MAP
 NAME WFS_server_Sbn
  STATUS ON
  SIZE 600 420 
  SYMBOLSET "symbols/symbol.sym" #../etc/symbols.sym
  EXTENT -293181.4714 7921617.1938 1319223.322 10052167.8914
  UNITS METERS  
  IMAGECOLOR 160 200 255
  FONTSET "fonts/fonts.list" #../etc/fonts.txt
 CONFIG "PROJ_LIB" "C:/MapServer/proj/nad/"
 
  WEB
    IMAGEPATH "/tmp/" #"/ms4w/tmp/ms_tmp/" 
    IMAGEURL "http://192.168.1.199/wfs_sbn/tmp/"
    METADATA
      "wfs_title"            "MapSBN WFS Servidor de Mapas SINABIP"  ## REQUIRED
   "wfs_Abstract"      "Servidor WFS de la SBN - Prueba desarrollada por Fernando Luyo - Jul 2006"
      #"wfs_onlineresource"   "http://192.168.1.199/cgi-bin/Ms4w/mapserv.exe?map=C:\Archivos de programa\Apache Group\Apache2\htdocs\WFS_SBN\WFS_sbn_01.map&mode=map" 
   "wfs_onlineresource"   "http://192.168.1.199/cgi-bin/Ms4w/mapserv.exe?"
      "wfs_srs"               "EPSG:24878 EPSG:4269 EPSG:4326"  ## Recommended
      #"ows_schemas_location" "http://ogc.dmsolutions.ca"  ## Optional
   END
 END

 PROJECTION
    "init=epsg:24878"
 END

 LAYER
    NAME "Departamento"
    METADATA
   "wfs_title" "Limites Departamentales del Perú"
      "gml_include_items" "all"  ## Optional (serves all attributes for layer)
    END
    TYPE POLYGON
    STATUS ON
   DATA "geo_poligono from (select oid,col_localidad,dsc_localidad,geo_poligono from r_localidad where ent_tipo_localidad='1') as foo " #departamentos
    CONNECTION "user=postgres password=password dbname=MapasOracle host=oracle port=5432"
    CONNECTIONTYPE postgis
    DUMP TRUE           ## REQUIRED  
    CLASS
      NAME "Peru"
     STYLE
      COLOR        200 255 0 
       OUTLINECOLOR  120 120 120
      END
     #TEMPLATE "Prueba_Template.html"
   END
  END # Layer 
END # Map File

*********************************************************************

The data this stored in PostGIS 

Some recommendation? 

greetings 

Fernando Luyo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060707/162961e4/attachment.html


More information about the mapserver-users mailing list