|
Replies:
2
-
Last Post:
Sep 23, 2008 9:34 PM
by: markshure
|
|
|
|
|
|
|
Incorrect body digest being calculated for faults on Metro >= 1.2
Posted:
Sep 22, 2008 5:58 PM
|
|
|
Hello,
There appears to be a problem with how Metro calculates the digest value for signing of the body of a SOAP message when it contains a fault. The digest value for the fault body that's being calculated by Metro is incorrect. When the message that contains the fault has headers that are also signed these have the correct digest values. Normal requests and responses which don't contain faults work as expected.
I've used the Apache XML Security API Canonicalizer class and Sun MessageDigest class to verify the digest values in the message. I've also used the openssl/xmllint command-line tools to verify the values.
This works when both sides are using JAX-WS but causes interoperability issues when it's used with any other web service technology (e.g. WCF).
The problem was not happening with a clean install of Sun Appserver 9.1 update 2. As soon as it's upgraded to Metro 1.2 or Metro 1.3 using the upgrade build.xml this problem occurs.
Example messages can be provided if need.
Thanks.
|
|
|
|
|
|
|
Re: Incorrect body digest being calculated for faults on Metro >= 1.2
Posted:
Sep 23, 2008 11:22 AM
in response to: markshure
|
|
|
Yes, please provide the example messages. We did change the implementation in the fault path for 1.2, I think. SO this could be an issue.
Ashutosh
|
|
|
|
|
|
|
|
Re: Incorrect body digest being calculated for faults on Metro >= 1.2
Posted:
Sep 23, 2008 9:34 PM
in response to: markshure
|
|
|
The example messages are large so can I send them to an email address? Mine is mark_shure(at)hotmail.com.
Thanks.
|
|
|
|
|