当我执行 WSO2 示例 100(WS-Security 示例)时,我的 WSO2-ESB 抛出以下错误消息,http ://wso2.org/project/esb/java/4.0.3/docs/samples/qos_mediation_samples.html ):
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
“非法密钥大小或默认参数”是什么意思?如何修复此错误?
顺便说一句,我使用的是包含 JCE API 和 local_policy.jar、US_export_policy.jar 等的 JDK 1.6。所以,我想这不是 JCE 问题。(http://wso2.org/node/2520/print)