search cancel

Error importing Certification Extension in Performance Management

book

Article ID: 187598

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

Adding a new Metric to an existing Metric Family and Vendor Certification.
 
The new Metric is added in the Metric Family extension.
 
When using a REST call (PUT) to import a Vendor Certification extension to add the Attribute and expression for the new metric, the follow error is seen.
 

  <statusCode>406</statusCode>

    <statusMessage>The request supplied an invalid XML payload.</statusMessage>

    <errorText>Error on line 10: cvc-complex-type.2.4.a: Invalid content was found starting with element 'IsKey'. One of '{DefaultValue, AttributePersistenceStrategy, AttributeTypeExtension}' is expected.</errorText>

    <statusMessageTag>com.ca.im.item.ws.impl.TypeCatalogWebServiceHandlerImpl.genericXMLError</statusMessageTag>

Cause

Incorrect Vendor Certification internal name used in extension XML code.

Environment

Release : 3.7

Component : IM Certifications

Resolution

Ensure both the Vendor Certification internal name in the URL used to PUT the extension, and the name set in "<FacetType name=" are the same.