<div dir="ltr"><div>Lars,</div><div>can you try to run the request from command line in order to rule out a connection between iis and mapserser. See <a href="http://mapserver.org/de/optimization/debugging.html#using-mapserv-cgi">http://mapserver.org/de/optimization/debugging.html#using-mapserv-cgi</a> for an how-to. From command prompt you should be able to run somethin like </div>
<div><br></div><div>X:\yz\mapserv64.exe -nh "QUERY_STRING=map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities"</div><div>You'll have to chdir the Location of BallerupGO_WFS.map before.</div>
<div><br></div><div>Are there differences between wfs Version 1.0.0 and 1.1.0?</div><div><br></div><div>Kind regards,</div><div>Martin</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/26 Lars I. Nielsen <span dir="ltr"><<a href="mailto:lin@hvenegaard.dk" target="_blank">lin@hvenegaard.dk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm still having problems with my setup of a WFS server using Mapserver 6.4.0 :-(<br>
<br>
My GetCapabilities requests take forever (or more precisely 5 minutes) to finish. Mapserver finishes in a split second, and returns a full document, but the connection - regardless of it being an url in a browser, or running ogrinfo.exe or some other program - stays open for circa 5 minutes before it finishes/times out.<br>

<br>
How can I get Mapserver/something-else to force closing the connection ?<br>
<br>
Mapserver runs as a standalone exe under IIS v6 on Windows 2003, but there's nothing in the IIS setup that I can find that prompts this behaviour.<br>
<br>
<a href="http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities" target="_blank">http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities</a><br>

<br>
Any advise will be helpful :-)<br>
<div class="im"><br>
<br>
Kind regards / Med venlig hilsen<br>
Lars I. Nielsen<br>
----------------------------------------------------------------<br>
Landinspektør, Senior GIS Programmør og Konsulent<br>
Hvenegaard og Jens Bo Landinspektører A/S<br>
Rugaardsvej 55, DK-5000 Odense C<br>
Denmark<br>
Tel. <a href="tel:%2B45%206313%205050" value="+4563135050">+45 6313 5050</a><br>
<a href="http://www.hvenegaard.dk" target="_blank">http://www.hvenegaard.dk</a><br>
<br>
<br>
-----Oprindelig meddelelse-----<br>
</div>Fra: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] På vegne af Lars I. Nielsen<br>

Sendt: 26. november 2013 10:35<br>
Til: Rahkonen Jukka; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<div class="HOEnZb"><div class="h5">Emne: Re: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses<br>
<br>
Hi Jukka,<br>
<br>
It turns out that it was my adding  - PROCESSING "CLOSE_CONNECTION=DEFER" - statements to my layer definitions that blocked fetching attributes from other layers than the first.<br>
<br>
Apparently the OGR VRT frameworks needs to open separate connections, and keeping the first connection open blocked subsequent connections.<br>
<br>
This part now works :-)<br>
<br>
Still working on other issues though ...<br>
<br>
<br>
Kind regards / Med venlig hilsen<br>
Lars I. Nielsen<br>
----------------------------------------------------------------<br>
Landinspektør, Senior GIS Programmør og Konsulent Hvenegaard og Jens Bo Landinspektører A/S Rugaardsvej 55, DK-5000 Odense C Denmark Tel. <a href="tel:%2B45%206313%205050" value="+4563135050">+45 6313 5050</a> <a href="http://www.hvenegaard.dk" target="_blank">http://www.hvenegaard.dk</a><br>

<br>
<br>
-----Oprindelig meddelelse-----<br>
Fra: Rahkonen Jukka [mailto:<a href="mailto:jukka.rahkonen@mmmtike.fi">jukka.rahkonen@mmmtike.fi</a>]<br>
Sendt: 19. november 2013 15:59<br>
Til: Lars I. Nielsen; <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Emne: Re: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses<br>
<br>
Hi,<br>
<br>
I can only show how my MS 6.2.1 server reacts<br>
<br>
<a href="http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.0.0&request=DescribeFeatureType" target="_blank">http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.0.0&request=DescribeFeatureType</a><<a href="http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.1.0&request=DescribeFeatureType" target="_blank">http://hip.latuviitta.org/cgi-bin/mapserver_wfs?service=wfs&version=1.1.0&request=DescribeFeatureType</a>><br>

<br>
-Jukka Rahkonen-<br>
<br>
<br>
________________________________<br>
Lähettäjä: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] käyttäjän Lars I. Nielsen [<a href="mailto:lin@hvenegaard.dk">lin@hvenegaard.dk</a>] puolesta<br>

Lähetetty: 19. marraskuuta 2013 16:16<br>
Vastaanottaja: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Aihe: [mapserver-users] Standalone Mapserver 6.4 as WFS server - issues with responses<br>
<br>
Hi,<br>
<br>
I got the standalone Mapserver 6.4 x64 up and running, but there are still some issues:<br>
<br>
<br>
If I run "request=describefeaturetype" on any of the three typenames in my setup, it returns its list of attributes as it should.<br>
<br>
But if I omit the typename, wanting Mapserver to return a description of all three typenames (which is a valid request), it only returns the attributes for the first !??<br>
<br>
Is this WAD, or is Mapserver forgetting to return attributes for the latter two typenames (as I suspect) ?<br>
<br>
<br>
The server is online on this address if anyone wants to have a look:<br>
<br>
<a href="http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities" target="_blank">http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=getcapabilities</a><br>

<br>
DescribeFeatureType that works: <a href="http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=describefeaturetype&typename=GO_Flader" target="_blank">http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=describefeaturetype&typename=GO_Flader</a><br>

<br>
DescribeFeatureType that doesn't work: <a href="http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=describefeaturetype" target="_blank">http://hvmgo01.hvenegaard.dk/mswfs/?map=BallerupGO_WFS.map&service=WFS&version=1.0.0&request=describefeaturetype</a><br>

<br>
<br>
<br>
Kind regards / Med venlig hilsen<br>
Lars I. Nielsen<br>
----------------------------------------------------------------<br>
Landinspektør, Senior GIS Programmør og Konsulent Hvenegaard og Jens Bo Landinspektører A/S Rugaardsvej 55, DK-5000 Odense C Denmark Tel. <a href="tel:%2B45%206313%205050" value="+4563135050">+45 6313 5050</a> <a href="http://www.hvenegaard.dk" target="_blank">http://www.hvenegaard.dk</a><<a href="http://www.hvenegaard.dk/" target="_blank">http://www.hvenegaard.dk/</a>><br>

<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></div></blockquote></div><br></div>