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


JavaRanch » Java Forums » Java » Web Services
Bookmark "Reading a binary SOAP Attachment" Watch "Reading a binary SOAP Attachment" New topic
Author

Reading a binary SOAP Attachment

Beth Schmidt
Greenhorn

Joined: Jul 11, 2011
Posts: 2
I am working with a SOAP web service that is sending a PDF as an Attachment.

I am unsure as to how to read this so I can get the image of the PDF so I can rename it and save it into a folder.

Thanks in advance for any help!
~Beth~
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
SAAJ is the API to use for SOAP with attachments.
Example code available in section 5.7 of this document: http://www.slideshare.net/krizsan/scdjws-5-study-notes-3085287
(require free registration to download)
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
Beth Schmidt
Greenhorn

Joined: Jul 11, 2011
Posts: 2
Thank you Ivan!
 
GeeCON Prague 2014
 
subject: Reading a binary SOAP Attachment