IBM Support

Enumeration constraint failed error occurs when creating a Map

Troubleshooting


Problem

Error occurs when you open a previously saved map: enumeration constraint failed.

Symptom

The element : '{http://www.stercomm.com/SI/Map}MapFrom has an invalid value according to its data type

This error appears after a new map is closed and reopened.

Cause

The AppReceiverID or SenderId was selected in the Standard Rule Tab but does not exist in the Mapper.xsd

Resolving The Problem

The AppReceiverID does not exist in the Mapper.xsd.
The enumerated value needs to be added after the ReceiverId in the Mapper.xsd.

The correct location in the Mapper.xsd is
<xsd:element name="SubTableNameConstantID" type="xsd:string" minOccurs="0"/>
add
<xsd:enumeration value="AppReceiverID"/>

NOTE: If you have multiple installations of the mapper, make this same change in all of the Mapper.xsd files.

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Mapping and Translation","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.2.6;5.2.5;5.2.4;5.2.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
14 November 2019

UID

swg21695054