Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi,
I got SOAP response:
<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>
<GetDailyMeasurementDataResponse xmlns="http://tempuri.org/">
<GetDailyMeasurementDataResult>
<Measurements>
<DMData>
<Name>Energy total</Name>
<Timestamp>2016-01-25T00:00:00</Timestamp>
<Value>2537</Value>
</DMData>
<DMData>
<Name>Energy total</Name>
<Timestamp>2016-01-26T00:00:00</Timestamp>
<Value>2641</Value>
</DMData>
</Measurements>
</GetDailyMeasurementDataResult>
</GetDailyMeasurementDataResponse>
</soap:Body>
</soap:Envelope>
I need to parse this, but E4X descendants([name]) -method returns nothing. On bases of other answers in this community I guess the problem might be with namespaces. Any idea how to pick Values out of above SOAP stuff?
Thanks,
Juhani