I'm trying to send attachment directly in pipeline to test some functionalities. But I'm not sure how to send an attachment. When I send it through SoapUI it works, but I'm unable to figure it out how to send it directly in pipeline. The reason why i would like to send it that way is that I can check every variable that is created in pipeline to find problems quicker.
Picture showing how I'm trying to do this
I get an error when I'm trying to access a file in java method: Failed to evaluate expression for callout to java method "public static java.lang.String pl.dahliamatic.mtom.Mtom.getAttachment(javax.activation.DataSource) throws java.lang.Exception". Argument index: 1, exception: No source was found in source repository with ref 'cid:22'.
I'm probably using the wrong reference to file, but I'm unable to find the right path to attachment.