axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduardo Elgueta" <eelgu...@navix.cl>
Subject Client Side: Enable Attachment Support
Date Thu, 01 Sep 2005 21:49:34 GMT
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:
org.apache.axis.Message@3ee284")

What do I have to do to enable attachment support?

Thank you very much in advance.

Ed.  
 

Eduardo Elgueta
Senior Consultant
Navix

correo/email: eelgueta@navix.cl
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




Mime
View raw message