wood burning stoves 2.0*
The moose likes Web Services and the fly likes Parse SOAP Message with Attachment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Parse SOAP Message with Attachment" Watch "Parse SOAP Message with Attachment" New topic
Author

Parse SOAP Message with Attachment

Ashfaq Framewala
Greenhorn

Joined: Oct 24, 2004
Posts: 4
Hi,

I have a requirement where I will receive a SOAP message with attachment on a JMS queue. I need to parse this message to get details about the attachment.

I used org.apache.axis.Message class and passed the incoming message. However when I call message.countAttachments() it returns 0 and also if I try to access SOAP part by calling getSOAPPart(), it throws me an error.

Is there a better way in parsing this message?

Thanks and regards,
Ashfaq
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Parse SOAP Message with Attachment
 
Similar Threads
Error while parsing XML with PDF attachment
deploying error on messagerouter
Adding attachments to web service response
How to Extract SOAP attachments
XML and SOAP Attachment