Colm O hEigeartaigh wrote:
> 
> Hi Rik,
> 
> It sounds like it could be a problem with the SAAJ implementation you're
> using. What does the SOAP message look like going over the wire, does
> the Body element have the SOAP-ENV namespace defined? What version of
> WSS4J, Axis/CXF etc are you using? Can you create a test-case?
> 
> Colm.
> 

Colm,
Found the problem. It is the implementation of the TransformerFactory and
Transformer that are the culprits. In my case I am using Xalan (2.7.1),
which implements TransformerFactory as
org.apache.xalan.processor.TransformerFactoryImpl and extends Transformer as
org.apache.xalan.transformer.TransformerIdentityImpl. 

Even though both my J2SE client as well as my J2EE server have
Xalan-2.7.1.jar in their classpath, somehow the J2SE client managed to
obtain a version of org.apache.xalan.processor.TransformerFactoryImpl that
does not come from Xalan-2.7.1.jar. I suspect it finds it somewhere in the
JRE, but I'm not sure where. Anyway, I moved up Xalan-2.7.1.jar in the
"Order and Export" tab for the project properties in Eclipse and now
everything is OK. It seems very odd to me that
org.apache.xalan.processor.TransformerFactoryImpl would be included in a jar
that is not Xalan-2.7.1, but apparently that is the case on my machine.

Regards,
Rik

-- 
View this message in context: 
http://www.nabble.com/Body-attributes-get-modified-when-verifying-digest-tp22718268p22722016.html
Sent from the WSS4J mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to