...
Also there might be some complication with this issue http://stackoverflow.com/questions/2808967/mtom-request-non-mtom-response.
Possible Solutions
All the solutions are backward compatible.
- One WSDL rule them all
- MTOMize only "blue" operations
- MTOMize all MTOMizable operations
- New WSDLs and endpoints for MTOMized version of API
- Routing
Visualization
1.a
Pros:
- 1.a
- The easiest solution
- The smallest set of operations in the API.
- 1.b
- 2
- 3
Cons:
- 1.a
- It is not transparent for the client when calling, say, ingest() whether the request is MTOMized or not, since the server-side can handle both. This will hold also for method ingestMTOM() from solution 1b).
...
- Not consistent in that sense that not all methods which use MTOM have "MTOM" suffix in their name.