So far I've been sending attachments with SOAP using simple base64 encoding and placing them inline - all done by CURL. Now I have a new request, where attachments need to be sent as MTOM attachments, the question is: is it possible with linux curl? Probably I would need a content-type of multipart/related
or similar.
I can see that it is possible using JAX-WS, but in order to do this we would have to develop a new client which isn't actually the best option for us.
Please, tell me if it is possible, and if yes, give me any hints how to do it.