We are developing wrapper service for SMTP which has to be exposed as webservice , where we need the attachments to be obtained using MTOM . (pub.soap.utils:getXOPObjectContent)
Now when we are running the service from SOAP , we are not getting any contents in the email attachment .
We have enable attachment property to "TRUE " in webService and and MTOM property as TRUE in "SOAP UI " .
Any help and thread on this topic will be helpful .
From your post I did not understand if you want to create a MTOM enabled WS provider or a consumer.
Can you please clarify this?
If you want to create a MTOM enabled provider you might need to make also some setting on the Integration Server.
Like the ones below:
watt.server.soap.MTOMStreamiong.enable=true
watt.server.SOAP.MTOMStreaming.cachedFiles.location = leave it to the default location
watt.server.SOAP.MTOMStreaming.threshold = leave it to the default value
However, like it was specified above the WmMtomStreamingSample (in the attachment) is an excellent way to start.
Please also note that in soapUI, you need to make the following settings:
Enable MTOM: true
Disable Multiparts: false
You can use a traffic monitoring and sniffing tool (I used Wireshark) to check that actually the call was done using MTOM streaming.
From your post I did not understand if you want to create a MTOM enabled WS provider or a consumer.
Can you please clarify this?
If you want to create a MTOM enabled provider you might need to make also some setting on the Integration Server.
Like the ones below:
watt.server.soap.MTOMStreamiong.enable=true
watt.server.SOAP.MTOMStreaming.cachedFiles.location = leave it to the default location
watt.server.SOAP.MTOMStreaming.threshold = leave it to the default value
However, like it was specified above the WmMtomStreamingSample is an excellent way to start.
Please also note that in soapUI, you need to make the following settings:
Enable MTOM: true
Disable Multiparts: false
You can use a traffic monitoring and sniffing tool (I used Wireshark) to check that actually the call was done using MTOM streaming.
I have downloaded WmMtomStreamingSample.zip from here. But for some reason when i installed on my Integration Server, I do not see subfolders under the package. am I doing something wrong? can anyone please advise?
I am really new to this so please bear with me. I too am not seeing anything after the installation. When I look at the Package Information, it shows that 0 Elements were loaded and 0 Elements were not loaded. It also indicates that there were no load errors or warnings. So… exactly how do I check the version of the package and check my wM version and how do I determine if they are compatible?
please check server.log for error messages during package loading.
There should be a message for your package with reference to missing or disabled packages or incompatible package versions on which your affected package depends.
See package overview page for dependency informations (also available via manifest.v3 file in the package directory).