cancel
Showing results for 
Search instead for 
Did you mean: 

Base 64 encription

Former Member
0 Kudos


HI All,

My scenario is OUtboung Asynchronous. IDOC to RESTFUL WEBSERVICE.

All information coming from third party will be received on base64 encryption

All information sent to third party have to be sent using base64 encryption.

How I will do this? I am using Graical mapping.

Please reply,

Regards,

Sanghamitra

Accepted Solutions (0)

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Sangharmitra,

You have some options,

1. You can develop a java mapping or an UDF. First of all you need to search a base64 library and to import the jar in PI. There are many example available in internet, also you can search some example here

2. You can develop an adapter module to do it in the adapter level. Check this Former Member blog

3. You can use the base64 encoding of the SOAP adapter (if you want to use it to do the restful call, i dont know if you choose the option do not to use soap envelope/axis option you could use it to do this call), page 17 http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024...

Regards.

Former Member
0 Kudos

Thanks.

I need to clarify step by step with you.

1. First I need Connectivity URL which will connect SAP PI system to 3rd party.

2. Import hat in the external definition.

3. Import IDOC for sender.

4. Create MI for target system.

5. Do the source and taret mapping.

6. then will do th coniguration

7. In the receiver comm channel I will ue SOAP AXIS and set paramter on the moule tab page.

8. Adding custommoul for SOAP adapter

These step s are corect or not? Please reply.

Regards,

sanghamitra

iaki_vila
Active Contributor
0 Kudos

HI,

The steps are correct, but i would add:

3.1 You need to configurate the IDOC adapter (configuration for PI 7.3 thanks to Michal

6.1 Depending of your PI version you would need to use classic configuration (receiver determination, interface determination, etc) or to use the integrated configuration object (in PI 7.3 you would have the option of the idoc in the java stuck).


8. You could try to use the standard module adapter that i mentioned or you can develop a new one.

If i was you i would try to start with an easier scenario, try for example to send an idoc to an RFC in the same endpoint system, if the sender idoc works you can change the RFC for the restful service a to continue.

Regards.

Former Member
0 Kudos


Hi,

My PI vrsion is PI 7.1

So in that case, need I configurate the IDOC adapter ?

Regards,

Sanhamitra

iaki_vila
Active Contributor
0 Kudos

Hi Sanghamitra,

With PI 7.1 you only have the abap idoc adapter. Check the configuration in Riyaz website: http://www.riyaz.net/sap/xipi-simple-idoc-communication-using-sap-xi/67/

Try to do a simpler scenario with a sender idoc and easy receiver for you in order to test the sender idoc connection.

Regards.