To explicitely log return messages from a recorded transaction go to the Return Messages tab.

ta_rec_feature_16

By clicking on Generate a custom data type for return values containing the message ID and the return message text will be automatically created.

ta_rec_feature_17

ta_rec_feature_18

A return parameter using this custom data type has to be created manually and can then be used in the Return Messages screen a mapping value.

ta_rec_feature_19

ta_rec_feature_20

After that the web service can be deployed and will display readable return messages in the web service return body.

ta_rec_feature_21