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

@johnbilay I will have the snapLogic support team to contact you and we will work on it. There isnโ€™t a workaround but solving the expression parsing will be the clean fix here.

Hi @smanoharan,

Do you happen to have any status update on this topic? This is becoming a bottleneck for the project we are working on.

Kind Regards,

Lucas Laumans

Anil
New Contributor III

@johnbilay
@RojoLucas

Hi

Please check if the soap snap accepts the binary content in the Binary Filed of the Attachments property

The pipelines which I am attaching are mst_passBinary and sub_passBinary

  • List item

mst_passBinary will send the mapping fields which are needed for SOAP snap and also the file names of the which should be attached.
sub_passBinary will take the filenames and read the files and provide the BinaryContents of the files to the SOAP snap.
Please add the SOAP snap at the end of the child pipeline and map accordingly.

mst_passBinary_2018_10_31.slp (5.4 KB)
passBinary_2018_10_31.slp (15.0 KB)