MTOM using SoapUI and OSB by Martien van den Akker
December 22, 2015 Leave a comment
MTOM (Message Transmission Optimization Mechanism) is incredibly hard… to find practical information about, on SoapUI and OSB. There are loads of articles. Like:
- Sending attachment: MTOM / XOP vs SWA and inline attachment, by Steve Djajasaputra
- Osb 10gR3 and SwA and Mtom, by Roger van Kimmenade, this is about sending messages using MTOM. But unfortunately the WSDL’s are not XML-encoded and therefor only visible in the page-URL.
But I need to process documents that are send using MTOM to my service. And to be able to test it, I need to create a working example of a SoapUI project to do exactly that. Also about SoapUI and MTOM there are loads of examples, and it is quite simple really. But I had a more complex wsdl that I was able to use for Soap with Attachments (SwA) wich is also simple really. But how to connect those two in a simple working example? Well, actually, it turns out not so hard either… So bottom-line, MTOM with SoapUI and OSB is not so hard. If you know how, that is.
So let’s work this out on a step-by-step basis.
XSD/WSDL
I’ll start with a simple XSD: Read the complete article here.
For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.
Blog
Twitter
LinkedIn
Facebook
Wiki