Problem solved with a java service :
// pipeline
IDataCursor pipelineCursor = pipeline.getCursor();
Object stream = IDataUtil.get( pipelineCursor, “stream” );
String encoding = IDataUtil.getString( pipelineCursor, “encoding” );
pipelineCursor.destroy();
// pipeline
String strLine;
String strDecode;
try{
BufferedReader bufferReader = new BufferedReader ( new InputStreamReader((InputStream)stream, encoding ), 65535);
StringBuffer strBuffer = new StringBuffer();
while ((strLine = bufferReader.readLine()) != null) {
strBuffer.append(strLine);
}
strDecode = strBuffer.toString();
}
catch(Exception e){
throw new ServiceException( e );
}
IDataUtil.put( pipelineCursor, “strDecode”, strDecode );
pipelineCursor.destroy();
#Integration-Server-and-ESB#webMethods#webMethods-General