It shouldn't be too hard to support MIME with the XML binding. I added in the attachment interceptors to the HTTP binding so I've already gotten MIME over HTTP with no SOAP working. I think the main thing it requires is adding the interceptors to the XMLBindingFactory.
On 1/10/07, Sergey Beryozkin <[EMAIL PROTECTED]> wrote:
Hi Is there any support available in CXF for letting XML Binding providers receive/handle MIME attachments ? We jave providers implementing a Provider<Source> interface, but the invoke has as just MessageContext and Source available...Now we also have a @ServiceMode annotation with a value Service.Mode.PAYLOAD... As far as I understand from reading JAX-WS docs, we should have Provider<DataSource> and Service.Mode.MESSAGE for mime attachements to be received...The question is whether it will work for XMLBinding or not. If not then what would be required to apply a patch ? (Hopefully at least the last question is appropriate for the dev list :-)) Thanks, Sergey
-- Dan Diephouse Envoi Solutions http://envoisolutions.com | http://netzooid.com/blog
