Changes between Initial Version and Version 1 of Ticket #2392
- Timestamp:
- Nov 9, 2007, 10:49:39 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2392
- Property Cc added
- Property Milestone → 5.2 release
-
Ticket #2392 – Description
initial v1 8 8 9 9 Posting this will succeed (all on one line): 10 <?xml version="1.0" encoding="iso-8859-1"?><wfs:DescribeFeatureType 11 version="1.0.0" service="WFS" 12 xsi:schemaLocation="http://www.opengis.net/wfs 13 ../wfs/1.0.0/WFS-basic.xsd" xmlns:wfs="http://www.opengis.net/wfs" 14 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:TypeName>wfs: 15 envirodat</wfs:TypeName></wfs:DescribeFeatureType> 10 {{{ 11 <?xml version="1.0" encoding="iso-8859-1"?><wfs:DescribeFeatureType version="1.0.0" service="WFS" xsi:schemaLocation="http://www.opengis.net/wfs ../wfs/1.0.0/WFS-basic.xsd" xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><wfs:TypeName>wfs:envirodat</wfs:TypeName></wfs:DescribeFeatureType> 12 }}} 16 13 17 14 Posting this will not: 15 {{{ 18 16 <?xml version="1.0" encoding="iso-8859-1"?> <wfs:DescribeFeatureType version="1.0.0" service="WFS" 19 17 xsi:schemaLocation="http://www.opengis.net/wfs … … 22 20 <wfs:TypeName>wfs:envirodat</wfs:TypeName> 23 21 </wfs:DescribeFeatureType> 22 }}} 24 23 25 24 The post data is not URL encoded. And posting the successful post body to http://map.ns.ec.gc.ca/envdat/map.aspx gives the infamous "no template provided" error. 26 25 [/quote] 27 26 This says two things. 27 28 28 1. There is a problem with the online resource URL's. (This is the last URL mentioned, and the online resource URL's are the URL's which are supposed to be used, instead of the base URL which is used for the initial GetCapabilities request only.) I found that multiple servers had this problem. 29 29 30 2. It apparently matters if there are carriage returns and/or line feeds in the XML data. Very strange. (If they are present, the service times out, and finally returns a 502 error after five minutes.) 30 31 31 32 The other services I have tested are: 32 * http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp (MapServer 4.8.1);33 * http://wfs.alaskamapped.org/inventory (MapServer 5.0 RC 2);34 * http://excise.pyr.ec.gc.ca/cgi-bin/mapserv.exe?map=/LocalApps/Mapsurfer/PYRWQMP.map (MapServer 4.8.1);35 * http://www2.dmsolutions.ca/cgi-bin/mswfs_gmap (MapServer 4.6.0).33 * http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp (MapServer 4.8.1); 34 * http://wfs.alaskamapped.org/inventory (MapServer 5.0 RC 2); 35 * http://excise.pyr.ec.gc.ca/cgi-bin/mapserv.exe?map=/LocalApps/Mapsurfer/PYRWQMP.map (MapServer 4.8.1); 36 * http://www2.dmsolutions.ca/cgi-bin/mswfs_gmap (MapServer 4.6.0). 36 37 37 38 Only the last service worked correctly with post data.