Adapter for SAP 10.1 | webMethods Adapter for SAP Documentation | webMethods Adapter for SAP Installation and User’s Guide Documentation | Working with Code Pages | Using Different Code Pages | To Receive Data from HTTP, FTP, E-mail, or File
 
To Receive Data from HTTP, FTP, E-mail, or File
*You can use the Services pub.client:http,pub.client:ftp, pub.client:smtp and pub.file:getFile to load a multi-byte document into the pipeline. Always use the option loadAs=bytes.
*Convert the binary data using the Services pub.string:bytesToStringor a combination of pub.xml:xmlStringToXMLNode (also accepts bytes) and pub.xml:xmlNodeToDocument.
*Set the input parameter encoding to the mime Encoding in which the bytes have been encoded, (one that is supported by the functions sun.io.ByteToChar XXX.class, where XXX stands for the encoding) for example: ASCII, ISO2022 or SJIS.