Changes between Initial Version and Version 1 of Ticket #2392


Ignore:
Timestamp:
Nov 9, 2007, 10:49:39 AM (17 years ago)
Author:
dmorissette
Comment:

There are multiple issues in this ticket:

1- The carriage return issue was fixed in MapServer 4.8.4 and 4.10.0 (ticket #1768)

2- You listed http://wfs.alaskamapped.org/inventory as having the carriage return problem, but it runs MapServer 5.0RC2 in which this should be fixed. Can you please double check that the error this server produces is indeed related to the carriage returns and not to something else?

3- You mention a "problem with onlineresource URLs". I'm not sure to follow you on this one. Can you please be more specific?

4- The http://map.ns.ec.gc.ca/envdat/map.aspx issue is a server configuration issue outside of MapServer's control since map.aspx doesn't support proper forwarding of POST request data. However, this server was very likely configured following the advice from section 2.4 of the WMS Server HOWTO at http://mapserver.gis.umn.edu/docs/howto/wms_server/#more-about-the-online-resource-url so this should be considered a documentation issue. I have added a comment about this at the bottom of this document. Hopefully they'll pick this up when the doc is updated.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2392

    • Property Cc jmckenna added
    • Property Milestone5.2 release
  • Ticket #2392 – Description

    initial v1  
    88
    99Posting 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}}}
    1613
    1714Posting this will not:
     15{{{
    1816<?xml version="1.0" encoding="iso-8859-1"?> <wfs:DescribeFeatureType version="1.0.0" service="WFS"
    1917xsi:schemaLocation="http://www.opengis.net/wfs
     
    2220  <wfs:TypeName>wfs:envirodat</wfs:TypeName>
    2321</wfs:DescribeFeatureType>
     22}}}
    2423
    2524The 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.
    2625[/quote]
    2726This says two things.
     27
    28281. 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
    29302. 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.)
    3031
    3132The 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).
    3637
    3738Only the last service worked correctly with post data.