Trying to perform a SOAP Execute to send attachments as PDF and XML using the MTOM transmission as mentioned in the document below.
The scenario works correctly when the filename is provided statically(hardcoded), however fails if the filename is provided dynamically using the expression language .
Fails with these settings(dynamic) and below error
File not found on null at /api/1/rest/slfs/lease/Partners/*****/ POC/$filenamexml
Works with these settings(hardcoded).
Result on Mock service
However the strange part is that you see that whatever values were provided as expression language did not get evaluated in the Attachments sections but got evaluated on the Customize Envelope section.
It seems the expression language evaluator does not work on the attachments section even when configured correctly. Anyways to resolve this? I am guessing there is some technical problem with the snap itself.
The mapper data before the execution.