Hi,
I have a REST service based on JAX-WS Provider and Dispatch (implementing 
Provider<DataSource>). Until now, I accept/produce only XML. Now, I have to 
support attachments. 
Now, it seems like request should be "multipart/related" as only 
AttachmentInInterceptor is part of the chain by default. I could probably 
change that to use AttachmentInputInterceptor instead. The question is how can 
I can I return MultipartBody? Is there in-built support for that or should I 
create my own DataSource and handle with an custom out interceptor?


Thanks,
Vinay


Reply via email to