cancel
Showing results for 
Search instead for 
Did you mean: 

WebDynpro Authentification - WebService

Former Member
0 Kudos

Hi,

I have a question concerning authentification in Web Dynpro.

I imported an adaptive Web Service model into my WD project. The methods of this Web Service require an authentification. Is it possible to pass the logon data from the Web Dynpro logon screen to the methods of the Web Service? I've got a howto guide, unfortunately some point doesn't fit to my project (there I had to set the HTTP Destination "_setHTTPDestinationName"..., but I couldn't find(method is not available) it in my project) so I assume that things have changed with the new adaptive Web Service model. It would be great, if someone could help me.

(The howto guide i found which do not work...-> http://help.sap.com/saphelp_erp2005vp/helpdata/en/c3/bac36a469e4c75aba646077e71516d/frameset.htm )

Best wishes,

Matthias

Message was edited by: Matthias Vesper

Accepted Solutions (1)

Accepted Solutions (1)

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Matthias,

See this thread:

Regards, Suresh KB

Former Member
0 Kudos

Hi Suresh,

i have read this thread but the problem is not solved yet.

Im not shure where to place the HTTPDestinationName correctly. And how can i pass the Logon Data to the WebService Method?!?

My coding looks like this :

BAVModel2 bavModel = new BAVModel2();

wdContext.nodeRequest_Login().bind(new Request_Login(bavModel));

Request_Login req_login = new Request_Login(bavModel);

try{

req_login.execute();

}

catch(Exception e){

return false;

}

return true;

Regards Matthias

Answers (0)