cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with MLS

Former Member
0 Kudos

Hi All,

My scenario is Java Proxy to JDBC. I need to send a encrypted message to XI and XI has to decrypt it. I have set the key store and key entry in Sender Agreement. I encrypted the message in proxy using RSA algorithm and public key (cert) generated in XI.

The problem is decryption in XI. The decrypted message has some invalid characters and so the mapping throws parser Exception.

Please help me to get out of these bugs!

(All helpful answers will be appreciated ).

Thanks and Regards,

Uma

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

When some characters are invalid, I assume that the code pages of sender and receiver do not match.

Transform the data to UTF-8 inside the Java proxy, that should help.

Regards

Stefan

bhavesh_kantilal
Active Contributor
0 Kudos

hi,

can you try with <b>ISO-8859-1</b>.

Regards,

Bhavesh

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks guys for all the replies.

I dont think the problem will be solved by changing the encoding format. (In fact, i am not able to set the xml format in java proxy !)

The adapter is not decrypting the message correctly. that's y invalid characters are shown in Integration engine. Please help me out to solve the problem at adapter level.

Also, am not sure about the encryption logic i have used in proxy. right now i am using Cipher to encrypt with RSA algol. It will be better if i get any other encryption API. (encrypt with public key).

Kindly let me know if my approach to this issue is wrong.

Thanks,

Uma

stefan_grube
Active Contributor
0 Kudos

You should explain your scenario more detailled:

- where do your data come from

- which application calls the Java proxy,

- how do you encrypt: single values or whole payload

- how do you decrypt

Stefan

Former Member
0 Kudos

Hi Uma,

As Bhavesh had suggested, try using a different encoding technique . If UTF-8 doesn't work, try ISO-8859-1 or ISO-8859-16

cheers,

Prashanth

Former Member
0 Kudos

Thanks for your reply Stefan.

Its already in UTF-8 format in java proxy.

Thanks,

Uma

stefan_grube
Active Contributor
0 Kudos

Which characters are wrong? Is it a special language?

Stefan