Is it possible to use MTOM in reponse of CXF RESTful Web Service

强颜欢笑 提交于 2019-12-01 08:45:47

MTOM is specific to SOAP so I would argue that it is incompatible with a RESTful architecture. However, HTTP supports multi-part content naturally, so you can do everything that MTOM does in HTTP directly.

If you really wanted you could use XOP for packaging your multi-part content like MTOM does, but it really isn't necessary.

MTOM is solving a problem that HTTP already solved.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!