我正在尝试向https://data.un.org/WS/NSIEstatV20Service.asmx/GetGenericData发出SOAP请求,正文如下:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetGenericData> xmlns="http://ec.europa.eu/eurostat/sri/service/2.0/extended">
<Query>
<StructureSpecificDataQuery xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/message">
<!--NSI Web client v3.14.1.0-->
<Header>
<ID>IDREF6</ID>
<Test>false</Test>
<Prepared>2019-11-16T07:50:14.3951438+01:00</Prepared>
<Sender id="Unknown" />
<Receiver id="Unknown" />
</Header>
<Query>
<ReturnDetails detail="Full" observationAction="Active" xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/query">
<LastNObservations>0</LastNObservations>
<Structure dimensionAtObservation="TIME_PERIOD" structureID="StructureId">
<Structure xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/common">
<Ref agencyID="UNSD" id="DSD_WPP_UNDATA" version="2.0" xmlns="" />
</Structure>
</Structure>
</ReturnDetails>
<DataWhere xmlns="http://www.sdmx.org/resources/sdmxml/schemas/v2_1/query">
<Dataflow>
<Ref agencyID="UNSD" id="DF_UNDATA_WPP" version="2.0" xmlns="" />
</Dataflow>
<Or>
<DimensionValue>
<ID>INDICATOR</ID>
<Value operator="equal">SP_POP_TOTL</Value>
</DimensionValue>
</Or>
<Or>
<DimensionValue>
<ID>REF_AREA</ID>
<Value operator="equal">036</Value>
</DimensionValue>
</Or>
</DataWhere>
</Query>
</StructureSpecificDataQuery>
</Query>
</GetGenericData>
</soap:Body>
</soap:Envelope>
我得到以下结果: “ / WS”应用程序中的服务器错误。 运行时错误
我知道查询是有效的,但是几天后我无法检索结果。有人可以找出我想念的东西吗。