cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Soap execute with mtom enabled

johnbilay
New Contributor II

Scenario :-
Trying to perform a SOAP Execute to send attachments as PDF and XML using the MTOM transmission as mentioned in the document below.
https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1437963/SOAP+Execute

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

Reason:

File not found on null at /api/1/rest/slfs/lease/Partners/*****/ POC/$filenamexml
Fail%20setting2 Fail%20setting1
Works with these settings(hardcoded).
Working%20scenario2 Working%20scenario1
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.
Receiver%20success%20but%20strange%20behaviour
Analysis
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.

Additional information
The mapper data before the execution.
Additional%20mapping%20information

7 REPLIES 7

smanoharan
Employee
Employee

@johnbilay: There is a current bug on evaluating the expression fields in the attachment properties of the Soap Execute snap. How critical is this for you?

Hello @smanoharan,

This is of very high priority to us as we need to deliver a working POC for one of a highly potential customers.
And we only have the next 2 days to perform the same. Currently we are working with the workaround of a static file. But we need this functionality to convince clients about the power of Snaplogic as they only accept attachments over MTOM.
It would be great if you can assist us at the earliest as possible.

johnbilay
New Contributor II

Hello @smanoharan,

Do you have an update for us on this?

Regards
Lygel

johnbilay
New Contributor II

Hi @smanoharan,

Any updates on this topic? It is becoming urgent for us. Is there a work around that we can use in the meantime to deal with this type of issues?

Kind regards
John