Hi list,
I have a problem with my GeoServer 2.3.2. I'm trying to do a WFS transaction for a WFS version 2.0.0. Something is not correct with the DescribeFeaturetype url in the wfs transaction post xml.
The wfs transaction post request works fine if I use the following syntax for the DescribeFeaturetype url in the request:
http://localhost:8080/geoserver_2.3.2/wfs/DescribeFeatureType?typename=topp:mytest
The request does not work when using the standard DescribeFeaturetype url:
http://localhost:8080/geoserver_2.3.2/wfs?service=wfs&version=2.0.0&request=DescribeFeatureType&typename=topp:mytest
I'm now wondering why GeoServer does not accept the second url. The request fails with error:
.....org.xmlpull.v1.XmlPullParserException: entity reference name can not contain character =' (position: START_DOCUMENT seen ...opp http://localhost:8080/geoserver_2.3.2/wfs?service=wfs&version=… @1:465)
entity reference name can not contain character =' (position: START_DOCUMENT seen ...opp http://localhost:8080/geoserver_2.3.2/wfs?service=wfs&version=… @1:465) ....
Both DescribeFeaturetype requests return a valid xml. I want to build the DescribeFeaturetype request dynamically in my software, so I would like to use the second way to create the DescribeFeaturetype url.
Can anyone tell me why the transaction request is not working using the second DescribeFeaturetype url?
Best regards,
Verena
--