cancel
Showing results for 
Search instead for 
Did you mean: 

Authorization in Http Header

former_member869
Participant
0 Kudos

Hi Experts,

My Scenario is proxy to Webservice. We need to send Authorization values in http header to the webservice and get the response back.

I have configured a SOAP reciever with username and password for User Authentication.

But to call the Webservice we need to add some authorization values as well.

How can we send authorization value.

Please Suggest.

Thanks ,

Rama.

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member869
Participant
0 Kudos

Hi all,

Thanks fo your Suggestions. Sorry, Was busy in trying out things.

I did resolve the issue by using XSLT and java mapping as per expected by webservice.

And also there seems to be a password mismatch for consuming the webservice.

Thanks,

Rama.

iaki_vila
Active Contributor
0 Kudos

Hi Ramashish,

I have not so clear what is your Pi version, at least from PI 7.31 you can use this bean to add the authorization fields to the header

Regards.

former_member869
Participant
0 Kudos

Hi Iñaki ,

Any clues to add these to PI 7.0.

Regards,

Rama.

Former Member
0 Kudos

Hi

Write a simple java mapping and generate the soap xml strcuture with soap envelope. In Receiver SOAP Adapter - Select the check box "Do Not Use SOAP Envelope".

Please let us know if you need any help on java mapping. Attach the input data and the reuired soap xml in order to get the java mapping code.

Thanks,

Indrajit

Former Member
0 Kudos

Hi Rama,

Go with SOAP Envelope as the Target XML and add all the required fields you want.

In Receiver SOAP Adapter - Select the check box "Do Not Use SOAP Envelope"

Regards,

Anudeep

former_member184720
Active Contributor
0 Kudos

Did you check below blog?