I am still getting a null pointer exception in the IdResolver.isElement. The problem is the following two lines:
String name=n.getLocalName(); if (name.length()>2) { The problem is that the node does not have a local name. I am using Rampart 1.2 that is built on WSS4J 1.5.2 that uses XML Security 1.4.0. Rampart also uses XML Beans that brings in AXIOM for XML I tried use WSU namespace for the Id and had problems elsewhere. Removing the namespace for the Id causes a problem here. Wes.