0c1d56dde5
When querying an enumeration using the WSMAN enumerate method, not all entries are returned if there are more than max_elems (default of 100) in the enumeration. When querying an enumeration, the first response returns <wsman:Items> in the body. Successive pulls, however, contain <wsen:Items>. The old code always queried for <wsen:Items>, which caused the first batch of attributes to be dropped only when the number of entries in the enumeration exceeded max_elems. This patch queries for <wsman:Items> in the first response, and for <wsen:Items> in successive responses. Change-Id: I2e9036b562c7d7ba5af188dd552b6c67388bb02c Closes-Bug: #1659052
22 lines
858 B
XML
22 lines
858 B
XML
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
|
|
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
|
|
xmlns:wsen="http://schemas.xmlsoap.org/ws/2004/09/enumeration"
|
|
xmlns:n1="http://BarResource">
|
|
<s:Header>
|
|
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
|
|
<wsa:Action>http://schemas.xmlsoap.org/ws/2004/09/enumeration/PullResponse</wsa:Action>
|
|
<wsa:RelatesTo>uuid:8b0bcd65-2005-1005-8026-fd0aa2bdb228</wsa:RelatesTo>
|
|
<wsa:MessageID>uuid:bbe513cd-2009-1009-80ba-fcc71555dbe0</wsa:MessageID>
|
|
</s:Header>
|
|
<s:Body>
|
|
<wsen:PullResponse>
|
|
<wsen:Items>
|
|
<n1:BazResource>
|
|
<n1:InstanceID>5</n1:InstanceID>
|
|
</n1:BazResource>
|
|
</wsen:Items>
|
|
<wsen:EndOfSequence/>
|
|
</wsen:PullResponse>
|
|
</s:Body>
|
|
</s:Envelope>
|