Registry Services cannot create or update Registration Records with an rdfs:Container rdf:type

Technote (troubleshooting)


Problem(Abstract)


Registry Services fails to create or update a Registration Record if the payload sent along with the HTTP request contains an <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>.

Symptom

When you try to create or update a Registration Record and you send a payload that contains an <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>, your request fails with the following message in the log files:

The property has a getter "public java.lang.String.com.ibm.frs.model.rdf.Container.getDecodedUri() throws com.ibm.frs.api.exception.FrsException" but no setter. For unmarshalling, please define setters. (Or if this is a collection property, make sure that the getter returns a collection instance.)

This error message indicates that Registry Services was unable to complete your request successfully because there is an rdfs:Container specified for the <rdf:type> property.


Cause

The unmarshal of the RDF payload sent together with the HTTP request fails because it tries to create a Container object instead of a Registration Record object.

Environment

All supported JazzSM middleware and OS platforms.

Diagnosing the problem

Verify the payload that you are sending together with the HTTP request to create or update a Registration Record.

If this payload contains a <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/>, then Registry Services returns an HTTP status code 400 (Bad Request) with a corresponding error message. The HTTP request fails.

Resolving the problem

The solution for this defect is available in the 1.1.0-TIV-JazzSM-Registry-multi-FP001 package.


Ensure that you have this Registry Services Fix Pack 1.1.0.1 version or later installed in your environment.

Workaround:

1) Remove the <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Container"/> from the Registration Record payload.

Related information

Creating Registration Records
Updating Registration Records

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Tivoli Components
Jazz for Service Management

Software version:

1.1

Operating system(s):

AIX, Linux, Windows

Reference #:

1646422

Modified date:

2014-09-03

Translate my page

Machine Translation

Content navigation