Skip to Content
avatar image
Former Member

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


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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    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,


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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,