Quantcast
Channel: SCN : Discussion List - SAP NetWeaver Technology Platform
Viewing all articles
Browse latest Browse all 1520

Authentication Issue

$
0
0

Hi,

I have created an ODataModel which tries to consume OData service exposed by an application hosted on SAP Netweaver Java AS. Here is what I am trying to do :

 

var oModel = new sap.ui.model.odata.ODataModel(URL, true,username,password,{},false,true,false,null,null);

oModel.read();

 

This request fails with 401 response even though username and password are correct.

How can I get this request to authenticate itself again AS java?

 

Regards,

Anushree


Viewing all articles
Browse latest Browse all 1520

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>