[
http://jira.codehaus.org/browse/GEOT-2962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gabriel Roldán reopened GEOT-2962:
----------------------------------
> WFS Badly composed url
> ----------------------
>
> Key: GEOT-2962
> URL: http://jira.codehaus.org/browse/GEOT-2962
> Project: GeoTools
> Issue Type: Bug
> Components: data wfs
> Affects Versions: 2.6.1, 2.7-M0
> Environment: Windows 7 64b
> java version "1.6.0_18"
> Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)
> Reporter: Zdenek Farana
> Assignee: Gabriel Roldán
> Fix For: 2.6.4, 2.7-M0
>
> Attachments: AbstractHttpProtocol.patch, error.log
>
>
> I've come across a bug in WFS Plugin (WFS is one of the OGC Web Services)
> when executing following piece of code (wfsData is DataStore with
> WFSDataStoreFactory:GET_CAPABILITIES_URL=http://demo.snowflakesoftware.com:8080/AIXM51FINAL_DONLON/GOPublisherWFS?SERVICE=wfs&VERSION=1.1.0&REQUEST=GetCapabilities):
> FeatureSource<SimpleFeatureType, SimpleFeature> source =
> wfsData.getFeatureSource("aixm:AirportHeliport");
> The source of problem is hidden inside
> org.geotools.data.wfs.v1_1_0WFSFeatureSource. The class constructor is trying
> to DescribeFeatureType (this.featureType = dataStore.getSchema(typeName)).
> The obtained IOException:
> Error parsing feature type for
> {http://www.aixm.aero/schema/5.1}AirportHeliport from
> http://demo.snowflakesoftware.com:8080/AIXM51FINAL_DONLON/GOPublisherWFS?=&TYPENAME=aixm%3AAirportHeliport&VERSION=1.1.0&SERVICE=WFS&REQUEST=DescribeFeatureType&NAMESPACE=xmlns%28aixm%3Dhttp%3A%2F%2Fwww.aixm.aero%2Fschema%2F5.1%29&
> The problem is obvious, query url (in red color) is composed in a wrong way.
> Proper query should be:
> http://demo.snowflakesoftware.com:8080/AIXM51FINAL_DONLON/GOPublisherWFS?TYPENAME=aixm%3AAirportHeliport&VERSION=1.1.0&SERVICE=WFS&REQUEST=DescribeFeatureType&NAMESPACE=xmlns%28aixm%3Dhttp%3A%2F%2Fwww.aixm.aero%2Fschema%2F5.1%29
> I've encountered the issue in 2.6.1, 2.7-SNAPSHOT shows the same thing. I've
> attached exception stacktrace.
--
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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel