We have requirements to pass non-text files around in our integration environment via webMethods.
How do people pass pdf’s, word docs, etc… around within webMethods ?
You can read ANY content into webMethods as a BINARY object.
To send a pdf file, excel spreadsheet, a photograph or anything else, invoke pub.file:getFile and choose BYTES as the preferred method of retrieval. Whether SMTP or HTTP, both support the bytes object.
As to what the receiving system does with the content, they will need to be able to convert from bytes to “objectType”, or they can simply persist the bytes object to a local harddrive for another piece of client software to interpret (adobe reader.)