This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to extract binary attachment correctly

 
Ashfaq Framewala
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have an application which sends SOAP message over JMS (TIBCO EMS). This SOAP message contains a binary attachment (swa). I have written following Java code to extract the binary attachment but when I write this attachment to a file, the file format is corrupted and size of the output file generated is different from what is sent as an input. Can you please help in finding out what is wrong with this code?



Thanks for your help!
Regards,
Ashfaq

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic