Hi Guys, I have the following response but am having difficulty retrieving the data I need to.
Here is the response:
<s:Envelope xmlns:s=“http://schemas.xmlsoap.org/soap/envelope/”>
<s:Header>
<XXX-CorrelationId xmlns="XXX">XXX-17a2089487f1</***-CorrelationId>
<BGT-CorrelationSource xmlns="XXX">XXX->GetParameterValuesForKeyAndGroupListFull</XXX>
</s:Header>
<s:Body>
<GetParameterValuesForKeyAndGroupListFullResponse xmlns="XXX">
<GetParameterValuesForKeyAndGroupListFullResult xmlns:a="XXXX" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Session xmlns="http://schemas.datacontract.org/2004/07/XXX_Globals_Objects">
<AdditionalInfos i:nil="true" xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
<SessionId>13185903</SessionId>
<SessionNodeId>218845</SessionNodeId>
<SessionPartnerId>XXX</SessionPartnerId>
<StatusCode>0</StatusCode>
<StatusMessage i:nil="true"/>
</Session>
<StatusCode xmlns="XXX/2004/07/XXX_Globals_Objects">0</StatusCode>
<StatusMessage xmlns="XXX2004/07/BGT_Globals_Objects">ST_GEN_OK</StatusMessage>
<Timestamp xmlns="X/2004/07/BGT_Globals_ObjectsXX">2020-10-13T10:30:46.5952933+02:00</Timestamp>
<a:Parameter xmlns:b="hXXX2003/10/Serialization/Arrays">
<b:KeyValueOflongArrayOfKeyValueOfstringParameterWithValuesTODgLEScIUty7Ep6D1>
<b:Key>10</b:Key>
<b:Value>
<b:KeyValueOfstringParameterWithValuesTODgLEScIU>
<b:Key>node.password</b:Key>
<b:Value xmlns:c="http://schemas.datacontract.org/2004/07/XXX_Objects.TransferObjects">
<c:HasCustomValues>true</c:HasCustomValues>
<c:ParameterDefinition>
<c:Annotation>Password required for login</c:Annotation>
<c:AnnotationDictionaryEntriesNr>1818671</c:AnnotationDictionaryEntriesNr>
<c:DefaultValue>Password</c:DefaultValue>
<c:DefaultValueDictionaryEntriesNr>1816487</c:DefaultValueDictionaryEntriesNr>
<c:EncryptionTypesNr>1</c:EncryptionTypesNr>
<c:Inherits>false</c:Inherits>
<c:Key>node.password</c:Key>
<c:MaxCacheTimeMs>10000</c:MaxCacheTimeMs>
<c:MultipleValuesAllowed>false</c:MultipleValuesAllowed>
<c:ParameterDefinitionsId>*1*</c:ParameterDefinitionsId>
This Response is resulting in just Two Nodes - the first one is the Header one, then the larger second one is Body (Goes on for much longer)
I am unable to get the element for Example in the last line, the “1” value.
Could someone advise on how to get the value for c:ParameterDefinitionsId in the last line for example?
Much appreciated!