Skip to Content
0
Jan 10, 2012 at 11:11 AM

Using Soap Header info in a java mmaping

52 Views

HI Expert.

I'm developing a synchronous interface in SAP PI 7.1 ir order to consume a web serice via SOAP.

That web service is sending back to PI a xml that contain some encrypted tags.

Them, to decrypt the xml I did a java mapping. This java mapping needs to use some info allowed in HEADER part in the xml SOAPENV.

I tested the java mapping with eclipse and one xml example and worked fine, so I generated de .jar file and import in PI.

The problem is that in PI the .jar doesn't work!!!!!!

I'm thinking that only the BODY part is arriving to the java mapping and them, that doesn't work because nedds to use some HEADER info.

Is it true??? I mean, when I selected in Operation Mapping my .jar file (like java class), only the BODY part of the whole message (SOAP ENV) is passing thougth the java mapping???

Thanks in advance