ArcGis contenttype error workaround ----------------------------------- Key: GEOT-3169 URL: http://jira.codehaus.org/browse/GEOT-3169 Project: GeoTools Issue Type: Improvement Components: data wfs Affects Versions: 2.6.4 Reporter: Roy Braam Attachments: ArcGisContentType.patch
When doing a wfs post request to a ArcGis server (9.3 for example) You get a error back when setting the correct content-type: 'text/xml'. But when doing the same request and leaving the content-type header empty or setting 'image/png'/'text/html' etc. it will work..... So: CLIENT: 'ARCgis server 9.3' here is a 'text/xml message, Can you give me the response? ARCgis server 9.3: NO! it's not implemented. CLIENT: But, isn't a wfs post request always in 'text/xml'??? ARCgis server 9.3: NO! it's not implemented. CLIENT: OK... Here is a 'image/png' (*sending a text/xml message). ARCgis server 9.3: There you go, here is the response in 'text/xml'. CLIENT: Whouw, thanks! I added a workaround in the patch attached, but only for WFS version 1.0.0. Any id's on how to add a workaround for version 1.1.0? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel