How to send files in a SOAP web service with Spring WS -
i creating first soap web service spring ws following article http://static.springsource.org/spring-ws/sites/2.0/reference/html/tutorial.html. far seems make sense , explained. however, have need send image file along data.
for example, send: username = foobar profileimage = <some file>
i understand spring ws uses contract first approach have make wsdl first (either generate or make hand).
question
but how can allow files sent (as attachments or other means).
also, using spring ws grails plugin
check out mtom sample project on github.
Comments
Post a Comment