Default GenericData message response is defined with DSD while the data query was for Dataflow - SDMXRI-1204
When querying the NSI web service for GenericData using the dataflow specification, then the response message uses the DSD instead of the expected Dataflow as structure reference.
E.g. http://sistanhub.istat.it/NSIDISS/rest/data/IT1,DF_ORE10,1.0/all uses the dataflow "DF_ORE10" in the query.
The response contains the reference to the DSD "DCSC_ORE10_1":
<message:Structure structureID="IT1_DCSC_ORE10_1_1_1" dimensionAtObservation="TIME_PERIOD">
<common:Structure>
<Ref agencyID="IT1" id="DCSC_ORE10_1" version="1.1"/>
</common:Structure>
</message:Structure>
But we would expect a reference to the Dataflow "DF_ORE10" like this:
<message:Structure structureID="IT1_DF_ORE10_1_0" dimensionAtObservation="TIME_PERIOD">
<common:StructureUsage>
<Ref agencyID="IT1" id="DF_ORE10" version="1.0"/>
</common:StructureUsage>
</message:Structure>
This is a problem because access rights restrictions can be attached to dsds and dataflows and thus users who can get/edit data for specific dataflows might not be able to do this for the whole DSD. It means that an NSI response cannot be used anymore by the user to reupload the data.
Eurostat ticket: https://webgate.ec.europa.eu/CITnet/jira/browse/SDMXRI-1204