on 12-09-2013 8:57 AM
Hi,
I'm trying to configure Odata proxy url in SCC of SMP2.3#2.
I have configured the below Odata proxy URL in SCC, pls refer the attached screen shot.
https://sapes1.sapdevcenter.com/sap/opu/odata/IWFND/RMTSAMPLEFLIGHT/
I'm able to access the same url by passing my SCN user id and Netweaver gateway password. pls refer the below screen shot.
Name of the connection pool i have created in scc is flight and then when i trying to access the odata by this URL
http://10.203.148.37:8000/flight
Its throwing 404 error, "Error occurred while connecting to the given URL:sapes1.sapdevcenter.com"
Not only this odata url, i have tried with some others too. but not working. Im trying to create hybrid app with hwc based on this Odata proxy.
Please help me to fix this issue.
Regards
Yokesvaran Kumarasamy
Hi,
Create a proxy using same name as Application ID.
Are you using Anonymous user, if yes, then you need to use /public at the end. In your case it would be http://10.203.148.37:8000/(appId)/public.
Regards,
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response,.
As you said i have created proxy and application id with the same name. But i dont create users for application connections.
But it throws the unauthorized error
Please clarify it.
Thanks & Regards
Yokesvaran Kumarasamy
Hi,
You need to give the credentials of ODATA url. I also see from your first screenshot, you have maked as Anonymous access to true, in this case in the connection pool, you need to give the credentials of your backend URL, if you do this then you will not be prompted for credentials.
Regards,
Deepak
I am summarizing steps i followed.
Please check this and let me know, wt did i missed.
Thanks & Regards
Yokesvaran Kumarasamy
cross check below steps once:
1. select sec config of type httpAuthenticationLoginModule
make sure you have following URL, control flag (as required)
2. remove Nosec fprovider rom authentication, authorization, attribution tab
3. you can create a new domain and assign the particular sec config to this domain
4. create a new app id
select client SDK : oData
sec config and respective domain
uncheck anonymous access
note: no need to provide username and password in connection pool
5. you can test the settings in POSTMAN REST CLIENT
enter URL : http://localhost:8000/appid
6.
go to Basic Auth Tab:
enter username and password
7. click on send
i hope this will help you.
Rgrds,
Jitendra
Hi Jitendra,
After creating a proxy connection in my SCC domain without userid & password, I do not see
the error message 500 Proxy connection [ED1proxy] on Domain [default] not found.
But it is saying UNAUTHORIZED.
Without using proxy, my gateway service URL is working fine with my gateway userid and password. Pls see screen shot below.
But my proxy from POSTMANRESTCLIENT keeps on asking for SCC username & pwd and my gateway userid & password. If I cancel, I get UNAUTHORIZED error. Pls see screen shot below. I used domain as default. So I did not maintain headers. I wanted to give correct userid & passwords, so I did not maintain basic authentication tab. Also I did not maintain any user id & pwd while creating proxy connection in SCC.
I tried with URL containing /public. Did not work either.
I tried with userid supAdmin@HTTPAUTH, where HTTPAUTH is my SCC security profile. This also did not work. It failed at sup login itself.
I did not know where to give select client SDK : oData while creating an appid. I am using SUP2.2 SP04.
Gateway log in credentials worked fine when testing from gateway URL. but not from SCC proxy .
Thanks
seenu
Hi Seenu,
I believe you are using HTTPAUTH security profile, I want to understand the authentication module configuration for this security profile.
Also, Can you pass Security profile in headers in POSTMAN Rest client and see if it works.
Header :X-SUP-SC
Value : Security Profile Name.
How many security profiles you have in default domain?
Regards,
Abhishek Wajge
Great!! Thanks Abhishek. It worked. Also thanks to Jitendra for detailed steps.
But when I give my gateway userid and pwd in connection pool, it does not consider. It is still asking for userid and pwd when testing from POSTMAN RESTCLIENT. Why???
My idea is to create a new application in SCC by maintaining this proxy and then call that new app id from android through MANUALONBOARDING. so that I do not have to hard code gateway user id & pwd & HTTPAUTH security profile. Where to give these details in SCC??
Pls let me know if I am moving in right direction.
Thanks
seenu
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.