Title: Help on WSS4j

Hi,

I am using WSS4J to sign a SOAP message. But I am getting the following exception when it verifies the signature just before the service call in the server.(In WSDoAllReceiver.java)


I2004-07-01 13:05:51,175 [ERROR] : STDERR -- java.lang.NullPointerException

2004-07-01 13:05:51,175 [ERROR] : STDERR --     at org.apache.crimson.tree.ElementNode2.getAttributeNodeNS(ElementNode2.java:432)

2004-07-01 13:05:51,191 [ERROR] : STDERR --     at org.apache.crimson.tree.ElementNode2.hasAttributeNS(ElementNode2.java:388)

2004-07-01 13:05:51,191 [ERROR] : STDERR --     at com.arasys.webservice.security.WSSecurityUtil.findElementById(WSSecurityUtil.java:253)

What could be the cause for this error?  This happens in the WSSecurityUtil.getElementByWsuId(elem.getOwnerDocument(), uri) method in WSSecurityEngine.java. This returns a null value.

Regards
Crishantha



Reply via email to