Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

| Views: 1757
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.

When SoapUI adds the file, it doesn't select the part for you. This needs to match the cid part ID 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 body.

That's all there is! The request will then be sent as an MTOM request.


Have comments or feedback on what I wrote? Please share them below! Found this useful? Consider sending me a small tip.
comments powered by Disqus
Other posts you may like...