Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Invoking a specific API from View Composer results in client side de-serialization error (2056580)

Details

While using View Composer, if you attempt to monitor tasks of the private API calls in vCenter Server by using the public Clients-VMware Web Services SDK, it might result in org.xml.sax.SAXException: No deserializer for {urn:vim25}ArrayOfCbrcDigestRecomputeResult exception.

Solution

Clients that hold access to task oriented APIs can only get the task completed status object by using the waitForUpdatesEx() method and public clients cannot have access to any of the internal API result objects visible by TaskHistoryCollectors.

Workaround: To work around this issue, perform one of the following actions:

  • Disable CBRC.
  • Capture the exception in the application program.
  • Add the following XML manually into the Web Service Description Language (WSDL) file distributed as part of the SDK and rebuild the SDK:
    <complexType name="CbrcDeviceSpec">
    <complexContent>
    <extension base="vim25:DynamicData">
    <sequence>
    <element name="deviceKey" type="xsd:int" minOccurs="0" />
    <element name="vm" type="vim25:ManagedObjectReference" minOccurs="0"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="CbrcDigestRecomputeResult">
    <complexContent>
    <extension base="vim25:DynamicData">
    <sequence>
    <element name="spec" type="vim25:CbrcDeviceSpec" minOccurs="0" />
    <element name="fault" type="vim25:LocalizedMethodFault" minOccurs="0"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="ArrayOfCbrcDigestRecomputeResult">
    <sequence>
    <element name="CbrcDigestRecomputeResult" type="vim25:CbrcDigestRecomputeResult" minOccurs="0" maxOccurs="unbounded" />
    </sequence>
    </complexType>

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 0 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 0 Ratings
Actions
KB: