Discussion:
[mapserver-users] wfs service
hosain mohammadi
2015-06-11 09:22:46 UTC
Permalink
Hi

i want to do WFS service

http://localhost/cgi-bin/mapserv.exe?map=/ms4w/Apache/htdocs/wms/map.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TypeName=tehran

but the result appear

This XML file does not appear to have any style information associated with
it. The document tree is shown below.
<ServiceExceptionReport xmlns="http://www.opengis.net/ogc" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" version="1.2.0"
xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd">
<ServiceException code="InvalidParameterValue" locator="request">
msWFSDispatch(): WFS server error. WFS request not enabled. Check
wfs/ows_enable_request settings.
</ServiceException>
</ServiceExceptionReport>


some one know where i worng
TDS
2015-06-11 09:39:06 UTC
Permalink
Read the error code and the manual...

MAP
WEB
METADATA
* "ows_enable_request" "*"*
* "wfs_enable_request" "*"

*
Bye, Mathias
------------------------------------------------------------------------
mailto:***@tds-net.de
------------------------------------------------------------------------
1+1=10
You have a question? - 42 or RTFM.
Post by hosain mohammadi
Hi
i want to do WFS service
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/Apache/htdocs/wms/map.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TypeName=tehran
but the result appear
This XML file does not appear to have any style information associated
with it. The document tree is shown below.
<ServiceExceptionReportxmlns="http://www.opengis.net/ogc"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"version="1.2.0"xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd">
<ServiceExceptioncode="InvalidParameterValue"locator="request">
msWFSDispatch(): WFS server error. WFS request not enabled. Check
wfs/ows_enable_request settings.
</ServiceException>
</ServiceExceptionReport>
some one know where i worng
_______________________________________________
mapserver-users mailing list
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Jörg Thomsen
2015-06-11 09:39:08 UTC
Permalink
Hi,
WFS request not enabled. Check wfs/ows_enable_request settings.
-> http://bfy.tw/Hbq
->
http://mapserver.org/ogc/wfs_server.html#configuring-your-mapfile-to-serve-wfs-layers
"wfs_enable_request" "*" # necessary
If this does not help, please show us your mapfile.

Jörg
Hi
i want to do WFS service
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/Apache/htdocs/wms/map.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=getfeature&TypeName=tehran
but the result appear
This XML file does not appear to have any style information associated
with it. The document tree is shown below.
<ServiceExceptionReport xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2.0" xsi:schemaLocation="http://www.opengis.net/ogc
http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd">
<ServiceException code="InvalidParameterValue" locator="request">
msWFSDispatch(): WFS server error. WFS request not enabled. Check
wfs/ows_enable_request settings.
</ServiceException>
</ServiceExceptionReport>
some one know where i worng
_______________________________________________
mapserver-users mailing list
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Renzo Kottmann
2015-06-11 09:39:55 UTC
Permalink
Hi,

as this part in the error message indicates: "Check
wfs/ows_enable_request settings." You need to explicitly enable wfs
requests in your map configuration metadata by setting
wfs_enable_request see http://www.mapserver.org/ogc/wfs_server.html.

Hope it helps,renzo
Check wfs/ows_enable_request settings.
--
Renzo Kottmann PhD
Senior Scientist at
Max Planck Institute for Marine Microbiology
Microbial Genomics and Bioinformatics Research Group
Celsiusstr. 1
28359 Bremen
Germany
Phone: +49 421 2028 974
hosain mohammadi
2015-06-11 11:00:57 UTC
Permalink
Hi

i use projection for wfs service in udig bowser


PROJECTION
"proj=utm"
"zone=39"
"datum=WGS84"
"units=m"
"no_defs"
END # PROJECTION


but don't show layer

some one know what must be doing
Ben Madin
2015-06-11 11:48:41 UTC
Permalink
Mate,

Judging by the lack of response, you are not providing enough information for anyone to be able to help you.

It would help if you could provide a full example (include the mapfile and maybe some data) and your connection information, as well as versions of software etc.

It is not for MapServer, but the posting guide on the R mailing list might help you (http://www.r-project.org/posting-guide.html)

I look forward to a more detailed question.

cheers

Ben
Post by hosain mohammadi
Hi
i use projection for wfs service in udig bowser
PROJECTION
"proj=utm"
"zone=39"
"datum=WGS84"
"units=m"
"no_defs"
END # PROJECTION
but don't show layer
some one know what must be doing
_______________________________________________
mapserver-users mailing list
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Ben Madin

t : +61 8 6102 5535
m : +61 448 887 220
e : ***@ausvet.com.au

AusVet Animal Health Services
Western Australia

AusVet's website: http://www.ausvet.com.au

This transmission is for the intended addressee only and is confidential information. If you have received this transmission in error, please delete it and notify the sender. The contents of this email are the opinion of the writer only and are not endorsed by AusVet Animal Health Services unless expressly stated otherwise. Although AusVet uses virus scanning software we do not accept liability for viruses or similar in any attachments. Thanks for reading.
Continue reading on narkive:
Loading...