Hi Luciano! I used a wrong version of mail.jar Now it works!
Thanks for help! Chris ________________________________________ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Februar 2004 19:53 An: [EMAIL PROTECTED] Betreff: RE: Problems with Attachment sample Hi Chris, can you be more specific? In order to succesfully run the attachment sample you need to carefully follow the readme file that comes with the example. Luciano -----Original Message----- From: Chris Aiken [mailto:[EMAIL PROTECTED] Sent: Wednesday 25 February 2004 19:51 To: [EMAIL PROTECTED] Subject: Problems with Attachment sample Hi all! I have problems with the Attachment sample: java.lang.NullPointerException java.lang.NullPointerException at org.apache.axis.Message.createAttachmentPart(Message.java:620) at javax.xml.soap.SOAPMessage.createAttachmentPart(SOAPMessage.java:243) at samples.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:523) at samples.attachments.EchoAttachment.main(EchoAttachment.java:362) I read that other people had the same problem. But I couldn't find any solution. Thanks, Chris ____________ Virus checked by Antivirus-Profi-Paket Version: AVK 14.0.350 from 11.02.2004 Virus news: www.antiviruslab.com ____________ Virus checked by Antivirus-Profi-Paket Version: AVK 14.0.350 from 11.02.2004 Virus news: www.antiviruslab.com