cancel
Showing results for 
Search instead for 
Did you mean: 

Call a Java API inside a java mapping

Former Member
0 Kudos

Hi,

I have a web service in SAP PI 7.0 that recives a PDF coded in base64. I need to call an external Java API provided by a partner for extract its digital signature and return it as Web Service Response. It's possible to do the call to a Java API inside a Java mapping for doing this? What is necessari for doing this call?

I think that I Need to install the Java libraries in SAP J2EE stack and import its inside the java mapping. Need I something else?

can you show me any exemple?

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Put your jar files on your servers java path. Doing so you can have direct access into an udf for your libraries.

Another option (for testing purposes is a good idea) is to attach to the scenario your jar file. Go to mapping objects, imported archives, and import your jar file there. By this way it will be visible only on the context of the software component and namespace where you put the file.

Regards.

roberti

Answers (0)