我WSO2-ESB拋出以下錯誤消息當我執行WSO2樣品100(WS-Security的樣品),http://wso2.org/project/esb/java/4.0.3/docs/samples/qos_mediation_samples.html):壘加密錯誤時執行WSO2樣品100(WS-Security的樣品)
ERROR - Axis2Sender Unexpected error during sending message out org.apache.axis2.AxisFault: Error in encryption
At org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:117)
....
org.apache.xml.security.encryption.XMLEncryptionException: Illegal key size or default parameters
我的WSO2-AS拋出:
ERROR {org.apache.axis2.engine.AxisEngine} - Missing wsse:Security header in request org.apache.axis2.AxisFault: Missing wsse:Security header in request
什麼是「非法密鑰大小或默認參數」是指?如何解決這個錯誤?
順便說一句,我使用JDK 1.6,其中包括JCE API和local_policy.jar,US_export_policy.jar等。所以,我猜這不是JCE問題。 (http://wso2.org/node/2520/print)