XML-binary Optimized Packaging - convention for serialization of XML Infosets.
Questions tagged [xop]
44 questions
10
votes
3 answers
WCF: (MTOM) is there any way to change the scheme used in xop:Content reference uris generated by WCF?
WCF uses http://tempuri/1/number for Content-ID uri references when handling streamed MTOM requests.
Is there any way how to force WCF to use a different Content-ID references for the xop:Include?
Background of the problem:
I am building a .NET…

Marek
- 10,307
- 8
- 70
- 106
8
votes
3 answers
How to parse XOP/MTOM SOAP response using java?
I just want to know, is there any simple way for parsing MTOM/XOP SOAP response.
The problem is that I use plain HTTP to send soap message and javax.xml for parsing response. But some services responds me with mulipart/related and it requires…

Oleg Kandaurov
- 316
- 1
- 6
- 12
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
0 answers
How can I parse an inbound message with MTOM attachments under Metro without pulling in all the attachment data?
Using JAX-WS-RI or Metro I can write a WebService using the com.sun.xml.ws.api.server.AsyncProvider interface.
I can choose to get the whole message including the SOAP headers
import javax.xml.transform.Source;
import…

JFK
- 1,527
- 16
- 21
5
votes
3 answers
How can I define an XML schema element that allows either base64 content or an xop:Include element?
I have a XML schema that defines an element that may be either base64 text or an xop:Include element. Currently, this is defined as a base64Binary type:
When I…

mek363
- 415
- 1
- 4
- 13
5
votes
1 answer
Upload file via Soap message using MTOM in iOS
I have found here Upload file via Soap message in detail. But i have another issue if there is large file in Soap then it creates memory issues cause of file loads in memory for sending via Soap message.
I read about MTOM (Message Transmission…

Arpit Kulsreshtha
- 2,452
- 2
- 26
- 52
5
votes
0 answers
MTOM/XOP implementation for Rails
Our rails app requires to receive and parse SOAP requests with MTOM/XOP attachments (http://www.w3.org/TR/xop10/). Are there known solutions for rails?
Here is an example of a request (taken from the link above):
MIME-Version: 1.0
Content-Type:…

Sancho.RubyROID
- 121
- 5
3
votes
2 answers
WSE 3.0 - Byte array being encoded as Base64 and not "MTOM-ing" to binary
I have a couple of other questions on here surrounding this area but they are a bit redundant now. Any answers to them would also be appreciated but this question is my main concern at the minute.
I have followed lots of examples of how MTOM/XOP…

anothershrubery
- 20,461
- 14
- 53
- 98
3
votes
1 answer
HTTP POST request and headers with MIME attachments multipart/related and xop?
I'm trying to upload a bulk data exchange call to eBay using their FileTransfer API.
In order to do this, I've got to POST an xml request string to the eBay server but the xml
request contains a section that must include the data you're…

Wes
- 954
- 13
- 25
3
votes
2 answers
Is SAAJ compatible with MTOM + XOP?
I´m trying to use MTOM + XOP to return a byte[] in a Spring Web Service but when marshalling result it throws a SAXParseException with message:
cvc-type.3.1.2: Element 'dataHandler' is a simple type, so it must have no element information item…

leaqui
- 533
- 6
- 22
3
votes
0 answers
How to download attachment from XOP/MTOM response
We use a third party service which returns attachments as web service response in the xop format as below
232
34343
…

truthfinder
- 31
- 2
3
votes
1 answer
Creating MTOM and Deserializing it
I have been using some code to create MTOM by using code from MSDN.
It seems that there is an error and I cannot understand where the problem lies as one of the users on the forum pointed out that there is an error.
The file (JPEG) data get…
user349026
2
votes
0 answers
parse XOP/MTOM response using java boundary error
I tried the solution given in the topic discussion https://stackoverflow.com/a/37503560/9623898 but i am getting error - javax.mail.MessagingException: Missing start boundary

Prajakta Tarey
- 21
- 4
2
votes
0 answers
How to send Video File using SOAP/MTOM
I want to upload large size video from my android app, I am using SOAP services to communicate with server, Can any one tell me any way to do this without converting video to Base64 encoded string and sending it to server in SOAP request as it is…

DCoder
- 3,486
- 7
- 36
- 68