I was missing MAIL.JAR in the classpath. Regards.
-----Original Message----- From: Eduardo Elgueta [mailto:[EMAIL PROTECTED] Sent: Jueves, 01 de Septiembre de 2005 17:50 To: [email protected] Subject: Client Side: Enable Attachment Support Hi All, I'm writing a SOAP WS client in which I must use attachments. As I'm using a logger, at startup I see this line: - org.apache.axis.i18n.resource::handleGetObject(attachEnabled) - Attachment support is enabled? False This is consistent with the problem I'm having -- I get a NullPointerException on this line: AttachmentPart ap = soapMsg.createAttachmentPart(); (BTW, I know soapMsg is not null, because I test it before like this: config.getLog().debug("soapMsg: " + soapMsg); and I get "- soapMsg: [EMAIL PROTECTED]") What do I have to do to enable attachment support? Thank you very much in advance. Ed. Eduardo Elgueta Senior Consultant Navix correo/email: [EMAIL PROTECTED] teléfono/phone: +56 (2) 204-5823 celular/mobile: +56 (9) 821-0033 web: www.navix.cl Av. Pedro de Valdivia 555 Of. 216 Providencia 7500913 Santiago, Chile
