I\'ve been working in a webservice that consumes and produces JSON files using Apache CXF in conjuction with Jackson. However, one of the service\'s methods should be
For consuming multipart form data. use @consumes tag & provide "multipart/form-data" along with value parameter like
@Consumes(value = "multipart/form-data")
refer https://jnorthr.wordpress.com/2012/07/10/http-header-content-type-and-encodings/