Various Sample Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Nicolas Massé 51ace85dc5 merging the My-Shop and WebAPI-Samples repositories 10 years ago
..
build merging the My-Shop and WebAPI-Samples repositories 10 years ago
doc merging the My-Shop and WebAPI-Samples repositories 10 years ago
src merging the My-Shop and WebAPI-Samples repositories 10 years ago
wsdl merging the My-Shop and WebAPI-Samples repositories 10 years ago
.gitignore merging the My-Shop and WebAPI-Samples repositories 10 years ago
README.md merging the My-Shop and WebAPI-Samples repositories 10 years ago
build.sh merging the My-Shop and WebAPI-Samples repositories 10 years ago

README.md

MTOM Sample Server Code

Introduction to MTOM

MTOM is a standard to attach a file to a SOAP message (others way to do so are: MIME Attachments or in-line base64).

For a good introduction to MTOM read :

How to know when a SOAP Message use MTOM ?

The easy way :

  • The HTTP request is a mime multipart
POST /path/to/ws HTTP/1.1
Content-type: multipart/related; start="bla"; type="application/xop+xml"; boundary="uuid:bla...";
  • The SOAP Payload contains Include elements in the namespace http://www.w3.org/2004/08/xop/include
<xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include"
  href="bla bla bla">

MTOM Server Code Setup

See the documentation.