Skip to main content

Hello Team,

 

We have requirement to encode and decode on XML tag value from 35 Chars to 16 chars and vice versa. 

Example:

XML Tag <EndToEnd> 123456789102205202112345678910<EndToEnd>  now we have to encode this to 16 chars and then once we get the same value in another input xml file then we have to revert back with same value as 35 chars. 

 

Has anyone came across this kind of requirement?

 

Hi @NikitaVelapure19 ,

 

Best method is to create two java transformers for encoding and decoding and use in routing rules. Check following documentation on creating java transformers.

About Transformer Development (ifs.com)

If you need a 3rd party library for encoding and decoding, you can include that to the transformer.

 

Hope it helps.

Damith