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.