Configuring Transport Authentication with User ID/Password 
The AS ABAP and AS Java servers of SAP NetWeaver enable you to configure authentication for access to Web services at the HTTP transport level with a user ID and a password. You use SAP NetWeaver Administrator to configure both the AS ABAP and AS Java systems for using transport level authentication with user ID and password.
For this access scenario, the WS consumer provides a user ID and password in the HTTP header, based on which a AS ABAP or AS Java WS provider can determine the WS caller and authorize access.
Caution
The password for transport level authentication is transported in base 64 format in the HTTP header. Therefore, we recommend that you use SSL to maintain the confidentiality and integrity of the user credentials.
SSL is set up on the AS ABAP systems (more information: Configuring AS ABAP for SSL Support).
In NetWeaver Administrator, choose .
Find the service for the service endpoint that you want to configure, and select it.
On the Configumation tab page, select the service endpoint to be configured.
Choose the Security tab page and switch to change mode.
Under Transport Protocol, select the HTTP or HTTPS option.
Under HTTP Authentication, check the User ID/Password checkbox to permit the use of authentication from Web service consumers with user IDs and passwords.
Note
By default, .Net WS clients use the digest type of authentication with user ID and password. This authentication type is not supported for providing Web Services by SAP NetWeaver, therefore when using .Net WS clients you have to modify their default configuration to use basic authentication with user ID and password.
In NetWeaver Administrator, choose .
Find the service for the service endpoint for which you want to configure a logical port, and select it.
On the Configumation tab page, select the logical port to be configured.
Choose the Security tab page and switch to change mode.
Under Authentication, choose the HTTP Authentication option, and one of the options for authentication with user ID and password. You can use basic or digest authentication types for consuming a WS.
Use the Details button to enter a user ID and password for the authentication.