• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Parse SOAP Message with Attachment

 
Ashfaq Framewala
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic