The document that is published to the broker contains a list of strings, which is checked against the structure when publishing the document.
webMethods 6.0.1 is used.
During a mapping step, when the list of strings does include only one occurence, then the associated structure is transformed into a string, instead of a list string that contains one occurence. This raises an error when publishing the document to the broker.
As a workarround, the flow is checking the number of entries within the input and additional mapping step can enforce the list structure in case of a single entry. There must be an easier solution: could someone provide a useful tip ?