The following error may appear when you are using the NCF Input Serializer in Deliver or Process mode:
Schema Does Not Exist in Repository(ADK)
The following information message appears a few lines above the message:
message type = ADK
The NCF Input Serializer must have Schema information defined in a schema repository. The message type is a concatenation of <prefix> + <’.IC’> + <schema name> used when loading the schema. This schema is found based on the message type defined for the message. The schema search is based on the prefix name as well as the message type name. The following search order is used:
If the message coming from the transports has the OPT_MSG_TYPE property (option) defined in the RFH for MQSeries message, that message type will be used as the schema name.
If the message does not contain the OPT_MSG_TYPE property, the msg.type key in the configuration file is used.
If the key is not preset, "ADK" is the default message type.
Correct the problem with one of the following:
Add the OPT_MSG_TYPE on the incoming message (make sure MQS_PROPAGATE = PROPAGATE in the putqueue action if running MQSI). Set the prefix key in the configuration file.
If no OPT_MSG_TYPE is set, set the msg.type key and the prefix key in the configuration file.
Verify that the .nmc file has the correct name and is located in the correct directory (<NNSY_ROOT>\NNSYContentRepository\<AppGrp>) on the correct machine.