cancel
Showing results for 
Search instead for 
Did you mean: 

how can we use c# .dll file functionality in sap pi/po

surender_durgam
Explorer
0 Kudos

Hi,

Need to decrypt a message by using C# ".dll " file.

The ".dll " file functionality is encrypt/decrypt the messages. so, how can we use the .dll file in my scenario to decrypt the message.

please suggest the possibilities to achieve this requirements.

Regards,

Surender

Accepted Solutions (1)

Accepted Solutions (1)

Andrzej_Filusz
Contributor
0 Kudos

Hi Surender,

I think there are two options to do that:

1. you can use JNI (Java Native Interface) to invoke a method from the DLL library in your java mapping, please check the link below:

http://docs.oracle.com/javase/7/docs/technotes/guides/jni/

2. you can write a Web Service (in C#) which will be using your DLL library and will provide its method as an operation. Then you can consume a such Web Service in your mapping on PI/PO using a mapping lookup.

I've never tried the first option but I used the second one in the past.

Best Regards,

Andrzej

surender_durgam
Explorer
0 Kudos

Hi Andrzej,

Thanks for the prompt response. I will try option 1 by follow the provided link, mean while could you please help me on option 2 by providing .net sample code to write web service as I don't have knowledge on .net programming.

Thanks in advance.

Best Regards,

Surender

Answers (0)