Skip to Content
Former Member
Jul 21, 2009 at 07:29 AM

(Java) Web Service Client & Authentication


Hi all,

I generated a WS client in my java project using the built-in functionality of the SAP NetWeaver Developer Studio. When executing the application (a servlet) I can see that it is working as the web service returns a "401" (unauthorized).

Thus I wanted to pass a username / password along, but cannot find the correct place to do so.

Any idea where I need to look for that? At best I could set it on Java level, but I couldn't find any API to do so.

Thanks / Best regards,