[mapserver-users] WFS Server does not support VERSION 1.1.0

Chris Green chris.green at ibstv.co.uk
Thu Jul 8 09:02:33 EDT 2010


Hi Assefa

 

I am using a Virtual Private Server and my ISP tells me that it uses Linux
5.2.1. The Mapserver version is 5.6.3, which came with the latest FGS
version downloaded two days ago.

 

The VPS comes with Apache pre-installed so I have 2 versions of Apache
running, one already there and the other installed as part of the FGS
package (the FGS version uses port 81).

 

Since asking for help I have continued to try modifications to my map file
(which still runs fine under MS4W although with a number of directory
changes for Linux) but I still have the same problem - either no WFS results
with 1.0.0 or with 'WFS Server does not support VERSION 1.1.0'

                                              

I don't know much (actually almost nothing) about Linux. I am contemplating
re-installing Mapserver as a stand alone (not with FGS) so there is only one
version of Apache present. Would you recommend this - or do you have any
other suggestions?

 

 

Chris

 

From: Yewondwossen Assefa [mailto:yassefa at dmsolutions.ca] 
Sent: 08 July 2010 12:40
To: chris.green at ibstv.co.uk
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] WFS Server does not support VERSION 1.1.0

 

Chris,

Is your Linux version still a 5.2.1?
Note that I have tried your request locally with current MapServer version
(svn) and got expected results.

regards,


On 08/07/2010 3:06 AM, Chris Green wrote: 

Hi All

 

I have a situation that I cannot understand. For some time I have been
developing an application using OpenLayers and Mapserver, working on a
Windows platform with Mapserver CGI 5.2.1 that I downloaded as MS4W from
MapTools.org. The application involves a number of WFS searches for which I
have been using WFS 1.1.0 without any problems.

 

Now I am migrating to a Linux platform in order to get ready for production,
using Fedora. I downloaded the FGS Linux installer from MapTools.org and
have made the application run under this environment. However there is now a
problem with WFS . In response to a post as follows:

 

<wfs:GetFeature xmlns:wfs= <http://www.opengis.net/wfs>
"http://www.opengis.net/wfs" service="WFS" version="1.1.0" maxFeatures="100"
xsi:schemaLocation=
<http://www.opengis.net/wfshttp:/schemas.opengis.net/wfs/1.1.0/wfs.xsd>
"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd"
xmlns:xsi= <http://www.w3.org/2001/XMLSchema-instance>
"http://www.w3.org/2001/XMLSchema-instance"><wfs:Query
typeName="feature:Countries_full" srsName="EPSG:4326" xmlns:feature=
<http://mapserver.gis.umn.edu/mapserver>
"http://mapserver.gis.umn.edu/mapserver"><ogc:Filter xmlns:ogc=
<http://www.opengis.net/ogc>
"http://www.opengis.net/ogc"><ogc:PropertyIsEqualTo
matchCase="true"><ogc:PropertyName>REGION</ogc:PropertyName><ogc:Literal>Eur
ope</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter></wfs:Query></wfs:GetF
eature>

 

I get a response of:

 

<ServiceExceptionReport

xmlns= <http://www.opengis.net/ogc> "http://www.opengis.net/ogc" xmlns:xsi=
<http://www.w3.org/2001/XMLSchema-instance>
"http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=
<http://www.opengis.net/ogchttp:/schemas.opengis.net/wms/1.1.1/OGC-exception
.xsd> "http://www.opengis.net/ogc
http://schemas.opengis.net/wms/1.1.1/OGC-exception.xsd">

  <ServiceException>

msWFSDispatch(): WFS server error. WFS Server does not support VERSION
1.1.0.

  </ServiceException>

</ServiceExceptionReport>

 

 

If I modify the WFS protocol to 1.0.0 I don't get the error, but I don't get
any results either. This is the case for all of the WFS searches in the
application, although they still work fine under MS4W. Can anyone help me
see what I am doing wrong? 

 

 

 

Chris

 
 
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
  






-- 
----------------------------------------------------------------
Assefa Yewondwossen           
Software Analyst   
 
Email: yassefa at dmsolutions.ca    
http://www.dmsolutions.ca/
 
Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100708/76b0e5db/attachment-0001.html


More information about the mapserver-users mailing list