IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  How to convert Integer to String

    Posted 09/27/05 11:37 AM

    Please guide me how to convert Integer to String???


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: How to convert Integer to String

    Posted 09/27/05 12:49 PM

    Pankaj,
    You can write a simple java service to convert it.You can use that service as Transformer in the flow step.

    Thanks,
    Puneet Verma


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: How to convert Integer to String

    Posted 09/27/05 02:46 PM

    Pankaj,

    This is a java service which converts the integer to string.
    input for the service should be iVal(Object and set the java wrapper type to integer under the properties) and output should be siVal(string)

    IDataCursor cursor = pipeline.getCursor();
    int i = IDataUtil.getInt(cursor,“iVal”,0);
    String s = String.valueOf(i);
    IDataUtil.put(cursor,“siVal”,s);
    cursor.destroy();

    hope this helps.

    ramesh.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB