Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.7
-
None
Description
When the Document used for signing is a SAAJ SOAPPart instance, it may be that the "owner" document of any child elements is an internal Document,
rather than the SOAPPart. This is the case for the SUN SAAJ implementation. This causes problems with STRTransform, e.g.:
WSDocInfoStore.lookup(transformObject.getDocument())
will not work as the Document stored in WSDocInfoStore is the SOAPPart, whereas transformObject.getDocument() is the "internal" Document.
This bug was exposed by rewriting the unit tests to allow easier testing of different SAAJ implementations.