IBM Support

anyType datatype does not map to UnstructuredContent datatype when migrating from version 6.0.2 to 6.1

Troubleshooting


Problem

WebSphere Adapter for Flat Files does not map the anyType datatype to UnstructuredContent datatype while migrating from version 6.0.2 to 6.1. From 6.1 onwards, Flat File adapter supports UnstructuredContent datatype in place of anytype datatype.

Symptom

When you set the datatype to anyType and migrate the PI from version 6.0.2 to 6.1, the following DataBinding Exception is thrown:

commonj.connector.runtime.DataBindingException: Failed to transform Record to a DataObject instance. Record: com.ibm.j2ca.flatfile.FlatFileInputStreamRecord

Cause

Caused by setting of datatype to be anyType which the Flat File Adapter does not support.

Resolving The Problem

After migrating the PI from version 6.0.2 to 6.1, manually set the Content field as UnstructuredContent datatype under FlatFile.xsd in place of anyType.

[{"Product":{"code":"SSMKUK","label":"WebSphere Adapters Family"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Adapter for FlatFiles","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.1;6.0.2","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 June 2018

UID

swg21446830