On 16.09.2015 22:24, Rahkonen Jukka (MML) wrote:
> Hi,
> 
> I can't read features from my WFS with the OJ WFS plugin. However, by using 
> the Request and Response tags the result is OK. The difference seems to be 
> that the real GetFeature request that should get data for me map is sent 
> without the Content-Type header.
> 
> Here is a full request with headers to test with:
> 
> POST http://hip.latuviitta.org/cgi-bin/tinyows HTTP/1.1
> Host: hip.latuviitta.org
> User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 
> Firefox/40.0
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> Accept-Language: en-US,en;q=0.5
> Accept-Encoding: gzip, deflate
> Content-Type: text/xml; charset=UTF-8
> Content-Length: 367
> Connection: keep-alive
> Pragma: no-cache
> Cache-Control: no-cache
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <wfs:GetFeature xmlns:ogc="http://www.opengis.net/ogc";
> xmlns:gml="http://www.opengis.net/gml";
> xmlns:wfs="http://www.opengis.net/wfs";
> service="WFS" version="1.0.0" maxFeatures="1" outputFormat="GML2">
> <wfs:Query xmlns:lv="http://latuviitta.fi/"; srsName="EPSG:3067" 
> typeName="lv:mml_paikannimet20">
> </wfs:Query>
> </wfs:GetFeature>
> 
> With these headers the request is successful but if Content-Type: text/xml; 
> charset=UTF-8 is removed the result is a server error. I am not sure if the 
> header is right because it claims that charset is UTF-8 but the XML body 
> claims that it is ISO-8859-1. But that is a minor problem because without 
> Content-Type it is not possible at all to get data into the map.
> 

Thanks for the report Jukka, please try snapshot r4539.. ede

------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to