wfs service

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

wfs service

hosain.moh00
Hi

i want to do WFS service  


but the result appear 

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
TDS
Reply | Threaded
Open this post in threaded view
|

Re: wfs service

TDS
Read the error code and the manual...

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

Bye, Mathias
[hidden email]

1+1=10
You have a question? - 42 or RTFM.
Am 11.06.2015 um 11:22 schrieb hosain mohammadi:
Hi

i want to do WFS service  


but the result appear 

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: wfs service

Jörg Thomsen
In reply to this post by hosain.moh00
Hi,

yes I know, because MapServer tells it:

> 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


Am 11.06.2015 um 11:22 schrieb 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.
> <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
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>

_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: wfs service

Renzo Kottmann-2
In reply to this post by hosain.moh00
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

On 2015-06-11 11:22, hosain mohammadi wrote:
> 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
_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users