[TinyOWS-users] Problem Content-type on transaction

Marc-André Trottier marcandre_trottier at hotmail.com
Fri Aug 26 10:19:32 EST 2011


Hi!

i got a "XML request isn't valid" when i'm doing a transaction with this XML
and my content-type="application/xml"

"<wfs:Transaction xmlns:wfs=\"http://www.opengis.net/wfs\" service=\"WFS\"
version=\"1.0.0\" xsi:schemaLocation=\"http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd\" xmlns:xsi=\"
http://www.w3.org/2001/XMLSchema-instance\">"
"<wfs:Insert>"
"<feature:CASERNE_VIEW_MODIF xmlns:feature=\"
http://geodev1.sso.msp.gouv.qc.ca/\">"
"<feature:geom_p>"
"<gml:Point xmlns:gml=\"http://www.opengis.net/gml\"
srsName=\"EPSG:900913\">"
"<gml:coordinates decimal=\".\" cs=\",\" ts=\"
\">-8026012.4235639,5923239.9348854</gml:coordinates>"
"</gml:Point>"
"</feature:geom_p>"
"<feature:nom_muncp>fff</feature:nom_muncp>"
"<feature:role>test_marc</feature:role>"
"<feature:nom_rue>ééé</feature:nom_rue>"
"</feature:CASERNE_VIEW_MODIF>"
"</wfs:Insert>"
"</wfs:Transaction>"

if a switch content-type="text/xml", the transaction is good.
it's seem to be related to the field's order ?

Marc-André Trottier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20110826/59c0119c/attachment.htm 


More information about the TinyOWS-users mailing list