In B2B, we are receiving 7B5 PIP for which we send ACK RN doc back to partner which was failing with error below at their end.
“The message Acknowledgement digest does not match the Original digest=jwO5kHcUzQdouDAiOemctg== ackDigest=s/CzWWAo4m1P6kx7kyED7dJ++0Q=”
Though we are using same hash algorithm (SHA1)at both ends, we are still facing the same issue.
Any idea how this message digest will get compute in webMethods in RosettaNet communication.
you have to Canonicalize your input before hashing. Check the IBM site about org.apache.xml.security.c14n.Canonicalizer class. we had similar issue and resolved by doing canonicalizing the request before hashing.