Skip to Content

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

Oct 12, 2017 at 10:29 AM


avatar image


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.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Andrzej Filusz Oct 12, 2017 at 11:40 AM

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:

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,


Show 1 Share
10 |10000 characters needed characters left characters exceeded

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,