cancel
Showing results for 
Search instead for 
Did you mean: 

Can we find the user who is calling the Web Service in mapping?

Former Member
0 Kudos

Hi,

We are implementing Web Services over https (ssl). When we give a separate User id and password to each vendor to access the web services, is it possible to know who is calling the web service with in mapping or anywhere? We want this to cross check the xml pay load with the user calling the service.

thanks,

Sri.

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

You can use adapter specific message attribute of the sender SOAP adapter.

You can read the user in a user defined function. The value is in the parameter SRemoteUser

http://help.sap.com/saphelp_nwpi71/helpdata/EN/fc/5ad93f130f9215e10000000a155106/frameset.htm

Former Member
0 Kudos

Thanks Stefan. I did try that and was able to do that.

Could you please tell me how to implement the WS-Security in the SOAP sender adapter? We would like to have message level security. We are using SSL for receiving the web service request from end users via web dispatcher in DMZ. When web dispatcher makes a call to PI, can we implemnet WS security there? Do we have to install any certificates for this?

Thanks in advance.

Sri