Error while building Java bindings for the vCloud API via JAXB

I am trying to generate Java binding classes for Vcloud 27 schema files.

I followed the guide on HOWTO: Build Java bindings for the vCloud API via JAXB  but i got the following error.

This is the command i ran

${JAVA_HOME}/bin/xjc -d <target dir> -catalog etc/schemas/external/catalog.xml -b etc/1.5/schemas/vcloud/vcloud.xjb -b etc/1.5/schemas/vcloud/ovf.xjb -b etc/1.5/schemas/extension/vmwextensions.xjb etc/1.5/schemas/master/master.xsd etc/1.5/schemas/extension/vmwextensions.xsd

This is the error i got

[ERROR] src-resolve: Cannot resolve the name 'vcloud-ext:VimObjectRefsType' to a(n) 'type definition' component.

  line 331 of file:/c:/user/schema-files/1.5/schemas/admin/providerVdc.xsd

Failed to parse a schema.

What should i do to fix this error.

Tags (3)
0 Kudos
1 Reply
VMware Employee
VMware Employee

Kindly raise a ticket with VMware SDK support team for such queries.

0 Kudos