White Papers
16 No Restrictions | Filter Dialects |
4 Fragment Transfer
Fragment Transfer may also be an effective way to assist in filtering unnecessary data. In other transfer
methods, transfer is done at instance level. However, Fragment Transfer enables to perform fragment or
property level transfers while doing GET or ENUMERATION operation. In winrm, -fragment:<Property Name>
should transfer only the property specified in <Property Name> option.
The following SOAP packet indicates the process to get only the InstanceIDs from an enumeration of
LCEnumeration.
<?xml version="1.0" encoding="utf-8"?>
<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:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd">
<s:Header>
<wsa:Action
s:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enu
merate</wsa:Action>
<wsa:To s:mustUnderstand="true"> Service Transport Address </wsa:To>
<wsman:ResourceURI
s:mustUnderstand="true">http://schemas.dell.com/wbem/wscim/1/cim-
schema/2/DCIM_LCEnumeration</wsman:ResourceURI>
<wsa:MessageID s:mustUnderstand="true">urn:uuid:21a0e230-b644-11e3-8ef4-
2cd05a84c9be</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous<
/wsa:Address>
</wsa:ReplyTo>
<wsman:SelectorSet>
<wsman:Selector Name="__cimnamespace">root/dcim</wsman:Selector>
</wsman:SelectorSet>
<wsman:FragmentTransfer
s:mustUnderstand="true">InstanceID</wsman:FragmentTransfer>
</s:Header>
<s:Body>
<wsen:Enumerate>
...
</wsen:Enumerate>
</s:Body>
</s:Envelope>