[Mapserver-users] WFS / curl error code 7 (couldn't create socket)
fheland at netcourrier.com
fheland at netcourrier.com
Fri Apr 2 19:32:16 PST 2004
One more info, the curl command works (with tomcat & apache) on shell :
>curl -d/ "http://192.168.1.114/agentstrut
s/cgi-bin/mapserv_41.exe?map=C:/ms4w/Apache/htdocs/eden/eden/eden/data/neri/htdo
cs/neri-wfs.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature"
<?xml 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 ../wfs/1.0.0/WFS-basic.xsd
http://www.ttt.org/myns http://www.rnde.tm.fr:8080/cgi-bi
n/mapserv_41wfs.exe?map=f:/apache/html/eden/eden/eden/data/neri/htdocs/neri-wfs.
map&service=WFS&SERVICE=WFS&VERSION=1.0.0&REQUEST=DescribeFeatur
eType&TYPENAME=">
<gml:boundedBy>
<gml:Box srsName="EPSG:23032">
<gml:coordinates>
451592.000000,6063491.000000 701006.000000,6389850.00000
0
</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<gml:featureMember>
<OVF>
<gml:boundedBy>
<gml:Box srsName="EPSG:23032">
<gml:coordinates>
508275.000000,6244875.000000 508275.000000,62448
75.000000
</gml:coordinates>
</gml:Box>
</gml:boundedBy>
<gml:pointProperty>
<gml:Point srsName="EPSG:23032">
<gml:coordinates>508275.000000,6244875.000000</gml:coordinates>
</gml:Point>
</gml:pointProperty>
<STBE_STATION_STNR>200001</STBE_STATION_STNR>
<STNAVN>ST 1</STNAVN>
<BESKRIV></BESKRIV>
<AFNR>20</AFNR>
<STTYPE>1</STTYPE>
The version of curl is :
curl 7.11.1 (i386-pc-win32) libcurl/7.11.1 zlib/1.2.1
Protocols: ftp gopher telnet dict ldap http file
Features: libz
Which version of libcurl mapserver is using ?
Is this could be the issue ?
Thanks for your help
Fred
fheland at netcourrier.com wrote:
> Hi all, I get an error using WFS using mapserver41 :
> msDrawMap(): Image handling error. Failed to draw layer named 'IOWStations'.
> msWFSLayerWhichShapes(): WFS connection error. Got HTTP status -7 downloading WFS layer IOWStations
> msHTTPExecuteRequests(): HTTP request error. HTTP: request failed with curl error code 7 (couldn't create socket) for http://192.168.1.114/agentstruts/cgi-bin/mapserv_41.exe?map=d:/Tomcat4.1/webapps/agentstruts/mapservice/data/iow/htdocs/iow-wfs.map&
>
> The GetFeature request works well :
> http://192.168.1.114/agentstruts/cgi-bin/mapserv_41.exe?map=d:/Tomcat4.1/webapps/agentstruts/mapservice/data/iow/htdocs/iow-wfs.map&REQUEST=GETFeature&SERVICE=WFS&VERSION=1.0.0
>
I assume you mean that the GetFeature request works well whne tested in
a web browser?
Could it be that there is a firewall between your client app and your
WFS server? That could explain why your browser can connect but your
MapServer can't.
--
------------------------------------------------------------
Daniel Morissette dmorissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 TTC/min)
Minitel: 3615 NETCOURRIER (0,16 TTC/min)
More information about the MapServer-users
mailing list