whit this Java Services i get teh comments of a service/document/node/element in the IS
String Elemento = null;
NSNode node = null;
Namespace ns = Namespace.current();
String comment = null;
IData[] nodos = null;
IDataCursor pipelineCursor = pipeline.getCursor();
String elemento = IDataUtil.getString(pipelineCursor, "elemento");
if (elemento == null) {
throw new ServiceException("No se ingreso la variable elemento");
}
Elemento = elemento;
pipelineCursor.destroy();
node = ns.getNode(Elemento);
if (node == null) {
throw new ServiceException("Namespace del Elemento desconocido: " + elemento);
}
comment = node.getComment();
IDataCursor pipelineCursor_1 = pipeline.getCursor();
IDataUtil.put( pipelineCursor_1, "comment", comment );
pipelineCursor_1.destroy();
#webMethods#Integration-Server-and-ESB