Skip to content

GetCapabilites parsing error for inspire_vs:ExtendedCapabilities #6489

@MV88

Description

@MV88

Description

Mapstore currently fails to parse the GetCapabilities result that contains inspire_vs:ExtendedCapabilities for retrieving styles.
it fails here and it goes then in the catch here

I also noticed a variety of ways to retrieve & parse getCapabilities we should unify
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/actions/layerCapabilities.js#L55
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/api/WMS.js#L113
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/api/WMS.js#L169
https://github.com/geosolutions-it/MapStore2/blob/master/web/client/observables/wms.js#L42

How to reproduce

  • open map with id 451 map
  • open TOC
  • select layer temperatura
  • open layer settings
  • check debugging the notified points

Expected Result

to see the styles for that layer

Current Result

there is this error when parsing with jsonix

"Element [{http://inspire.ec.europa.eu/schemas/inspire_vs/1.0}inspire_vs:ExtendedCapabilities] 
could not be unmarshalled as is not known in this context and the property does not allow DOM content."

so the styles list is empty

  • Not browser related
Browser info (use this site: https://www.whatsmybrowser.org/ for non expert users)
Browser Affected Version
Internet Explorer
Edge
Chrome
Firefox
Safari

Other useful information

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions