Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3441

SMP 3.0 Agentry OData Connection Auth. Problem

$
0
0

Hello experts,

 

We are start to using OData System Connection for backend, and we have some errors or wrong configuration which wnat to share with you so may help us,

 

Firstly, Backend Tab User ID and Password fields are empty, but Enable Auth. option is True

1.PNG

Then, Security Tab, I create new security profile with only HTTP/HTTPS Auth. and we gave the same url (Base URL)

2.PNG

When we try to reach App URL on SMP server, it is asking HTTP Auth. which is true,

3.png

then when we typed the correct credential browser says "I am here!", and it is also good.

 

But when we try to get first object collection from base URL, It gives and error that you can see below,

 

+ BackEnd=HTTPXML-ODataSystemConnection

Processing the Object Step HTTP request

     + URL=http://XXXXXXXX:8010/sap/opu/odata/sap/z_fiori_test_srv/Products

            + Method=GET

7 lines, 5 non-printing characters, 332 total characters

Request Header and Body:

GET http://XXXXXXXXXX.com:8010/sap/opu/odata/sap/z_fiori_test_srv/Products? HTTP/1.0

BasicAuth: Q2Fubm90IGZpbmQgZmx1bmt5IGlkOkNhbm5vdCBmaW5kIGZsdW5reSBwYXNzd29yZA==

Authorization: Basic Q2Fubm90IGZpbmQgZmx1bmt5IGlkOkNhbm5vdCBmaW5kIGZsdW5reSBwYXNzd29yZA==

Content-Type: application/atom+xml

 

Received response: HTTP/1.0 401 Unauthorized

Received Header: set-cookie: sap-usercontext=sap-client=100; path=/

We decode the base64 and it says "Cannot find flunky id:Cannot find flunky password"

 

First login to ATE starts with basic http auth, then why fetch not continue with same creditial ? What should we do for it ?

 

anyone can help ?

 

Regards

Murat


Viewing all articles
Browse latest Browse all 3441

Trending Articles