Skip to Content
0
Mar 03, 2011 at 02:41 PM

Webdynpro Java + Webservice Athentication

29 Views

Hello Experts,

i'm trying create a webdynpro application to consume a webservice following this example:

[http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-ii/technology/sap/7/]

However, when i try to set up the authentication mecanisms i can't find the methods _setUser _setPassword in my model object class.

wdContext.currentRequest_SI_TEST_DB_OAElement().modelObject()._setUser

wdContext.currentRequest_SI_TEST_DB_OAElement().modelObject()._setPasswords

I only have the methods _setField and _setAttribute. Could anybody tell me if i'm doing something wrong? Or how to put the user and password using the _setField or _setAttribute methods to call the webservice?

Thank you very much.