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 Send Data Via HTTP, FTP, or E-mail or Save It to a File
 
To Send Data Via HTTP, FTP, or E-mail or Save It to a File
*Ensure that you do not pass any String objects into the Services pub.client:http, pub.client:ftp,pub.client:smtp or save a String into a file.
*Call pub.string:stringToBytes with the correct encoding parameter.
*Pass the bytes into ftp/http or into your Service which writes the file. (This service should use java.io.FileOutputStream to write the file, not FileWriter.) That way the message is sent out of Adapter for SAP with proper encoding.