I'm trying to read Sis info for a Sis volume using .NET Bindings from SDK 5.0. Every time however the result is empty VolumeInfo.Sis structure (all properties are null). I've checked the SOAP envelope via WireShark and the Sis info is present there. It looks like the mapping in the bindings is done incorrectly. Does anybody have a workaround or is it possible to get a rebuilt assemblies?
I've tried all provided dlls from 7.3.1 up to 8.1 - neither works.
Thanks in advance,
public string ProcessRecord()
NaFiler server = null;
server = new NaFiler(_server);
server.Trace = true;
server.Credentials = new NetworkCredential(_user, _password);
<sis><sis-info><state>enabled</state><status>idle</status><progress>idle for 04:08:44</progress><type>regular</type><schedule>sun-sat@0</schedule><last-operation-begin>Tue Oct 2 09:35:19 GMT 2012</last-operation-begin><last-operation-end>Tue Oct 2 09:36:06 GMT 2012</last-operation-end><last-operation-size>26968064</last-operation-size><size-shared>13484032</size-shared><size-saved>13484032</size-saved><percentage-saved>49</percentage-saved><compress-saved>0</compress-saved><percent-compress-saved>0</percent-compress-saved><dedup-saved>13168</dedup-saved><percent-dedup-saved>49</percent-dedup-saved><total-saved>13168</total-saved><percent-total-saved>49</percent-total-saved></sis-info></sis>
1 REPLY 1
Re: VolumeInfo.Sis incorrectly parsed in SDK 5.0 .Net Bindings
OK I kinda fixed it for my own. Basically it's enough to remove <sis-info> there and use generic NaServer.Invoke() followed with regular Xml deserialization from .NET. The input for UseBase is same VolumeListInfo as in first snippet. The code (quick draft):