Reg::Error in XMLDecryption algorithm for adapter module in SAP PI
I have developed a custom java code for encryption and decryption for XML to be included in adapter module in SAP PI using SAP netweaver.My decryption code is working fine for stand alone java application.But when I create EJB project and deploy it I get no error..But in communication monitoring of SAP PI i get the below error
Error: org.apache.xml.security.encryption.XMLEncryptionException: No Key Encryption Key loaded and cannot determine using key resolvers
I included xmlsec1.3.0.jar file as external library..
I would be grateful if you could suggest any solution for the above issue.