axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dorner, Thomas" <>
Subject AW: Change message content type
Date Tue, 30 Mar 2004 09:01:10 GMT
Hi James,

get the MessageContext and setSendType !

//explicitly set format to DIME, default is MIME
Message rspmsg = AxisEngine.getCurrentMessageContext().getResponseMessage();

-----Ursprüngliche Nachricht-----
Von: []
Gesendet: Dienstag, 30. März 2004 11:00
Betreff: Change message content type


Even though it might seem there is an obvious answer 
(message.getSoapPart().setContentType("")) I can't seem to be able to 
change the content type of the message from AXIS to the server to 
be anything other than text/xml

Specifically, I want to change it to being application/dime.

Can anybody help me with this? 

I am actually having problems specifiying DIME attachments too - does 
anyone have any pointers on how to use DimeMultiPart etc?

Thanks in advance.


View raw message