cxf-users mailing list archives

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

Hi, 

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(MimeType.java:110)
        at javax.activation.MimeType.<init>(MimeType.java:76)
        at javax.activation.DataHandler.getBaseType(DataHandler.java:651)
        at
javax.activation.DataHandler.getDataContentHandler(DataHandler.java:612)
        at javax.activation.DataHandler.getInputStream(DataHandler.java:253)

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: http://cxf.547215.n5.nabble.com/DOSGI-MTOM-issue-tp3367373p3367373.html
Sent from the cxf-user mailing list archive at Nabble.com.

Mime
View raw message