Unfortunately WmTransformationServices package is not available on the SAG tech community.
The package “WmTransformationServices” is not supported by SAG (just like PSUtils) as it is not a part of the official webMethods product stack. However, this package is widely used by on-site/off-site consultants and they implement & provide this package as a custom service.
However you can use the below code snippet and create your own java service, the same code is implemented in WmTransformationServices.
//IntegerToString
public static final void IntegerToString(IData idata)
throws ServiceException
{
IDataCursor idatacursor = idata.getCursor();
Integer integer = (Integer)IDataUtil.get(idatacursor, “input”);
idatacursor.destroy();
String s = null;
if(integer != null)
s = integer.toString();
idatacursor = idata.getCursor();
IDataUtil.put(idatacursor, “output”, s);
idatacursor.destroy();
}
//FloatToString
public static final void FloatToString(IData idata)
throws ServiceException
{
IDataCursor idatacursor = idata.getCursor();
Float float1 = (Float)IDataUtil.get(idatacursor, “input”);
idatacursor.destroy();
String s = null;
if(float1 != null)
s = float1.toString();
idatacursor = idata.getCursor();
IDataUtil.put(idatacursor, “output”, s);
idatacursor.destroy();
}
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB