Reputation: 51804
I am trying to generate java classes that describe the web service offered here which belongs to this page. Please mind that I am not convinced that the XML is the one needed to run the following steps!
getcapabilities.xml
java -jar trang.jar getcapabilities.xml getcapabilities.xsd
getcapabilities.xsd
, ogc.xsd
, wfs.xsd
, xlink.xsd
, xsi.xsd
xjc getcapabilities.xsd
parsing a schema... [ERROR] no-xsi: The {target namespace} of an attribute declaration must not match 'http://www.w3.org/2001/XMLSchema-instance'.
line 7 of file:xsi.xsd
Failed to parse a schema.
Questions:
Upvotes: 2
Views: 1114
Reputation: 43651
You're dealing with an OGC Web Feature Service. There's a couple of peculiarities with that.
DescribeFeatureType
operation: http://data.wien.gv.at/daten/wfs?service=WFS&request=DescribeFeatureType&version=1.1.0Upvotes: 1