Hi list,
I'm using wfs-t and i'm having parsing errors from the wfs response ... i
guess the problem is the null value in <null:FeatureId fid="Expendios.9"/>
Iḿ using postgres/postgis as the data source and the table has primary key
The information is uploaded properly so wfs is working fine but i need to
figure this out so i can display the proper message ... is there some
configuration that i'm missing here?
Request:
<wfs:Transaction xmlns:wfs="http://www.opengis.net/wfs" service="WFS"
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<wfs:Insert>
<feature:Expendios xmlns:feature="
http://www.mapaeducativo.edu.ar/agricultura/">
<feature:the_geom>
<gml:Point xmlns:gml="http://www.opengis.net/gml" srsName="EPSG:900913
">
<gml:pos>-6548421.4810195 -4291804.9435436</gml:pos>
</gml:Point>
</feature:the_geom>
<feature:nombre>test2</feature:nombre>
<feature:tipo>carniceria</feature:tipo>
<feature:cod_partido>3456</feature:cod_partido>
<feature:completo_encuesta>true</feature:completo_encuesta>
</feature:Expendios>
</wfs:Insert>
</wfs:Transaction>
Response:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:TransactionResponse version="1.1.0" xsi:schemaLocation="
http://www.opengis.net/wfs
http://www.mapaeducativo.edu.ar:80/geoserver/schemas/wfs/1.1.0/wfs.xsd"
xmlns:agricultura="http://www.mapaeducativo.edu.ar/agricultura/" xmlns:men="
www.mapaeducativo.edu.ar" xmlns:mep38="mep38" xmlns:mep66="mep66"
xmlns:wfs="http://www.opengis.net/wfs" xmlns:idejujuy="idejujuy"
xmlns:test="test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ows="http://www.opengis.net/ows" xmlns:memoria="
http://www.mapaeducativo.edu.ar/memoria" xmlns:gml="
http://www.opengis.net/gml" xmlns:meps="http://www.mapaeducativo.edu.ar/meps"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ogc="ogc">
<wfs:TransactionSummary>
<wfs:totalInserted>1</wfs:totalInserted>
<wfs:totalUpdated>0</wfs:totalUpdated>
<wfs:totalDeleted>0</wfs:totalDeleted>
</wfs:TransactionSummary>
<wfs:TransactionResults/>
<wfs:InsertResults>
<wfs:Feature>
<null:FeatureId fid="Expendios.9"/>
</wfs:Feature>
</wfs:InsertResults>
</wfs:TransactionResponse>
GEOSERVER VERSION : 2.1.3
Thanks!
Federico Sanchez
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users