cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the service

Former Member
0 Kudos

Hi All,

Can anybody tell me the process for how to connect with the service(URL) from my webdynpro application. (I want to send the username and password to the service for validation, and i want to get the response from the service)

Edited by: harika k on Oct 30, 2008 5:45 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

What I understand is, You have a webservice and you need to pass username and password to that webservice. If this is right.

Then you can pass your username and password by just hardcoding and setting the username and password to the model attributes like

wdContext.currentRequest_ZemailKp_zPrashantRfcElement().modelObject()._setUser("User Name");

wdContext.currentRequest_ZemailKp_zPrashantRfcElement().modelObject()._setPassword("Password");

or go through the following usefull links

[;

[;

[/message/2178443#2178443 [original link is broken];

Tutorials on Using Roles and Permissions in Applications

[https://www.sdn.sap.com/irj/sdn?rid=/webcontent/uuid/adcfa85d-0501-0010-a398-80a47b8e3fc2]

Using RFC as WebService in WebDynpro

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3982] [original link is broken] [original link is broken] [original link is broken];

Regards

Raghu

former_member192434
Active Contributor
0 Kudos

Hi

Check out this link "how to simulate URL of the web dynpro application"

Thanks