wfs server problem

Mehdi Kiman oubinny at HOTMAIL.COM
Fri Aug 26 03:51:55 EDT 2005


Sorry, now i have the right GetCapabilities WFS response :

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <WFS_Capabilities version="1.0.0" updateSequence="0" 
xmlns="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.opengis.net/wfs 
http://schemas.opengeospatial.net/wfs/1.0.0/WFS-capabilities.xsd">
- <!--  MapServer version 4.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG 
OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE 
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER 
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=POSTGIS INPUT=OGR INPUT=GDAL 
INPUT=SHAPEFILE
  -->
- <Service>
  <Name>MapServer WFS</Name>
  <Title>WFS Pays Ne de La Mer</Title>
  
<OnlineResource>http://emir:8080/cgi-bin/myows.exe?config_wfs.map&</OnlineResource>
  </Service>
- <Capability>
- <Request>
- <GetCapabilities>
- <DCPType>
- <HTTP>
  <Get onlineResource="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&" 
/>
  </HTTP>
  </DCPType>
- <DCPType>
- <HTTP>
  <Post onlineResource="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&" 
/>
  </HTTP>
  </DCPType>
  </GetCapabilities>
- <DescribeFeatureType>
- <SchemaDescriptionLanguage>
  <XMLSCHEMA />
  </SchemaDescriptionLanguage>
- <DCPType>
- <HTTP>
  <Get onlineResource="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&" 
/>
  </HTTP>
  </DCPType>
- <DCPType>
- <HTTP>
  <Post onlineResource="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&" 
/>
  </HTTP>
  </DCPType>
  </DescribeFeatureType>
- <GetFeature>
- <ResultFormat>
  <GML2 />
  </ResultFormat>
- <DCPType>
- <HTTP>
  <Get onlineResource="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&" 
/>
  </HTTP>
  </DCPType>
- <DCPType>
- <HTTP>
  <Post onlineResource="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&" 
/>
  </HTTP>
  </DCPType>
  </GetFeature>
  </Request>
  </Capability>
- <FeatureTypeList>
- <Operations>
  <Query />
  </Operations>
- <FeatureType>
  <Name>Contours_de_communes</Name>
  <Title>Contours_de_communes</Title>
  <SRS>epsg:27582</SRS>
  <LatLongBoundingBox minx="-1.38396" miny="46.2776" maxx="-1.1549" 
maxy="46.4928" />
  </FeatureType>
- <FeatureType>
  <Name>Parcelles</Name>
  <Title>Parcelles</Title>
  <SRS>epsg:27582</SRS>
  <LatLongBoundingBox minx="-1.45418" miny="46.2674" maxx="-1.15476" 
maxy="46.4732" />
  </FeatureType>
- <FeatureType>
  <Name>Routes</Name>
  <Title>Routes</Title>
  <SRS>epsg:27582</SRS>
  <LatLongBoundingBox minx="-1.43695" miny="46.2625" maxx="-1.09479" 
maxy="46.5377" />
  </FeatureType>
- <FeatureType>
  <Name>Sections_cadastrales</Name>
  <Title>SectionsCadastrales</Title>
  <SRS>epsg:27582</SRS>
  <LatLongBoundingBox minx="-1.29993" miny="46.3063" maxx="-1.15657" 
maxy="46.4733" />
  </FeatureType>
  </FeatureTypeList>
- <ogc:Filter_Capabilities>
- <ogc:Spatial_Capabilities>
- <ogc:Spatial_Operators>
  <ogc:Intersect />
  <ogc:DWithin />
  <ogc:BBOX />
  </ogc:Spatial_Operators>
  </ogc:Spatial_Capabilities>
- <ogc:Scalar_Capabilities>
  <ogc:Logical_Operators />
- <ogc:Comparison_Operators>
  <ogc:Simple_Comparisons />
  <ogc:Like />
  <ogc:Between />
  </ogc:Comparison_Operators>
  </ogc:Scalar_Capabilities>
  </ogc:Filter_Capabilities>
  </WFS_Capabilities>

But i have errors in my GetFeature request :
http://emir:8080/cgi-bin/mywfs.exe?&SERVICE=WFS&REQUEST=getfeature&VERSION=1.0.0&TYPENAME=Routes

version="1.0" encoding="ISO-8859-1" ?>
- <wfs:FeatureCollection xmlns="http://www.ttt.org/myns" 
xmlns:myns="http://www.ttt.org/myns" xmlns:wfs="http://www.opengis.net/wfs" 
xmlns:gml="http://www.opengis.net/gml" 
xmlns:ogc="http://www.opengis.net/ogc" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.opengis.net/wfs 
http://schemas.opengeospatial.net/wfs/1.0.0/WFS-basic.xsd 
http://www.ttt.org/myns 
http://emir:8080/cgi-bin/myows.exe?config_wfs.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatureType&TYPENAME=Routes">
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>310559.988523,2147175.004190 
335547.035982,2176659.969948</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>328391.152717,2160988.975126 
330870.048750,2167145.028208</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>330870.048750,2167145.028208 330644.007160,2166700.964751 
330568.048937,2166309.946026 330678.950234,2165020.947585 
330538.032264,2164136.945099 330214.035500,2163551.619969 
330027.863385,2163201.845528 329999.565223,2163138.833427 
329829.890822,2162669.908832 329800.332419,2162608.615244 
329613.129196,2162388.760297 329546.450937,2162262.621528 
329461.785588,2162084.010865 329417.677117,2162022.946412 
329358.445743,2161948.592133 329327.397963,2161888.444219 
329291.652916,2161839.523915 329176.856326,2161766.315311 
329081.077933,2161668.474705 328952.304114,2161525.494520 
328919.308686,2161505.788918 328775.526530,2161396.720700 
328658.896860,2161307.358085 328554.525908,2161224.640382 
328469.975126,2161143.870326 328430.449354,2161110.874899 
328412.576831,2161037.551728</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>328346.471409,2160988.975126 
328391.152717,2161002.379519</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>328346.471409,2161002.379519</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>328391.152717,2159404.965488 
332910.036861,2160988.975126</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>328391.152717,2160988.975126 328480.515332,2160963.082882 
328527.373421,2160951.855271 328588.437875,2160920.234653 
328639.420393,2160882.656528 328698.422632,2160826.633042 
328762.580407,2160765.454021 328785.035629,2160736.926725 
328821.697214,2160662.572446 328872.679732,2160581.114985 
328910.257857,2160541.360078 329159.900343,2160367.217546 
329446.204414,2160199.490791 329495.010150,2160183.909617 
329657.925071,2160132.927100 329678.318078,2160119.637275 
329958.435507,2160076.903614 330171.301839,2160042.304242 
330268.111339,2160027.983310 330310.845000,2160020.880128 
330372.024021,2160032.107739 330442.253871,2160050.438532 
330492.205282,2160042.304242 330563.007969,2160004.955252 
331795.982924,2159610.041233 332170.045666,2159690.009317</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>332910.036861,2159223.948908 
333846.969511,2159492.953294</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>332910.036861,2159404.965488 
333359.943258,2159492.953294</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>333846.969511,2158741.047084 
335547.035982,2159223.948908</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>333846.969511,2159223.948908 334215.991285,2159198.973203 
335164.953518,2158773.011404</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>327565.006796,2173650.053760 
328649.960599,2176485.025444</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>327565.006796,2176485.025444</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>330009.990862,2173289.968247 
331784.984449,2174279.945629</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>331784.984449,2174279.945629 331049.003115,2173992.037614 
330494.954901,2174196.998792 330107.029497,2174234.004080 
330009.990862,2174074.984452</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>327190.027514,2173170.016121 
328649.960599,2173650.053760</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>328649.960599,2173650.053760 328202.001848,2173480.952195 
327842.030903,2173170.016121</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Sans objet</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>328649.960599,2172509.993011 
329095.055163,2173650.053760</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>328649.960599,2173650.053760</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>329095.055163,2172509.993011 
330100.040882,2173289.968247</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>330100.040882,2173289.968247 329898.974998,2173094.974438 
329533.046545,2173010.996493</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>331654.950387,2167374.965091 
331665.032323,2167724.968668</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>331665.032323,2167724.968668</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>330609.980626,2167724.968668 
331665.032323,2168655.027271</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>330609.980626,2168655.027271 331198.971914,2168350.965244 
331356.960435,2168431.964435 331600.989115,2168284.974390</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Sans objet</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>327093.905419,2168010.012497 
329710.053264,2170563.606511</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:MultiLineString srsName="epsg:27582">
- <gml:LineString>
  
<gml:coordinates>327093.905419,2170563.606511327135.035136,2170538.630805327197.245264,2170496.928252327225.543425,2170481.576213327268.620789,2170470.921439327346.182956,2170454.652860327422.255746,2170431.510234327511.847497,2170385.568685327645.891419,2170330.805441327688.968783,2170290.935967327703.404282,2170265.845694327785.090878,2170126.646236327886.253941,2169989.394424327922.915527,2169960.523425327953.963307,2169941.963497327998.988317,2169923.518137328172.443444,2169771.257989328257.337929,2169691.519040328309.809824,2169631.141991328358.959262,2169550.486502328447.176203,2169416.328012328476.390904,2169384.363692328507.896954,2169359.731689328605.852128,2169292.480593328643.888524,2169243.789424328700.484847,2169129.680239328714.347509,2169105.506505</gml:coordinates>
  </gml:LineString>
- <gml:LineString>
  
<gml:coordinates>328721.794393,2169085.571768328727.866468,2169072.969348328733.823976,2169038.255409328732.907436,2168978.336630328767.277673,2168924.146224328827.540155,2168878.662944328903.154675,2168812.328387329696.992574,2168195.955477329710.053264,2168010.012497</gml:coordinates>
  </gml:LineString>
  </gml:MultiLineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>326803.476920,2168838.106065 
327093.905419,2170563.606511</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:MultiLineString srsName="epsg:27582">
- <gml:LineString>
  
<gml:coordinates>326817.225014,2170084.829114326806.226539,2170039.574970326803.476920,2170003.486221326824.786466,2169909.999177326842.315287,2169843.320918326886.309190,2169708.933293326922.741641,2169531.697440326951.612640,2169393.529088326962.954818,2169343.233975327043.381171,2169154.770511327069.731686,2169061.856305327076.032896,2168997.698530327063.545044,2168865.831389327062.284802,2168838.106065</gml:coordinates>
  </gml:LineString>
- <gml:LineString>
  
<gml:coordinates>327093.905419,2170563.606511327072.939575,2170539.089075327049.109544,2170505.062541327041.662660,2170480.545105327032.840965,2170431.510234327019.207438,2170394.734081326978.994261,2170329.430632326961.350873,2170292.654479326838.878263,2170123.896617326822.838820,2170095.369320</gml:coordinates>
  </gml:LineString>
  </gml:MultiLineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>330354.953470,2169069.990594 
330450.044458,2169310.009413</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>330354.953470,2169310.009413</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>330450.044458,2168655.027271 
330609.980626,2169069.990594</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:MultiLineString srsName="epsg:27582">
- <gml:LineString>
  
<gml:coordinates>330450.044458,2169069.990594330575.037552,2168755.044659</gml:coordinates>
  </gml:LineString>
- <gml:LineString>
  
<gml:coordinates>330575.037552,2168755.044659330609.980626,2168655.027271</gml:coordinates>
  </gml:LineString>
  </gml:MultiLineString>
  </gml:lineStringProperty>
- <!--  WARNING: The value 'Catégorie' is not valid in a XML tag context.
  -->
  <Catégorie>Départementale</Catégorie>
  </Routes>
  </gml:featureMember>
- <gml:featureMember>
- <Routes>
- <gml:boundedBy>
- <gml:Box srsName="epsg:27582">
  <gml:coordinates>327062.284802,2168010.012497 
329710.053264,2168838.106065</gml:coordinates>
  </gml:Box>
  </gml:boundedBy>
- <gml:lineStringProperty>
- <gml:LineString srsName="epsg:27582">
  <gml:coordinates>327062.284802,2168838.106065</gml:coordinates>
  </gml:LineString>
  </gml:lineStringProperty>


>From: Bart van den Eijnden <bartvde at XS4ALL.NL>
>Reply-To: Bart van den Eijnden <bartvde at XS4ALL.NL>
>To: MAPSERVER-USERS at LISTS.UMN.EDU
>Subject: Re: [UMN_MAPSERVER-USERS] wfs server problem
>Date: Thu, 25 Aug 2005 19:45:00 +0200
>
>These are WMS Capabilities, not WFS capabilities.
>
>Add &service=WMS to your GetCapabilities URL.
>
>Bart
>
>On Thu, 25 Aug 2005 17:36:12 +0200, Mehdi Kiman <oubinny at HOTMAIL.COM>  
>wrote:
>
>>i have a TEMPLATE "ttt.html" for each layer of my MapFile, and the  
>>getCapabilities response is :
>>
>>
>><?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
>><!DOCTYPE WMT_MS_Capabilities SYSTEM  
>>"http://schemas.opengeospatial.net/wms/1.1.1/WMS_MS_Capabilities.dtd"
>>[
>><!ELEMENT VendorSpecificCapabilities EMPTY>
>>]>  <!-- end of DOCTYPE declaration -->
>>
>><WMT_MS_Capabilities version="1.1.1">
>>
>><!-- MapServer version 4.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG  
>>OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE  
>>SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER  
>>SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=POSTGIS INPUT=OGR  
>>INPUT=GDAL INPUT=SHAPEFILE -->
>>
>><Service>
>>   <Name>OGC:WMS</Name>
>>   <Title>WFS Pays Ne de La Mer</Title>
>>   <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/>
>></
>>
>>Service>
>>
>><Capability>
>>   <Request>
>>     <GetCapabilities>
>>       <Format>application/vnd.ogc.wms_xml</Format>
>>       <DCPType>
>>         <HTTP>
>>           <Get><OnlineResource  
>>xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/></Get>
>>           <Post><OnlineResource  
>>xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/></Post>
>>         </HTTP>
>>       </DCPType>
>>     </GetCapabilities>
>>     <GetMap>
>>       <Format>image/gif</Format>
>>       <Format>image/png</Format>
>>       <Format>image/jpeg</Format>
>>       <Format>image/wbmp</Format>
>>       <Format>image/tiff</Format>
>>       <DCPType>
>>         <HTTP>
>>           <Get><OnlineResource  
>>xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/></Get>
>>           <Post><OnlineResource  
>>xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/></Post>
>>         </HTTP>
>>       </DCPType>
>>     </GetMap>
>>     <GetFeatureInfo>
>>       <Format>text/plain</Format>
>>       <Format>text/html</Format>
>>       <Format>application/vnd.ogc.gml</Format>
>>       <DCPType>
>>         <HTTP>
>>           <Get><OnlineResource  
>>xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/></Get>
>>           <Post><OnlineResource  
>>xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/></Post>
>>         </HTTP>
>>       </DCPType>
>>     </GetFeatureInfo>
>>     <DescribeLayer>
>>       <Format>text/xml</Format>
>>       <DCPType>
>>         <HTTP>
>>           <Get><OnlineResource  
>>xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/></Get>
>>           <Post><OnlineResource  
>>xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/></Post>
>>         </HTTP>
>>       </DCPType>
>>     </DescribeLayer>
>>     <GetLegendGraphic>
>>       <Format>image/gif</Format>
>>       <Format>image/png</Format>
>>       <Format>image/jpeg</Format>
>>       <Format>image/wbmp</Format>
>>       <DCPType>
>>         <HTTP>
>>           <Get><OnlineResource  
>>xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/></Get>
>>           <Post><OnlineResource  
>>xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;"/></Post>
>>         </HTTP>
>>       </DCPType>
>>     </GetLegendGraphic>
>>   </Request>
>>   <Exception>
>>     <Format>application/vnd.ogc.se_xml</Format>
>>     <Format>application/vnd.ogc.se_inimage</Format>
>>     <Format>application/vnd.ogc.se_blank</Format>
>>   </Exception>
>>   <VendorSpecificCapabilities />
>>   <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1"  
>>RemoteWFS="0"/>
>>   <Layer>
>>     <Name>Pays_nee_de_la_mer</Name>
>>     <Title>WFS Pays Ne de La Mer</Title>
>>     <SRS>epsg:27582</SRS>
>>     <LatLonBoundingBox minx="-1.43695" miny="46.2625" maxx="-1.09479"  
>>maxy="46.5377" />
>>     <BoundingBox SRS="EPSG:27582"
>>                 minx="310560" miny="2.14718e+006" maxx="335547"  
>>maxy="2.17666e+006" />
>>     <Layer queryable="0" opaque="0" cascaded="0">
>>         <Name>BD_ortho</Name>
>>         <Title>BD_ortho</Title>
>>         <SRS>epsg:27582</SRS>
>>         <Style>
>>           <Name>default</Name>
>>           <Title>default</Title>
>>           <LegendURL width="18" height="12">
>>              <Format>image/png</Format>
>>              <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:type="simple"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=BD_ortho&amp;format=image/png"/>
>>           </LegendURL>
>>         </Style>
>>     </Layer>
>>     <Layer queryable="1" opaque="0" cascaded="0">
>>         <Name>Contours_de_communes</Name>
>>         <Title>Contours_de_communes</Title>
>>         <SRS>epsg:27582</SRS>
>>         <LatLonBoundingBox minx="-1.38396" miny="46.2776" maxx="-1.1549"  
>>maxy="46.4928" />
>>         <BoundingBox SRS="EPSG:27582"
>>                     minx="314402" miny="2.14868e+006" maxx="330976"  
>>maxy="2.17185e+006" />
>>         <Style>
>>           <Name>default</Name>
>>           <Title>default</Title>
>>           <LegendURL width="18" height="12">
>>              <Format>image/png</Format>
>>              <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:type="simple"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=Contours_de_communes&amp;format=image/png"/>
>>           </LegendURL>
>>         </Style>
>>     </Layer>
>>     <Layer queryable="1" opaque="0" cascaded="0">
>>         <Name>Parcelles</Name>
>>         <Title>Parcelles</Title>
>>         <SRS>epsg:27582</SRS>
>>         <LatLonBoundingBox minx="-1.45418" miny="46.2674"  
>>maxx="-1.15476" maxy="46.4732" />
>>         <BoundingBox SRS="EPSG:27582"
>>                     minx="308900" miny="2.1478e+006" maxx="330948"  
>>maxy="2.16968e+006" />
>>         <Style>
>>           <Name>default</Name>
>>           <Title>default</Title>
>>           <LegendURL width="18" height="12">
>>              <Format>image/png</Format>
>>              <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:type="simple"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=Parcelles&amp;format=image/png"/>
>>           </LegendURL>
>>         </Style>
>>     </Layer>
>>     <Layer queryable="1" opaque="0" cascaded="0">
>>         <Name>Routes</Name>
>>         <Title>Routes</Title>
>>         <SRS>epsg:27582</SRS>
>>         <LatLonBoundingBox minx="-1.43695" miny="46.2625"  
>>maxx="-1.09479" maxy="46.5377" />
>>         <BoundingBox SRS="EPSG:27582"
>>                     minx="310560" miny="2.14718e+006" maxx="335547"  
>>maxy="2.17666e+006" />
>>         <Style>
>>           <Name>default</Name>
>>           <Title>default</Title>
>>           <LegendURL width="18" height="12">
>>              <Format>image/png</Format>
>>              <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:type="simple"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=Routes&amp;format=image/png"/>
>>           </LegendURL>
>>         </Style>
>>     </Layer>
>>     <Layer queryable="1" opaque="0" cascaded="0">
>>         <Name>Sections_cadastrales</Name>
>>         <Title>SectionsCadastrales</Title>
>>         <SRS>epsg:27582</SRS>
>>         <LatLonBoundingBox minx="-1.29993" miny="46.3063"  
>>maxx="-1.15657" maxy="46.4733" />
>>         <BoundingBox SRS="EPSG:27582"
>>                     minx="320761" miny="2.15157e+006" maxx="330976"  
>>maxy="2.16969e+006" />
>>         <Style>
>>           <Name>default</Name>
>>           <Title>default</Title>
>>           <LegendURL width="18" height="12">
>>              <Format>image/png</Format>
>>              <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"  
>>xlink:type="simple"  
>>xlink:href="http://emir:8080/cgi-bin/myows.exe?config_wfs.map&amp;version=1.1.1&amp;service=WMS&amp;request=GetLegendGraphic&amp;layer=Sections_cadastrales&amp;format=image/png"/>
>>           </LegendURL>
>>         </Style>
>>     </Layer>
>>   </Layer>
>></Capability>
>></WMT_MS_Capabilities>
>>
>>
>>
>>>From: "Bart van den Eijnden" <BEN at Syncera-ITSolutions.NL>
>>>To: <oubinny at HOTMAIL.COM>,<MAPSERVER-USERS at LISTS.UMN.EDU>
>>>Subject: Re: [UMN_MAPSERVER-USERS] wfs server problem
>>>Date: Thu, 25 Aug 2005 17:17:25 +0200
>>>
>>>Is this typename in your WFS GetCapabilities response (can you post it  
>>>to the list)?
>>>
>>>Try also adding TEMPLATE "blank.html" to your LAYER.
>>>
>>>Best regards,
>>>Bart
>>>
>>>Bart van den Eijnden
>>>Syncera IT Solutions
>>>Postbus 270
>>>2600 AG  DELFT
>>>
>>>tel.nr.: 015-7512436
>>>email: BEN at Syncera-ITSolutions.nl
>>>
>>> >>> Mehdi Kiman <oubinny at HOTMAIL.COM> 08/25/05 5:14 pm >>>
>>>Sorry i do that but i have always the same problem
>>>
>>> >From: "Bart van den Eijnden" <BEN at Syncera-ITSolutions.NL>
>>> >To: <oubinny at hotmail.com>
>>> >CC: <MAPSERVER-USERS at LISTS.UMN.EDU>
>>> >Subject: Re: [UMN_MAPSERVER-USERS] wfs server problem
>>> >Date: Thu, 25 Aug 2005 17:07:05 +0200
>>> >
>>> >You should add DUMP TRUE to your LAYER.
>>> >
>>> >Best regards,
>>> >Bart
>>> >
>>> >Bart van den Eijnden
>>> >Syncera IT Solutions
>>> >Postbus 270
>>> >2600 AG  DELFT
>>> >
>>> >tel.nr.: 015-7512436
>>> >email: BEN at Syncera-ITSolutions.nl
>>> >
>>> > >>> "Mehdi Kiman" <oubinny at hotmail.com> 08/25/05 5:04 pm >>>
>>> >Now getCapabilities is ok. But when i make a
>>> >http://emir:8080/cgi-bin/mywfs.exe?&SERVICE=WFS&REQUEST=getfeature&VERSION=1.0.0&TYPENAME=Parcelles
>>> >
>>> >The WFS server output is
>>> ><ServiceException>msWFSGetFeature(): WFS server error. TYPENAME  
>>>'Parcelles'
>>> >doesn't exist in this server. Please check the capabilities and  
>>>reformulate
>>> >your request.</ServiceException>
>>> >
>>> >I'm so surprised beacause my getCapabilities return is correct.
>>> >
>>> > >From: "Bart van den Eijnden" <BEN at Syncera-ITSolutions.NL>
>>> > >To: <oubinny at HOTMAIL.COM>
>>> > >CC: <MAPSERVER-USERS at LISTS.UMN.EDU>
>>> > >Subject: Re: [UMN_MAPSERVER-USERS] wfs server problem
>>> > >Date: Thu, 25 Aug 2005 16:53:08 +0200
>>> > >
>>> > >Yes, the same MAP file can serve both WMS and WFS.
>>> > >
>>> > >Bart
>>> > >
>>> > >Bart van den Eijnden
>>> > >Syncera IT Solutions
>>> > >Postbus 270
>>> > >2600 AG  DELFT
>>> > >
>>> > >tel.nr.: 015-7512436
>>> > >email: BEN at Syncera-ITSolutions.nl
>>> > >
>>> > > >>> Mehdi Kiman <oubinny at HOTMAIL.COM> 08/25/05 4:51 pm >>>
>>> > >I can have the same MapFile for using both WFS and WFS serveur ?
>>> > >
>>> > >
>>> > >
>>> > >
>>> > > >From: "Bart van den Eijnden" <BEN at Syncera-ITSolutions.NL>
>>> > > >To: <oubinny at HOTMAIL.COM>,<MAPSERVER-USERS at LISTS.UMN.EDU>
>>> > > >Subject: Re: [UMN_MAPSERVER-USERS] wfs server problem
>>> > > >Date: Thu, 25 Aug 2005 16:34:53 +0200
>>> > > >
>>> > > >When you are doing a GetCapabilities, what is your URL?
>>> > > >
>>> > > >Do you add &service=WFS&request=GetCapabilities&version=1.0.0
>>> > > >?
>>> > > >
>>> > > >otherwise probably the default is the WMS capabilities and you miss
>>> > > >"wms_title" METADATA for that. If you want to be shorter, use the  
>>>more
>>> > > >general ows_title and leave out wfs_title and wms_title.
>>> > > >
>>> > > >Best regards,
>>> > > >Bart
>>> > > >
>>> > > >Bart van den Eijnden
>>> > > >Syncera IT Solutions
>>> > > >Postbus 270
>>> > > >2600 AG  DELFT
>>> > > >
>>> > > >tel.nr.: 015-7512436
>>> > > >email: BEN at Syncera-ITSolutions.nl
>>> > > >
>>> > > > >>> Mehdi Kiman <oubinny at HOTMAIL.COM> 08/25/05 4:29 pm >>>
>>> > > >Hi,
>>> > > >
>>> > > >I have a problem with my WFS server, i tried to configure it.
>>> > > >My MapFile is correct :
>>> > > >MAP
>>> > > >NAME "Pays_nee_de_la_mer"
>>> > > >DEBUG on
>>> > > >SIZE 600 400
>>> > > >STATUS ON
>>> > > >
>>> > > >EXTENT 310559.98 2147175.0 335547.03 2176659.97
>>> > > >FONTSET "../data/fonts.txt"
>>> > > >UNITS METERS
>>> > > >SHAPEPATH "../data/data_map/"
>>> > > >
>>> > > >WEB
>>> > > >   IMAGEPATH 'C:/tmp/ms_tmp/'
>>> > > >   IMAGEURL  '/ms_tmp/'
>>> > > >   METADATA
>>> > > >       "wfs_title"                  "wfs Pays Ne de La Mer"
>>> > > >       "wfs_onlineresource"
>>> > > >"http://emir:8080/cgi-bin/mywfs.exe?config_wfs.map&"
>>> > > >       "wfs_srs"                   "epsg:27582"
>>> > > >       "wfs_feature_info_mime_type" "text/html"
>>> > > >    END
>>> > > >END
>>> > > >
>>> > > >LAYER
>>> > > >     CONNECTIONTYPE OGR
>>> > > >     CONNECTION "../data/data_map/Parcelles.TAB"
>>> > > >
>>> > > >	NAME "Parcelles"
>>> > > >
>>> > > >	TYPE POLYGON
>>> > > >	STATUS ON
>>> > > >	#STYLEITEM "AUTO"
>>> > > >
>>> > > >	CLASS
>>> > > >		NAME "Parcelles"
>>> > > >		TEMPLATE "ttt.html"
>>> > > >		STYLE
>>> > > >		COLOR 255 255 0
>>> > > >		OUTLINECOLOR 0 0 2
>>> > > >		END
>>> > > >	END
>>> > > >	METADATA
>>> > > >	"wfs_title" "Parcelles"
>>> > > >	"wfs_srs"   "epsg:27582"
>>> > > >	END
>>> > > >	PROJECTION
>>> > > >    "init=epsg:27582"
>>> > > >	END
>>> > > >END
>>> > > >
>>> > > >And when i make a GetCapabilities, i have this kind of error for  
>>>each
>>> > >layer
>>> > > >   :
>>> > > >
>>> > > ><!-- WARNING: Mandatory metadata '..._title' was missing in this
>>> >context.
>>> > > >-->
>>> > > >
>>> > > >What's wrong with my server ?
>>> > > >
>>> > > >
>>> > > >Thanks
>>> > > >Mehdi
>>> > > >
>>> > >
>>> >
>>> >
>>> >
>>
>
>
>
>--
>Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
w



More information about the mapserver-users mailing list