cancel
Showing results for 
Search instead for 
Did you mean: 

Decryption of Message after processing by File adapter

Former Member
0 Kudos

Hi,

Encrypted File> XI> Encrypted File

I have to pick up an encrypted file, decrypt it and do the message transformations & business process associated wiht it and place it in another folder by encrypting the file again.

How can i acheive this.?

Regards,

Siva Maranani.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185751
Contributor
0 Kudos

Hi siva,

You can use Java Mapping or user-Modules to do this.

Go thru this link:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/unkown/webinars/ho... to handle unstructured source content for adapters/the pdf presentation of how to handle unstructured source content for adapters.pdf

Regards,

Sridhar

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

In summary, you will need 2 java mapping programs, one to decrypt and one to encrypt. Between these 2 steps you can do the normal message mapping or XSLT mapping.

You can do the following:

1. develop to java mapping programs (decrypt and encrypt)

2. in Interface Mapping, define the decrypt java mapping as a 1st step.

3. define you own message mapping (or whatever mapping you want to use) for source to target.

4. add the encrypt java mapping as the last step in Interface Mapping.

Regards,

Bill

Former Member
0 Kudos

Is this only possible through a BPM to use java mappings like this?

former_member185751
Contributor
0 Kudos

Hi Peter,

Without BPM also you can achieve this.

Regards,

Sridhar

Former Member
0 Kudos

From William Li's post it suggests that it is possible to run a java mapping to do a decrypt, then a second mapping to transform the message, then a third java mapping to encrypt the message. Can you point me in a direction to achieve this sequential mapping without the use of a BPM?

Thanks!