Message Transmission Optimization Mechanism (MTOM) is a method to efficiently send binary data to and from Web services, it is a W3C Recommendation.
Questions tagged [mtom]
366 questions
0
votes
0 answers
non mtom request / mtom response ( can't get mtom attachment)
I'm new to Mtom topic. I try to build an Mtom message with attachment in response while my request is string. I tested it with SOAPUI but the resnpose is not in Mtom format and is like inline message:

Hasti Keyvan
- 1
- 2
0
votes
1 answer
Oracle Service Bus - Decoding of MIME attachments from MIME Content-Transfer-Encoding='7bit' not supported
I've developed a proxy service in OSB 12c with MTOM enabled
I can send binary files successfully as pdf, doc, ppt or xls, but as soon as I send a text file the following error arises:
REQUEST:

jmhostalet
- 4,399
- 4
- 38
- 47
0
votes
1 answer
SOAP 1.2 mtom enabled service sending LF characters in response PDF
We are building a SOAP 1.2 MTOM enabled web service which returns 2 PDFs , this web service is also hosted on a linux server. Our issue is - these PDFs are not being parsed due to existence of LFs. We found that while building the response , JAXWS…
0
votes
2 answers
Duplicated MTOM policy on Weblogic 12.1.3
I'm developing download service using MTOM on weblogic 12.1.3 using JAX-WS. After deploy my wsdl has added two "MTOM" policies:

user1847364
- 31
- 3
0
votes
0 answers
Confuming WCF Web service
I'm a web service consumer and I'm getting an error like below. My message encoding type is Mtom. What could cause this?
My code
EndpointAddress epa = new EndpointAddress(this.EndPointAddress);
BasicHttpBinding sslbinding = new…

pelitahmet
- 41
- 5
0
votes
1 answer
MTOM Java WebServices authentication
Im looking for a simple and secure way to authenticate users throug axis2/mtom webservice...
Something like http authentication... or session cookie auth.
A live example will help me a lot.
I have this webservice that receive an image and process…

Garis M Suero
- 7,974
- 7
- 45
- 68
0
votes
1 answer
How do I enable MTOM on the server side for a Web Service published using Grails with CXF?
Using Grails and CXF, I have published a small web service that looks like this
class TestService {
static expose=['cxf']
int pushData(int id, DataHandler data) {
//receives data for a specific ID,
return 1
}
}
The…

Lars Andren
- 8,601
- 7
- 41
- 56
0
votes
1 answer
Does WSDL need any changes when applying MTOM to a web service?
So, let's assume I have a simple web service in which I am not using attachments. And then I would like to start sending attachements via MTOM. Do I need to change anything in a WSDL file? As far as I know I don't have to make changes there, but I…

ctomek
- 1,696
- 16
- 35
0
votes
1 answer
wso2 esb mtom - Error in extracting message properties - Invalid byte 2 of 3-byte UTF-8 sequence
I have a wso2esb proxy that calls a Cxf SOAP WebService (deployed on Tomcat) and also a REST api that calls the same Cxf WS (with the payload transformation request: JSON->XML and response: XML->JSON).
The service is annotated with @MTOM.
All works…

P. Buccigrossi
- 121
- 8
0
votes
1 answer
How do you set the filename for a JAXWS MTOM Attachment?
I'll update this with a code example in the morning but I have a basic JAX-WS implementation used to download a generated file via MTOM and the the file that get's attached when I test it in SOAPUI has a random filename even though the DataSource…

Shawn
- 119
- 1
- 11
0
votes
1 answer
Rewriting "Content-Type" header and MIME boundaries with JAX-WS and MTOM/XOP
I have a specification I need to comply with, which makes some rather unusual demands (for historical reasons) when providing and using a Web Service using MTOM/XOP:
To summarize, the Content-Type HTTP Header has to be coded like this:
The…

dkessel
- 43
- 8
0
votes
1 answer
mtom return always attachment witi content-type = "image/png"
In my example of soap mtom optimization I've realized an project on Tomcat 7, metro (glassfish) in which I've got:
XSD
…

user1427928
- 11
- 3
0
votes
2 answers
WSO2 ESB sending MTOM encoded request from proxy service
I need to send MTOM encoded request from WSO2 ESB proxy service.
I'm setting parameters:

tyfyh
- 333
- 2
- 15
0
votes
1 answer
Alternative to DataSourceStreamingDataHandler for MTOM testing
In a JUnit test I am using the class com.sun.xml.internal.ws.encoding.DataSourceStreamingDataHandler which is bad because it is an internal class and Maven refuses to compile my JUnit tests even with -DskipTests flag.
My JUnit test is:
@Test
public…

Vitaly Olegovitch
- 3,509
- 6
- 33
- 49
0
votes
1 answer
How do i change the property of jaxrs endpoint to support "mtom"
I created a RESTful web service, and I want to send binary files to this service without SOAP.
There are some information on CXF website:
XOP
But I can't find a way to get the CXF JAX-RS endpoints, and set an mtom-enabled property.
My Spring config…

Pengyi Wang
- 123
- 1
- 16