do u just want to check if the searchString exist or not ?
Guess u can write a java code as below which iterates over the documentlist.
public boolean search(IData searchDocument,String searchString)
{
IDataCursor idataCursor = searchDocument.getCursor();
while(idataCursor.hasMoreData())
{
Values idataHolder = new Values();
idataCursor.next();
String key = idataCursor.getKey();
if(idataCursor.getValue() instanceof IData)
{
for(IDataCursor secondCursor = ((IData)tempValue).getCursor(); secondCursor.hasMoreData();
idataHolder.put(secondCursor.getKey(), secondCursor.getValue()))
secondCursor.next();
}
else if(searchString.equals(idataCursor.getValue()))
{
return true;
}
}
return search(((IData) (idataHolder)));
}
Note that this code has not been tested and you might get minor errors while compilation.
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services