Skip to Content
0
Former Member
Oct 20, 2014 at 08:26 AM

SOAP header authentication for external webservice to use in WebDynpro Java

1278 Views

Hi All,

We are working on SAP EP 7.31 and Adaptive Web Service Model.

The requirement is to develop a SSO application by passing portal user-id to external webservice which will grant the access to third party system. But to access that external webservice, authentication is required thru SOAP header. As shown in attached image, the parameters are <web:User> and <web:Pwd> that needs to be set for authentication.

I understand, I need to use interface 'IWDWSInvocationModifier' and method 'doModifyInvocation' to set the SOAP header. But not able to understand how to set the parameters programatically.

Please help, how do I need to authenticate using SOAP header in webdynpro java.

Thanks,

Amol.

Attachments

SOAP.png (6.4 kB)