[mapserver-users] [tinyOWS]Trouble with feature insertion

Eichner, Andreas - SID-NLKM Andreas.Eichner at sid.sachsen.de
Fri Mar 22 00:26:04 PDT 2013


Try escaping the '&' in the schema location URL as '&' as otherwise
it would be interpreted as an enity. And schemaLocation should be a list
of pairs of namespace name and location. It's probably a good idea to
validate the request document before posting it to TinyOWS...

> The request i send looks like this:
> 
> <wfs:Transaction
>   service='WFS'
>   version='1.1.0'
>   xmlns:wfs='http://www.opengis.net/wfs'
>   xmlns:gml='http://www.opengis.net/gml'
>   xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
>   xmlns:map='http://www.tinyows.org/map'
>   xsi:schemaLocation='http://www.opengis.net/wfs
>                       
> http://schemas.opengis.net/wfs/1.1.0/WFS-transaction.xsd
>                       
> http://127.0.0.1/cgi-bin/tinyows?service=WFS&request=DescribeF
eatureType&version=1.1.0'/>
>   <wfs:Insert>
>     <map:nodes>
>       <map:coord>
>         <gml:Point srsDimension='2' 
> srsName='urn:x-ogc:def:crs:EPSG:4326'>
>           <gml:coordinates decimal='.' cs=',' ts=' 
> '>30.454343,50.447954</gml:coordinates>
>         </gml:Point>
>       </map:coord>
>     </map:nodes>
>   </wfs:Insert>
> </wfs:Transaction> 


More information about the mapserver-users mailing list