public static Map<String,String> allNamespaces(SOAPElement ele){
  Map<String,String> nsList=new TreeMap<String,String>();
  log.trace("Starting Namespace Lookup in " + ele.getNodeName());
  allNamespaces(ele,nsList);
  log.trace("Namespace Lookup done: " + nsList);
  return nsList;
}

public static Map < String , String > allNamespaces ( SOAPElement ele ) { Map < String , String > nsList = new TreeMap < String , String > ( ) ; log . trace ( "Starting Namespace Lookup in " + ele . getNodeName ( ) ) ; allNamespaces ( ele , nsList ) ; log . trace ( "Namespace Lookup done: " + nsList ) ; return nsList ; }
returns a list of all namespaces below an element ( recursive )
