soap attachments with spring-boot

How do I extract multipart attachments from the request using spring-boot web services?

This is what works for the main body:

public class Endpoint {

    @PayloadRoot(namespace = NAME_SPACE, localPart = "PostRq")
    public JAXBElement<PostRsType> post(@RequestPayload JAXBElement<PostRqType> postRq) throws Exception {
        // soap body is postRq, how do I get content of attachments?


How do I extract attachments? Should there be something like @RequestAttachments Iterator attachments?

Just in case, I'm talking about the kind of attachments you use Attachment tab for in SoapUI (link) and the kind of attachments you get from javax.xml.soap.SOAPMessage.getAttachments()