This is a quick guide on how to create an MTOM
enabled request in SoapUI
. The process is actually very simple with only a small catch.
First you need to set the request properties to enable
and force MTOM
Then, on the attachments tab click the + icon
and select a file to attach.
You have the option of caching the file inside the request or not, I usually chose to cache it just in case the original file is deleted.
adds the file, it doesn't select the part for you. This needs to match the cid
from within the request. That's the minor catch I mentioned earlier.
It's just a matter of clicking the table cell under the 'Part'
column and selecting the ID
to match the ID
inside the SOAP
That's all there is! The request will then be sent as an MTOM
Hope you found this post useful...
...so please read on! I love writing articles that provide beneficial information,
tips and examples to my readers. All information on my blog is provided free of
charge and I encourage you to share it as you wish. There is a small favour I ask in return however -
engage in comments below, provide feedback, and if you see mistakes let me know.
If you want to show additional support and help me pay for web hosting and
domain name registration,
donations, no matter how small, are always welcome!
Use of any information contained in this blog post/article is subject to this disclaimer
Other posts you may like...