Questions tagged [mtom]

Message Transmission Optimization Mechanism (MTOM) is a method to efficiently send binary data to and from Web services, it is a W3C Recommendation.

366 questions
8
votes
1 answer

Parse/deserialize MTOM/XOP Data .NET

How can I parse/deserialize a MTOM/XOP response that I get from a web service using WCF? I have the response on disk. I have copied the response below: Date: Wed, 02 May 2012 09:38:57 GMT Server: Microsoft-IIS/6.0 P3P:CP="BUS CUR CONo FIN IVDo ONL…
user349026
7
votes
2 answers

MTOM Encoding and Custom binding

How do I configure custom binding and MTOM encoding? I have a custom binding like given below,
blue
  • 833
  • 2
  • 12
  • 39
6
votes
4 answers

How do I use WcfCoreMtomEncoder in a .Net Core project?

I want to use this WcfCoreMtomEncoder lib here in my .Net Core project but I'm not sure how to use it syntactically. I have this code below but can't use MessageEncoding because I'm in a .Net Core project (no mtom support): var binding = new…
chuckd
  • 13,460
  • 29
  • 152
  • 331
6
votes
2 answers

SOAP request with mtom attachment: No attachment for id found in [attachment]

I try to connect to a SOAP web service using SoapUI (5.3.0). Additionally an mtom attachment should be send along. But it seems that there is some problem sending the attachment - I always get the following error message as a response: No…
Lonzak
  • 9,334
  • 5
  • 57
  • 88
6
votes
0 answers

Sending File with SOAP MTOM in PHP

I need to create a SOAP request using MTOM. I have tried modifying __doRequest, but without any success. Is there any way to implement this in PHP? Below is the required request format,
73ey
  • 71
  • 3
6
votes
2 answers

MTOM Not Writing Data in Chunks

We have a use case where we have to transfer Large data files from environment A to environment B over http. What we want to achieve is that the sender sends the data in chunks and receiver starts writing it in file in chunks. Thus we decided to use…
Sudeep
  • 149
  • 2
  • 10
6
votes
2 answers

File not uploading properly when use MTOM in SoapUI

I am using SoapUI 5.1.3 version. I am sending below request to the we service.
lakshman
  • 2,641
  • 6
  • 37
  • 63
6
votes
0 answers

WCF MTOM - Support Non-Binary Formats

I am creating a WCF SOAP service which accepts MTOM messages. In general everything is working as expected, however it seems that my service only accepts attachments which are binary encoded. For example, if the attachment is sent like this (notice…
jjathman
  • 12,536
  • 8
  • 29
  • 33
6
votes
1 answer

The maximum buffer size has been exceeded while reading MTOM data

I have to consume an external web service, but I'm getting the following error: The maximum buffer size (65536) has been exceeded while reading MTOM data Before today, I was consuming the same service using the following configuration: …
xkcd
  • 2,538
  • 11
  • 59
  • 96
6
votes
2 answers

Building large MTOM/XOP messages with JAX-WS

I have a question about using MTOM/XOP with JAX-WS. I'm writing a web service which sends large amounts of binary data. The client requests a number of files and the server returns the files in the response. I'm able to get it to build the…
Michael
  • 34,873
  • 17
  • 75
  • 109
6
votes
2 answers

WCF client talking to Java WS, exception: The content type application/xop+xml; type="application/soap+xml" of the response message

I'm having problems talking to Java WS. I'm using "wsHttpBinding" binding with client certificates for authentication, message encoding is set "Text", .net framework is 4.0. Server side is Java and I have no control over it. Connection is being…
alemarko
  • 61
  • 1
  • 4
6
votes
2 answers

WCF: "Error creating reader for MTOM message"

Trying to get MTOM working in a WCF client. The particular function I'm trying to consume sends an MTOM-encoded byte array of a PDF document. Using SoapUI to test the API using the WSDL works fine; however, when I try to do the same thing in the…
Ant
  • 545
  • 1
  • 9
  • 26
6
votes
1 answer

Streaming with WCF and MTOM

I am using WCF bindings with streamed transfer mode, for both uploading and downloading binary content to/from a service. I've managed to get it working. I'll include the configuration, contracts, etc for reference. I've made some tests to benchmark…
Yiğit Yener
  • 5,796
  • 1
  • 23
  • 26
6
votes
0 answers

How do I force CXF to use a DataHandler for base64binary types without modifying the WSDL?

I'm working on changing our implementation of a SOAP service from using Axis2 to using JAX-WS (technically, the CXF implementation provided by JBossWS on AS 7) and I've run into an issue that's preventing me from switching the final remaining method…
6
votes
1 answer

SOAP MTOM attachments with Linux CURL

So far I've been sending attachments with SOAP using simple base64 encoding and placing them inline - all done by CURL. Now I have a new request, where attachments need to be sent as MTOM attachments, the question is: is it possible with linux curl?…
WojtusJ
  • 1,318
  • 1
  • 12
  • 19
1
2
3
24 25