Monday, February 27, 2017

Convert Binary to Text in OSB

Convert Binary to Text in OSB
----------------------------------------
1. Step 1:

Write a Java Class and add following method:

public static String decodeToString(byte[] decodToString)
    {
        return org.apache.commons.codec.binary.StringUtils.newStringUsAscii(decodToString);
    }


2. Use Java Callout to call this method.











 -----------------------------------------------------------------------------------------------------------------
Solution-2
___________

Create a proxy service with Messaging option in "General" tab of proxy. Go to Messaging tab and select the following option.
   

No comments:

Post a Comment