cancel
Showing results for 
Search instead for 
Did you mean: 

authentication in webservice

Former Member
0 Kudos

I am calling a RFC as a webservice from my WD for Java application.I do not want to hardcode the userid and passwd while calling the model.

Can anybody tell me what are the options for authenticating to the abap stack if I am using a webservice?

thanx,

Bhupesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

1. create the web service of RFC with basic authentication mode.

2. Specify username and password for R/3 in the runtime. In the setter methods of the model, you will find methods to provide username and password. Specify logon credentials there at the runtime.

Abhi

P.S. Plz reward points for useful answers

Former Member
0 Kudos

Abhijeet,

I do not want to pass the logon credentials at run time like doing something like this:

wdContext.currentEvent_Data_ModelElement().modelObject()._setUser("");

because I do know how many users are going to use the app,

I want somekind of SSO configuration option if available.

thanx,

Bhupesh