cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP request - use authentication from SOAP receiver channel?

peter_wallner2
Active Contributor
0 Kudos

Dear experts,

I am having a scenario ABAP Proxy - SOAP receiver. My earlier post: http://scn.sap.com/thread/3448583

Right now I am able to send the SOAP request to the webservice and retrieve messages using PI.

In my SOAP receiver channel I am using Authentication for the webservice I connect to and I checked "Do not use SOAP envelope" because I must

adapt the SOAP request header to meet requirements of the webservice. I use XSLT to manipulate the SOAP request header.

Therefore I went through:

http://scn.sap.com/thread/1936972

My question:

In the header I also need to send User and password. I give this in the Authentication in the SOAP receiver channel but I found out I must also

map it in my XSLT - otherwise User and password fields are empty.

Is there a way to populate User and password from the SOAP receiver channel in the SOAP request message?

Thank you and best regards,

Peter

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Peter,

No this is not possible as far as I know. The user and password of the SOAP channel is sent with the HTTP Header, not with the SOAP Header. If you want to have that information in the SOAP header you need to provide it manually unfortunately, either in the message itself or by setting it via XSLT or Java mapping.

Best Regards

Harald

peter_wallner2
Active Contributor
0 Kudos

Hello Harald,

Thank you again for your help and your confirmation. I was not sure if I had missed something.

Best regards,

Peter

Answers (0)