cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sudha.hs" <>
Subject DOSGI MTOM issue
Date Wed, 02 Feb 2011 05:31:54 GMT


I have a spring osgi service published through CFX. The webservice accepts a
DataHandler and on the client I send a new DataHandler(FileDataSource(...)).
On the server, I get the following a NPE:

Caused by: java.lang.NullPointerException
        at javax.activation.MimeType.parse(
        at javax.activation.MimeType.<init>(
        at javax.activation.DataHandler.getBaseType(
        at javax.activation.DataHandler.getInputStream(

Can someone help? I'm not sure if I have to enable MTOM but I don't see a
way of doing it. 

View this message in context:
Sent from the cxf-user mailing list archive at

View raw message