Hi Arun,
I have tried this and it works as expected - Can you please try this
Step 1: Invoke pub.string:stringToBytes with inputs , string - test, encoding - CP037
Output is a byte[ ]
Step 2 :Invoke pub.string:bytesToString with inputs , bytes - output byte[ ] of previous execution, encoding- CP037
If the output of this execution is the same string as the input string , then it is working correctly.
Note: you can try changing the encoding input in Step 2 to ASCII, and you should see a different result compared to the input.
Regards,
-Nagendra
#Adapters-and-E-Standards#edi#Service-Designer#B2B-Integration#Integration-Server-and-ESB#Flow-and-Java-services#webMethods