One approach:
You can create a “format service” which lets you convert the values but also “validate” the values/contents. It has to meet the Specification Reference: pub.flatFile:Formatservice.
In this service you can raise an error if the value does not match what you want, by setting the “meetsFormat” value to “false”.
Then you assign it to the Field in your schema.
Don’t forget to set the “validate” parameter of “pub.flatFile:convertToValues” to true.
Pros: Most of the definitions of the values are stored in the schema, and you have just to convert/validate contents once
Cons: The definitions of the values are a little bit “hidden”
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB