cancel
Showing results for 
Search instead for 
Did you mean: 

How to decode a B64 field

Former Member
0 Kudos

Hello,

I have a source SOAP message with the very simple payload:

<ns0:Payload>

... B64-encoded blob...

</ns0:Payload>

I'm mapping this SOAP message to another message (in Integration Repository) that supposed to store the decoded blob into a file. Is there anything that can help me saving the file with the decoded blob without writing any code?

Thanks,

Maxim.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

OK, I'm new to writing code for XI, could you please advise couple of things:

- What language should I write code at?

- What is the target (some "mapping snippet" or something else?

- Is there any step-by-step sample of how to write code and deploy it to the solution? It doesn't have to be exactly B64 decoding, but just something so I can understand what is the language and how to deploy that code

Thanks in advance.

stefan_grube
Active Contributor
0 Kudos

Inside PI you have to use Java.

The easiest approach is a Java mapping.

You find some weblogs with Java mapping examples when you search.

Regards

Stefan

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

> Is there anything that can help me saving the file with the decoded blob without writing any code?

No, you have to write code.