There is no out of the box solution but you can do it easily with a java service.
import com.wm.util.coder.IDataXMLCoder;
IDataCursor pipelineCursor = pipeline.getCursor();
IDataXMLCoder coder = new IDataXMLCoder();
try{
IDataUtil.put(pipelineCursor,"pipelinedata",new String(coder.encodeToBytes(pipeline)));
}catch(Exception e){
throw new ServiceException(e);
}
finally{
coder = null;
pipelineCursor.destroy();
}
Using the method decodeFromBytes(), you can try doing the reverse.
Cheers
Guna
http://www.nibodo.com
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services