aspose file tools*
The moose likes Web Services and the fly likes Unable to extract binary attachment correctly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Unable to extract binary attachment correctly" Watch "Unable to extract binary attachment correctly" New topic
Author

Unable to extract binary attachment correctly

Ashfaq Framewala
Greenhorn

Joined: Oct 24, 2004
Posts: 4
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to extract binary attachment correctly