cancel
Showing results for 
Search instead for 
Did you mean: 

Submit Authorization header parameters - consumming web service by SAP PI 7.4

former_member544878
Participant
0 Kudos

Hi All,

There is a requirement to pass an Authorization header parameters when it connect to the third party web service . Client uses SAP PI 7.4 version .

Is it possible to reach this by adding any standard java class in SAP PI communication channel ?

If not , Please provide solution / method to reach this .

Herewith I have attached the requested output from SAP PI  and Receiver communication channel .

Thanks in advance,

.

Rehan

Accepted Solutions (0)

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Rehan,

In a standard way you can use the AddSOAPHeaderBean

Another way is to do a XSL or java mapping to add the header and to mark in the receiver channel Do Not Use SOAP Envelope.

IMO the first option is better.

Regards.

Former Member
0 Kudos

I have tried but faild in PI 7.4

iaki_vila
Active Contributor
0 Kudos

Hi Gaoyou,

Have you tried to uncheck Do Not Use SOAP envelope?, when you check this you have to create the header manually.

Another alternative is to mark that check and to do a XSLT/java mapping to add the header.

Regards.