Here is the StackTrace using "org.codehaus.xfire.util.dom.DOMOutHandler":

java.lang.NullPointerException
        at 
org.apache.ws.security.util.WSSecurityUtil.findElement(WSSecurityUtil.java:199)
        at 
org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:434)
        at 
org.apache.ws.security.message.WSSecEncrypt.doEncryption(WSSecEncrypt.java:397)
        at 
org.apache.ws.security.message.WSSecEncrypt.encryptForInternalRef(WSSecEncrypt.java
        at 
org.apache.ws.security.message.WSSecEncrypt.build(WSSecEncrypt.java:262)
        at 
org.apache.ws.security.action.EncryptionAction.execute(EncryptionAction.java:62)
        at 
org.apache.ws.security.handler.WSHandler.doSenderAction(WSHandler.java:191)
        at 
org.codehaus.xfire.security.wss4j.WSS4JOutHandler.invoke(WSS4JOutHandler.java:154)
        ...
        
The NPE is thrown, if an Element is reached, which uses a DefaultNamespace 
(<element xmlns="test">).
If I use a customized version of DOMOutHandler (see my previous messages), the 
NPE is not thrown.
Therefore I think, that there might be a problem in default-namespace handling. 
-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to