Monday, April 19, 2010

Web Services STR-Transform an interoperability problem between WCF and Weblogic 10.3

An error message occured when try a .Net client connect to a secure web services on Weblogic 10.3.
System.Security.Cryptography.CryptographicException: Unsupported
transform or canonicalization algorithm.
Here, http://forums.java.net/jive/thread.jspa?messageID=321019 explains the reason and the cause.
To fix this, simply remove "<sp:ProtectTokens>" tag from the policy file.
-- Unzip, weblogic.jar
-- looking for a policy file, e.g. Wssp1.2-Wss1.1-X509-Basic256.xml
-- Remove tag for the
-- Save with other name (say, Wssp1.2-Wss1.1-X509-Basic256-Token.xml) in your war file's /WEB-INF/classes/policies folder
-- then refer it as @Policy(uri = "policy:Wssp1.2-Wss1.1-X509-Basic256-Token.xml")
-- then enjoy the rest of the day.

Also please check my new web site Scan2D QR Code Mobile Solution

No comments: