Sunday, April 5, 2009

Web Service Attachments Support Matrix

@YaronNaveh

Many web services require sending or receiving large files. There is an interesting evolution of attachments standards - however today MTOM is the preferred way to do this. Nevertheless not all SOAP stacks support MTOM and in addition some existing services might already employ older techniques. These techniques may include Soap With Attachments (SwA) or WSI attachment profile (SwaRef) MIME attachments or DIME. I have investigated the attachments support of a few known soap stacks: .Net WSE2 & WSE3, WCF, Axis, Axis2, Metro (WSIT), CXF (XFire), gSOAP, SpringWS and JBossWS. The bellow table summarizes the web service attachments support matrix (click to enlarge):



Note: Some of this information I took from the providers web sites which did not always supplied a nice sheet with the list of supported standards. You are encouraged to correct me if I made a mistake.

The conclusion is as expected: MTOM should be used for new web services; If you know you’ll never have .Net clients then you can also use Soap With Attachments (SwA) or WSI attachment profile (SwaRef) MIME attachments; Beware of DIME if you care for I14Y.

@YaronNaveh

What's next? get this blog rss updates or register for mail updates!

5 comments:

Keith Chapman said...

Axis Supports DIME.

Yaron Naveh (MVP) said...

Thanks Keith

I'll update the table later

Unknown said...

Yaron,
Have you a spike for test?

Yaron Naveh (MVP) said...

Luis - what do you mean?

giovanni said...

Axis-1 Supports DIME attachments.
Axis-2 does not support DIME attachments