cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello experts,

I am trying to consume an external web service in SAP PI (Proxy -> SOAP). The web service uses SOAP 1.1 and has the following SOAP header:

<soapenv:Header>

      <urn:AuthenticationInfo>

         <urn:userName> </urn:userName>

         <urn:password> </urn:password>

         <!--Optional:-->

         <urn:authentication>?</urn:authentication>

         <!--Optional:-->

         <urn:locale>?</urn:locale>

         <!--Optional:-->

         <urn:timeZone>?</urn:timeZone>

      </urn:AuthenticationInfo>

   </soapenv:Header>

My question is if I can fill the SOAP Header from the proxy consuming ABAP program or do I have to wrote an XSLT mapping for this?

Or, alternatively, will the SOAP Receiver adapter automatically fill the credentials if I maintain the Authentication details in the ID Communication channel?

Looking forward to your responses.

Regards..

0 Likes
View Entire Topic
azharshaikh
Active Contributor
0 Likes

Hi Amith,

In your scenario i believe you need to add SOAP Header. Adding User name /pwd in CC will not suffice..Please check the following links for various ways to add SOAP Header:

Hope it helps.

Regards,

Azhar