You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Dhanush Gopinath <dh...@mahindrabt.com> on 2004/05/13 14:31:07 UTC

Sending Attachments - A Null Pointer Exception

Hi All,

I tried deploying the EchoAttachementsService and managed to call the WebService from the Client.
But i am getting a exception
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 EchoAttachment.echoUsingSAAJ(EchoAttachment.java:469)

at EchoAttachment.main(EchoAttachment.java:312)

What can be the reason of this? Is Attachments supported by WSDL ?  Please help me

Thanks & Regards
Dhanush

*********************************************************
Disclaimer:         

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com