<?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>varun27 Tracker</title>
    <link>https://communities.vmware.com/wbsdv95928/tracker</link>
    <description>varun27 Tracker</description>
    <pubDate>Sat, 18 Nov 2023 00:13:34 GMT</pubDate>
    <dc:date>2023-11-18T00:13:34Z</dc:date>
    <item>
      <title>XML serialization not working with VMWare Web Services SDK on C#</title>
      <link>https://communities.vmware.com/t5/vSphere-Management-SDK/XML-serialization-not-working-with-VMWare-Web-Services-SDK-on-C/m-p/2690548#M14404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I have followed the instructions in &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=87402"&gt;http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;amp;cmd=displayKC&amp;amp;externalId=87402&lt;/A&gt;&lt;SPAN&gt; to create Vim25Service2005.dll and Vim25Service2005.XmlSerializers.dll&amp;nbsp; with latest 5.5 SDK downloaded from &lt;/SPAN&gt;&lt;A href="https://developercenter.vmware.com/web/dp/sdk/55/vsphere-management" title="https://developercenter.vmware.com/web/dp/sdk/55/vsphere-management"&gt;vSphere Management SDK for vSphere 5.5 - VMware Developer Center&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, when I try to something like VimService.RetrieveProperties(), it will fail with XML serialization error.&lt;/P&gt;&lt;P&gt;Name: InvalidOperationException&lt;/P&gt;&lt;P&gt;Message: There is an error in XML document (7, 176).&lt;/P&gt;&lt;P&gt;Trace:&amp;nbsp;&amp;nbsp;&amp;nbsp; at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at Vim25Api.VimService.RetrieveProperties(ManagedObjectReference _this, PropertyFilterSpec[] specSet)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went through few links but it did not helped me.&lt;/P&gt;&lt;P&gt;If we do not follow the KB link and build the XML serialize dll it is not throwing any "InvalidOperationException". only vimservice took long time Instantiate for which this KB article wrote.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be Appreciate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When printed inner exception found following...&#xD;
&#xD;
inner System.InvalidOperationException: The specified type was not recognized: name='VirtualIDEController', namespace='urn:vim25', at &amp;lt;device xmlns='urn:vim25'&amp;gt;.&#xD;
&amp;nbsp;&amp;nbsp; at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVimService.Read22_VirtualDevice(Boolean isNullable, Boolean checkType)&#xD;
&amp;nbsp;&amp;nbsp; at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVimService.Read498_VirtualHardware(Boolean isNullable, Boolean checkType)&#xD;
&amp;nbsp;&amp;nbsp; at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVimService.Read502_VirtualMachineConfigInfo(Boolean isNullable, Boolean checkType)&#xD;
&amp;nbsp;&amp;nbsp; at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVimService.Read1_Object(Boolean isNullable, Boolean checkType)&#xD;
&amp;nbsp;&amp;nbsp; at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVimService.Read3_DynamicProperty(Boolean isNullable, Boolean checkType)&#xD;
&amp;nbsp;&amp;nbsp; at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVimService.Read669_ObjectContent(Boolean isNullable, Boolean checkType)&#xD;
&amp;nbsp;&amp;nbsp; at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderVimService.Read1902_RetrievePropertiesResponse()&#xD;
&amp;nbsp;&amp;nbsp; at Microsoft.Xml.Serialization.GeneratedAssembly.ArrayOfObjectSerializer2437.Deserialize(XmlSerializationReader reader)&#xD;
&amp;nbsp;&amp;nbsp; at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)&#xD;
&#xD;
&#xD;
&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 10:39:38 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-Management-SDK/XML-serialization-not-working-with-VMWare-Web-Services-SDK-on-C/m-p/2690548#M14404</guid>
      <dc:creator>varun27</dc:creator>
      <dc:date>2014-05-12T10:39:38Z</dc:date>
    </item>
    <item>
      <title>how to find new lun inside the guest OS through VI SDK API</title>
      <link>https://communities.vmware.com/t5/Sample-Exchange-Discussions/how-to-find-new-lun-inside-the-guest-OS-through-VI-SDK-API/m-p/343001#M2</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My applicaiton is currently sitting inside Virtual machine (Guest OS). With that application I can able to create a RDM lun but I want to map that RDM lun on windows host, so we are going ahead and performing rescan on the initiator which is used to create that RDM lun. After that rescan how can I check whether current lun arrived on ESX host properly, is there any way programatically we can check..?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 05:07:11 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Sample-Exchange-Discussions/how-to-find-new-lun-inside-the-guest-OS-through-VI-SDK-API/m-p/343001#M2</guid>
      <dc:creator>varun27</dc:creator>
      <dc:date>2012-06-29T05:07:11Z</dc:date>
    </item>
    <item>
      <title>How to map the Vmware scsi index (X:X) with windows registry</title>
      <link>https://communities.vmware.com/t5/Backup-Recovery-Discussions/How-to-map-the-Vmware-scsi-index-X-X-with-windows-registry/m-p/341123#M1231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Windows product in which I need to map the following&amp;nbsp; windows registry key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with vmware scsi controller index SCSI (X:X).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem here is the above registry key is not in sync with the scsi controller from vmware.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g. vmware scsi controller will vary from 0...3 but windows registry SCSI Port 'X' will not match with these no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suitable pointer or algo which help me to determine the Hard disk will help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Varun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 12:50:28 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/Backup-Recovery-Discussions/How-to-map-the-Vmware-scsi-index-X-X-with-windows-registry/m-p/341123#M1231</guid>
      <dc:creator>varun27</dc:creator>
      <dc:date>2012-06-26T12:50:28Z</dc:date>
    </item>
  </channel>
</rss>

