URGENT: Error processing mime

Hi, I’m signing and encrypting an xml content using the built in service pub.smime:createSignedAndEncryptedData . when i tried to decrypt the content using the pub.smime:processEncrypted data, i’m getting the error mentioned below.

Error:[ISS.0086.9056] Encrypted Content not in recognizable format

Kindly post me your replies ASAP.
Any of your help in this regard is well appreciated.