I have been struggling with the following problem for the past 2 days on and off.
I want to call a web service method that is exposed in a WSDL using SOAP 1.1 by another department in the company.
As it is about uploading some documents to their server, they have implemented this using MTOM.
I have created a consumer in my Integration Server to be able to call the method and also I have tried to use MTOM on my side for streaming the document that I am sending (which can be pdf, tif, etc.).
However when I check with a traffic monitoring tool (in my case Wireshark) i see that the call is NOT made using MTOM.
After some reading I found out that to use MTOM streaming you need to set the following property on the consumer in IS:
Attachment enabled: true.
However when I try to set it, I get the following exception:
“Attachments are not supported with SOAP 1.1 Protocol”
I do not know what is the problem because usually MTOM works with SOAP 1.1 as well.
Did you had this problem before?
What should I do?
I cannot go to the other department and ask them to expose their services with SOAP 1.2.
The problem is very obvious when I try to upload big files. In this cases without MTOM Streaming I am hopeless.