axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhanush Gopinath" <dhan...@mahindrabt.com>
Subject Sending Attachments - A Null Pointer Exception
Date Thu, 13 May 2004 12:31:07 GMT

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

Mime
View raw message