axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ghershony, Arie" <Arie.Ghersh...@GDC4S.Com>
Subject RE: no support for attachments, in Axis 1.1 RC1
Date Thu, 27 Feb 2003 18:26:55 GMT
can you send the entire code??

-----Original Message-----
From: Stephane Lecercle []
Sent: Thursday, February 27, 2003 12:17 PM
To: ''
Subject: no support for attachments, in Axis 1.1 RC1


I am trying to use attachments with Axis.
Here is the simple code I am trying to run :

SOAPMessage message = (SOAPMessage) MessageFactory.newInstance
().createMessage ();
AttachmentPart part = new AttachmentPart (new DataHandler
call.addAttachmentPart (part);

Here the call is created from a Service, which is working fine.
I get the following exception :

java.lang.RuntimeException: No support for attachments

It seems that the Call.addAttachmentPart doesn't work. Is there any option
to turn on to enable the attachments ? 


View raw message