Supporting EBCIDIC Encoding in webMethods


I have a requirement to support EBCDIC encoding. We receive a flat file and this needs to be encoded using EBCDIC before sending it to partner.

I have tried testing the same by passing a sample file to “pub.string.stringToBytes” service with CP037 in the encoding. I have then converted the output of this service to string format and sent it to business for conformation. They say that the file generated is ASCII and not EBCDIC encoded.

Any idea how i can achieve the EBCDIC encoding for the files in webMethods.