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

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -