You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2005/09/30 11:29:34 UTC
[Ws Wiki] Update of "FrontPage/WsFx/wss4jFAQ" by ThomasLeonard
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by ThomasLeonard:
http://wiki.apache.org/ws/FrontPage/WsFx/wss4jFAQ
The comment on the change is:
enableNamespacePrefixOptimization
------------------------------------------------------------------------------
C14n does '''not''' remove these newlines or other significant whitespace. For more information on c14n
refer to [http://www.w3.org/TR/xml-c14n Canonical XML].
+
+ Another very common cause of this error is forgetting to turn off namespace optimisation in your WSDD file. You need
+ a line like this: {{{
+ <globalConfiguration>
+ <parameter name="enableNamespacePrefixOptimization" value="false" />
+ </globalConfiguration>
+ }}}
+
+ Leaving namespace optimisation on will cause axis to modify the signed message, invalidating the signature, if the
+ message is not exactly in axis's preferred format. This prevents interoperability with other systems, such as .NET's WSE
+ implementation.
[[Anchor(noalgo)]]
==== No such algorithm: http://www.w3.org/2001/04/xmlenc#rsa-1_5 or similar ====