<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: .NET API does wrong serialization? cDOT (ontap-8-2-2.dll, ontap-8-3.dll) in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NET-API-does-wrong-serialization-cDOT-ontap-8-2-2-dll-ontap-8-3-dll/m-p/106049#M1516</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how does the header llook like? I would like to understand which libraries you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using System;&lt;BR /&gt;using System.Text;&lt;BR /&gt;using System.Collections.Generic;&lt;/P&gt;&lt;P&gt;using NetApp.Manage;&lt;/P&gt;&lt;P&gt;[...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;###&lt;/P&gt;&lt;P&gt;or e.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;using NetApp;
using NetApp.Filer;
using NetApp.Filer.System;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rabé&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jun 2015 12:59:24 GMT</pubDate>
    <dc:creator>rtoubali</dc:creator>
    <dc:date>2015-06-10T12:59:24Z</dc:date>
    <item>
      <title>.NET API does wrong serialization? cDOT (ontap-8-2-2.dll, ontap-8-3.dll)</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NET-API-does-wrong-serialization-cDOT-ontap-8-2-2-dll-ontap-8-3-dll/m-p/105186#M1488</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a problem to filter the resultset with the .NET implementation of the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when i try to filter the QTree result&amp;nbsp;with:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008080"&gt;NaFiler &lt;/FONT&gt;filer = &lt;FONT color="#0000ff"&gt;new&lt;/FONT&gt; &lt;FONT color="#008080"&gt;NaFiler&lt;/FONT&gt;("&lt;FONT color="#800000"&gt;Server&lt;/FONT&gt;");&lt;/P&gt;&lt;P&gt;filer.Protocol = &lt;FONT color="#008080"&gt;ServerProtocol&lt;/FONT&gt;.HTTPS;&lt;/P&gt;&lt;P&gt;filer.Credentials = &lt;FONT color="#0000ff"&gt;new&lt;/FONT&gt; System.Net.&lt;FONT color="#008080"&gt;NetworkCredential&lt;/FONT&gt;(&lt;FONT color="#800000"&gt;@"…"&lt;/FONT&gt;);&lt;/P&gt;&lt;P&gt;filer.ForceUseUnsecure = &lt;FONT color="#0000ff"&gt;true&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff"&gt;var&lt;/FONT&gt; rObj = (&lt;FONT color="#0000ff"&gt;new&lt;/FONT&gt; NetApp.Filer.Cluster.Qtree.&lt;FONT color="#008080"&gt;QtreeListIter&lt;/FONT&gt;() { Query = &lt;FONT color="#0000ff"&gt;new&lt;/FONT&gt; NetApp.Filer.Cluster.Qtree.&lt;FONT color="#008080"&gt;QtreeInfo&lt;/FONT&gt;() { Volume = "&lt;FONT color="#800000"&gt;server&lt;/FONT&gt;_prj01" } }).Invoke(filer);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i get all qtrees from all volumes because the .NET API does a wrong serialization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is what the .NET API sent to the Server: (missing &amp;lt;qtree-info&amp;gt; tag)&lt;/P&gt;&lt;PRE&gt;&amp;lt;&lt;FONT color="#993300"&gt;qtree-list-iter&lt;/FONT&gt;&amp;gt;
  &amp;lt;&lt;FONT color="#993300"&gt;query&lt;/FONT&gt;&amp;gt;
    &amp;lt;&lt;FONT color="#993300"&gt;id&lt;/FONT&gt; &lt;FONT color="#ff0000"&gt;p3:nil=&lt;FONT color="#0000ff"&gt;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;true"&lt;/FONT&gt; &lt;FONT color="#ff0000"&gt;xmlns:p3=&lt;/FONT&gt;&lt;FONT color="#0000ff"&gt;"http://www.w3.org/2001/XMLSchema-instance"&lt;/FONT&gt; /&amp;gt;
    &amp;lt;&lt;FONT color="#993300"&gt;volume&lt;/FONT&gt;&amp;gt;server_prj01&amp;lt;/&lt;FONT color="#993300"&gt;volume&lt;/FONT&gt;&amp;gt;
  &amp;lt;/&lt;FONT color="#993300"&gt;query&lt;/FONT&gt;&amp;gt;
&amp;lt;&lt;FONT color="#993300"&gt;/qtree-list-iter&lt;/FONT&gt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the API must send something like this:&amp;nbsp; (this works as expected with zapi explorer)&lt;/P&gt;&lt;PRE&gt;&amp;lt;&lt;FONT color="#993300"&gt;qtree-list-iter&lt;/FONT&gt;&amp;gt;
  &amp;lt;&lt;FONT color="#993300"&gt;query&lt;/FONT&gt;&amp;gt;
    &amp;lt;&lt;FONT color="#993300"&gt;qtree-info&lt;/FONT&gt;&amp;gt;
      &amp;lt;&lt;FONT color="#993300"&gt;volume&lt;/FONT&gt;&amp;gt;server_prj01&amp;lt;/&lt;FONT color="#993300"&gt;volume&lt;/FONT&gt;&amp;gt;
    &amp;lt;&lt;FONT color="#993300"&gt;/qtree-info&lt;/FONT&gt;&amp;gt;
  &amp;lt;&lt;FONT color="#993300"&gt;/query&lt;/FONT&gt;&amp;gt;
&amp;lt;&lt;FONT color="#993300"&gt;/qtree-list-iter&lt;/FONT&gt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is this a known problem? is there a workaround or update planed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 04:17:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NET-API-does-wrong-serialization-cDOT-ontap-8-2-2-dll-ontap-8-3-dll/m-p/105186#M1488</guid>
      <dc:creator>Ricardo2F06FA</dc:creator>
      <dc:date>2025-06-05T04:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: .NET API does wrong serialization? cDOT (ontap-8-2-2.dll, ontap-8-3.dll)</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NET-API-does-wrong-serialization-cDOT-ontap-8-2-2-dll-ontap-8-3-dll/m-p/106049#M1516</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how does the header llook like? I would like to understand which libraries you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;e.g.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;using System;&lt;BR /&gt;using System.Text;&lt;BR /&gt;using System.Collections.Generic;&lt;/P&gt;&lt;P&gt;using NetApp.Manage;&lt;/P&gt;&lt;P&gt;[...]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;###&lt;/P&gt;&lt;P&gt;or e.g.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;using NetApp;
using NetApp.Filer;
using NetApp.Filer.System;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rabé&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2015 12:59:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/NET-API-does-wrong-serialization-cDOT-ontap-8-2-2-dll-ontap-8-3-dll/m-p/106049#M1516</guid>
      <dc:creator>rtoubali</dc:creator>
      <dc:date>2015-06-10T12:59:24Z</dc:date>
    </item>
  </channel>
</rss>

