[TinyOWS-users] Problem Content-type on transaction

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Fri Aug 26 10:59:27 EST 2011


Hi,

Which TinyOWS version you are using? TinyOWS has been made to tolerate better the various content types which GIS clients are using.

-Jukka Rahkonen-

Marc-André Trottier wrote:


> 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





More information about the TinyOWS-users mailing list