Announcement Announcement Module
Collapse
No announcement yet.
Spring-WS with SOAP with attachements or MTOM Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring-WS with SOAP with attachements or MTOM

    I have a Spring-WS web service where i would like to be able to send back binary data to the client. My intention is to format the SOAP response to either use MTOM or Soap with attachements.

    I have already setup the Spring-WS environment and can send and receive requests. I am however struggling to setup the Binary attachement response.

    Two questions:

    Which is the recommended approach for returning binary data to the client? SOAP with attachements, MTOM or just simply return the base64encoded data as an xml tag?

    Are there any examples that shows how to configure Spring-WS to return Binary attachments using either of the two methods?
Working...
X