VMware Cloud Community
Saurabh20111014
Contributor
Contributor

ReadNextEvents returns data type mismatch error.

Hi,

I am writing a C application using gSOAP and trying to query VM Migration events from vCenter. In the CreateEventHistoryCollector() I am giving type as "VMBeingMigratedEvent".

When I do ReadNextEvents(), I get data type mismatch error probably because as per WSDL file the returnval should be of type "Event" but we are getting "VMBeingMigratedEvent".

Any idea how to fix this issue ?

Regards,

Saurabh

0 Kudos
0 Replies